[INFO] fetching crate translation_api 0.1.0... [INFO] testing translation_api-0.1.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate translation_api 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate translation_api 0.1.0 [INFO] finished tweaking crates.io crate translation_api 0.1.0 [INFO] tweaked toml for crates.io crate translation_api 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate translation_api 0.1.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 191 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_user_agent v0.1.0 (available: v0.2.1) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 726def4eeef15018f6f14dfdc8b07f2dec4f53e565428671ab166d5a30f43971 [INFO] running `Command { std: "docker" "start" "-a" "726def4eeef15018f6f14dfdc8b07f2dec4f53e565428671ab166d5a30f43971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "726def4eeef15018f6f14dfdc8b07f2dec4f53e565428671ab166d5a30f43971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726def4eeef15018f6f14dfdc8b07f2dec4f53e565428671ab166d5a30f43971", kill_on_drop: false }` [INFO] [stdout] 726def4eeef15018f6f14dfdc8b07f2dec4f53e565428671ab166d5a30f43971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c58105b75f446bc6420cdf76fbff2696f9082ba8d73c1fe8593ea610421df005 [INFO] running `Command { std: "docker" "start" "-a" "c58105b75f446bc6420cdf76fbff2696f9082ba8d73c1fe8593ea610421df005", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ecb v0.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rand_user_agent v0.1.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling translation_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `aes_ecb_pkcs7_words` is never used [INFO] [stdout] --> src/cnkis.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a> CNKI<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn aes_ecb_pkcs7_words(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create(&self) -> Box { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/baidu.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | write!(f, "{}", v.dst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = write!(f, "{}", v.dst); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mResult` should have a snake case name [INFO] [stdout] --> src/cnkis.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mResult: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `m_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Info` should have a snake case name [INFO] [stdout] --> src/err.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Info: HashMap, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `info` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.99s [INFO] running `Command { std: "docker" "inspect" "c58105b75f446bc6420cdf76fbff2696f9082ba8d73c1fe8593ea610421df005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58105b75f446bc6420cdf76fbff2696f9082ba8d73c1fe8593ea610421df005", kill_on_drop: false }` [INFO] [stdout] c58105b75f446bc6420cdf76fbff2696f9082ba8d73c1fe8593ea610421df005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28ebf53f51a99ba007f3cdd21d3c9ac916eb89325d771955d85cd68616bed6d5 [INFO] running `Command { std: "docker" "start" "-a" "28ebf53f51a99ba007f3cdd21d3c9ac916eb89325d771955d85cd68616bed6d5", kill_on_drop: false }` [INFO] [stdout] warning: method `aes_ecb_pkcs7_words` is never used [INFO] [stdout] --> src/cnkis.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a> CNKI<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn aes_ecb_pkcs7_words(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create(&self) -> Box { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/baidu.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | write!(f, "{}", v.dst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = write!(f, "{}", v.dst); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mResult` should have a snake case name [INFO] [stdout] --> src/cnkis.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mResult: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `m_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Info` should have a snake case name [INFO] [stdout] --> src/err.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Info: HashMap, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `info` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling translation_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `aes_ecb_pkcs7_words` is never used [INFO] [stdout] --> src/cnkis.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl<'a> CNKI<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn aes_ecb_pkcs7_words(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create(&self) -> Box { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/baidu.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | write!(f, "{}", v.dst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = write!(f, "{}", v.dst); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mResult` should have a snake case name [INFO] [stdout] --> src/cnkis.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mResult: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `m_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Info` should have a snake case name [INFO] [stdout] --> src/err.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Info: HashMap, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `info` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "28ebf53f51a99ba007f3cdd21d3c9ac916eb89325d771955d85cd68616bed6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ebf53f51a99ba007f3cdd21d3c9ac916eb89325d771955d85cd68616bed6d5", kill_on_drop: false }` [INFO] [stdout] 28ebf53f51a99ba007f3cdd21d3c9ac916eb89325d771955d85cd68616bed6d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0420e9944d6254ff6ca0323671f61be8e6be12a9a0529d0bac2811c7b6db96c [INFO] running `Command { std: "docker" "start" "-a" "b0420e9944d6254ff6ca0323671f61be8e6be12a9a0529d0bac2811c7b6db96c", kill_on_drop: false }` [INFO] [stderr] warning: method `aes_ecb_pkcs7_words` is never used [INFO] [stderr] --> src/cnkis.rs:228:8 [INFO] [stderr] | [INFO] [stderr] 135 | impl<'a> CNKI<'a> { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 228 | fn aes_ecb_pkcs7_words(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:241:19 [INFO] [stderr] | [INFO] [stderr] 241 | pub fn create(&self) -> Box { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 241 | pub fn create(&self) -> Box + '_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/baidu.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | write!(f, "{}", v.dst); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 29 | let _ = write!(f, "{}", v.dst); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: structure field `mResult` should have a snake case name [INFO] [stderr] --> src/cnkis.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub mResult: String, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `m_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Info` should have a snake case name [INFO] [stderr] --> src/err.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | Info: HashMap, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `info` [INFO] [stderr] [INFO] [stderr] warning: `translation_api` (lib) generated 5 warnings (run `cargo fix --lib -p translation_api` to apply 1 suggestion) [INFO] [stderr] warning: `translation_api` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/translation_api-6e969d4de4f5ee10) [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 translation_api [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 9) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 54) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 80) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Translate` [INFO] [stdout] --> src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 6 | let mut cnki = Translate::Cnki.create(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Translate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Translate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Translate` [INFO] [stdout] --> src/lib.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 6 | let mut baidu = Translate::Baidu.create(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Translate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Translate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Language` [INFO] [stdout] --> src/lib.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 10 | baidu.set_from(Language::Auto); // default:Language::Auto [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Language` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Language; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Language` [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 11 | baidu.set_to(Language::Zh); // default:Language::Zh [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Language` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Language; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DomainType` [INFO] [stdout] --> src/lib.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 12 | baidu.set_domain(DomainType::Medicine); // default:DomainType::Medicine [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DomainType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::DomainType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Translate` [INFO] [stdout] --> src/lib.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut baidu = Translate::Baidu.create(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Translate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Translate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Language` [INFO] [stdout] --> src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 11 | baidu.set_from(Language::En); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Language` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Language; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Language` [INFO] [stdout] --> src/lib.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 12 | baidu.set_to(Language::Zh); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Language` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::Language; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DomainType` [INFO] [stdout] --> src/lib.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 13 | baidu.set_domain(DomainType::Medicine); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DomainType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use translation_api::DomainType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 54) [INFO] [stdout] src/lib.rs - (line 80) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b0420e9944d6254ff6ca0323671f61be8e6be12a9a0529d0bac2811c7b6db96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0420e9944d6254ff6ca0323671f61be8e6be12a9a0529d0bac2811c7b6db96c", kill_on_drop: false }` [INFO] [stdout] b0420e9944d6254ff6ca0323671f61be8e6be12a9a0529d0bac2811c7b6db96c