[INFO] cloning repository https://github.com/CSharperMantle/translator_mangler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CSharperMantle/translator_mangler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSharperMantle%2Ftranslator_mangler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSharperMantle%2Ftranslator_mangler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 01888769b01fce1ce145ff56fabab1dd9ebf055c
[INFO] testing CSharperMantle/translator_mangler against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSharperMantle%2Ftranslator_mangler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CSharperMantle/translator_mangler on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CSharperMantle/translator_mangler
[INFO] finished tweaking git repo https://github.com/CSharperMantle/translator_mangler
[INFO] tweaked toml for git repo https://github.com/CSharperMantle/translator_mangler written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/CSharperMantle/translator_mangler 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded inquire v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9c36503240727c4a460db7b9a1aec4e560b01279557c6f96e3a32c1e07c8829
[INFO] running `Command { std: "docker" "start" "-a" "f9c36503240727c4a460db7b9a1aec4e560b01279557c6f96e3a32c1e07c8829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9c36503240727c4a460db7b9a1aec4e560b01279557c6f96e3a32c1e07c8829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9c36503240727c4a460db7b9a1aec4e560b01279557c6f96e3a32c1e07c8829", kill_on_drop: false }`
[INFO] [stdout] f9c36503240727c4a460db7b9a1aec4e560b01279557c6f96e3a32c1e07c8829
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 47f6e559bb2817f7f494a8478071ccda4797fd53179ce24db60d39b9abb4e5a4
[INFO] running `Command { std: "docker" "start" "-a" "47f6e559bb2817f7f494a8478071ccda4797fd53179ce24db60d39b9abb4e5a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling cc v1.0.76
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.42
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.14.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling dyn-clone v1.0.9
[INFO] [stderr]    Compiling openssl-sys v0.9.77
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling newline-converter v0.2.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling ipnet v2.5.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling digest v0.10.5
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling inquire v0.6.0
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.23
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.12
[INFO] [stderr]    Compiling translator_mangler v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.03s
[INFO] running `Command { std: "docker" "inspect" "47f6e559bb2817f7f494a8478071ccda4797fd53179ce24db60d39b9abb4e5a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47f6e559bb2817f7f494a8478071ccda4797fd53179ce24db60d39b9abb4e5a4", kill_on_drop: false }`
[INFO] [stdout] 47f6e559bb2817f7f494a8478071ccda4797fd53179ce24db60d39b9abb4e5a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6713480ed3b47ccc3548465200906eb0358fbd1080b323816e759ab409556e5a
[INFO] running `Command { std: "docker" "start" "-a" "6713480ed3b47ccc3548465200906eb0358fbd1080b323816e759ab409556e5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling translator_mangler v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "6713480ed3b47ccc3548465200906eb0358fbd1080b323816e759ab409556e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6713480ed3b47ccc3548465200906eb0358fbd1080b323816e759ab409556e5a", kill_on_drop: false }`
[INFO] [stdout] 6713480ed3b47ccc3548465200906eb0358fbd1080b323816e759ab409556e5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4b90f4fffb2f735a195d4b0423cc6ed3d519404cc47eab8482f06ff6ee8222e1
[INFO] running `Command { std: "docker" "start" "-a" "4b90f4fffb2f735a195d4b0423cc6ed3d519404cc47eab8482f06ff6ee8222e1", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/translator_mangler-1a785be4c27e9f65)
[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/bin/cli.rs (/opt/rustwide/target/debug/deps/translator_mangler_cli-3dcdf5abb40dbf87)
[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 translator_mangler
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/mangler/mod.rs - mangler::get_random_lang_path (line 13) ... FAILED
[INFO] [stdout] test src/translator/mod.rs - translator::Translator::translate (line 28) ... FAILED
[INFO] [stdout] test src/translator/google.rs - translator::google::TranslatorGoogleCloud::translate (line 67) ... FAILED
[INFO] [stdout] test src/translator/mod.rs - translator::Translator::get_supported_langs (line 43) ... FAILED
[INFO] [stdout] test src/translator/youdao.rs - translator::youdao::TranslatorYoudao::translate (line 58) ... FAILED
[INFO] [stdout] test src/translator/baidu.rs - translator::baidu::TranslatorBaidu::new (line 43) ... FAILED
[INFO] [stdout] test src/translator/youdao.rs - translator::youdao::TranslatorYoudao::new (line 35) ... FAILED
[INFO] [stdout] test src/translator/google.rs - translator::google::TranslatorGoogleCloud::new (line 39) ... FAILED
[INFO] [stdout] test src/translator/baidu.rs - translator::baidu::TranslatorBaidu::translate (line 68) ... FAILED
[INFO] [stdout] test src/translator/mod.rs - translator::Translator::is_lang_supported (line 56) ... FAILED
[INFO] [stdout] test src/mangler/mod.rs - mangler::mangle (line 82) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/mangler/mod.rs - mangler::get_random_lang_path (line 13) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_random_lang_path` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:20:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let pairs = get_random_lang_path(original_lang, &lang_bank, rounds);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::get_random_lang_path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/mod.rs - translator::Translator::translate (line 28) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/translator/mod.rs:29:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/translator/mod.rs:29:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Translator` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:29:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::Translator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:30:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/google.rs - translator::google::TranslatorGoogleCloud::translate (line 67) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]  --> src/translator/google.rs:68:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorGoogleCloud::new("[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorGoogleCloud;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/google.rs:69:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/mod.rs - translator::Translator::get_supported_langs (line 43) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/translator/mod.rs:44:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/translator/mod.rs:44:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Translator` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:44:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::Translator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/youdao.rs - translator::youdao::TranslatorYoudao::translate (line 58) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorYoudao`
[INFO] [stdout]  --> src/translator/youdao.rs:59:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorYoudao::new("[YOUR_APP_KEY]", "[YOUR_APP_SECRET]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorYoudao`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorYoudao;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/youdao.rs:60:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/baidu.rs - translator::baidu::TranslatorBaidu::new (line 43) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorBaidu`
[INFO] [stdout]  --> src/translator/baidu.rs:44:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorBaidu::new("[YOUR_APP_ID]", "[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^ use of undeclared type `TranslatorBaidu`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorBaidu;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/translator/youdao.rs - translator::youdao::TranslatorYoudao::new (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorYoudao`
[INFO] [stdout]  --> src/translator/youdao.rs:36:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorYoudao::new("[YOUR_APP_KEY]", "[YOUR_APP_SECRET]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorYoudao`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorYoudao;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/translator/google.rs - translator::google::TranslatorGoogleCloud::new (line 39) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]  --> src/translator/google.rs:40:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorGoogleCloud::new("[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorGoogleCloud;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/translator/baidu.rs - translator::baidu::TranslatorBaidu::translate (line 68) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorBaidu`
[INFO] [stdout]  --> src/translator/baidu.rs:69:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorBaidu::new("[YOUR_APP_ID]", "[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^ use of undeclared type `TranslatorBaidu`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorBaidu;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/baidu.rs:70:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/mod.rs - translator::Translator::is_lang_supported (line 56) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/translator/mod.rs:57:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/translator/mod.rs:57:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Translator` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:57:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::Translator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mangler/mod.rs - mangler::mangle (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `mangle` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:84:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let result = mangle(&translator, "Ignorance is strength.", &langs, 1000);
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::mangle;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `translator` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:84:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | let result = mangle(&translator, "Ignorance is strength.", &langs, 1000);
[INFO] [stdout]   |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_lang_pairs` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:83:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let langs = get_random_lang_pairs("en", &["en", "zh"], 20);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/mangler/mod.rs - mangler::get_random_lang_path (line 13)
[INFO] [stdout]     src/mangler/mod.rs - mangler::mangle (line 82)
[INFO] [stdout]     src/translator/baidu.rs - translator::baidu::TranslatorBaidu::new (line 43)
[INFO] [stdout]     src/translator/baidu.rs - translator::baidu::TranslatorBaidu::translate (line 68)
[INFO] [stdout]     src/translator/google.rs - translator::google::TranslatorGoogleCloud::new (line 39)
[INFO] [stdout]     src/translator/google.rs - translator::google::TranslatorGoogleCloud::translate (line 67)
[INFO] [stdout]     src/translator/mod.rs - translator::Translator::get_supported_langs (line 43)
[INFO] [stdout]     src/translator/mod.rs - translator::Translator::is_lang_supported (line 56)
[INFO] [stdout]     src/translator/mod.rs - translator::Translator::translate (line 28)
[INFO] [stdout]     src/translator/youdao.rs - translator::youdao::TranslatorYoudao::new (line 35)
[INFO] [stdout]     src/translator/youdao.rs - translator::youdao::TranslatorYoudao::translate (line 58)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4b90f4fffb2f735a195d4b0423cc6ed3d519404cc47eab8482f06ff6ee8222e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b90f4fffb2f735a195d4b0423cc6ed3d519404cc47eab8482f06ff6ee8222e1", kill_on_drop: false }`
[INFO] [stdout] 4b90f4fffb2f735a195d4b0423cc6ed3d519404cc47eab8482f06ff6ee8222e1
[INFO] testing CSharperMantle/translator_mangler against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSharperMantle%2Ftranslator_mangler" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CSharperMantle/translator_mangler on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CSharperMantle/translator_mangler
[INFO] finished tweaking git repo https://github.com/CSharperMantle/translator_mangler
[INFO] tweaked toml for git repo https://github.com/CSharperMantle/translator_mangler written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CSharperMantle/translator_mangler 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" "+beta-2023-12-22" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1aaacca377e3491d2ca07da5778895849e7a12893131a66d601742908bafe3c4
[INFO] running `Command { std: "docker" "start" "-a" "1aaacca377e3491d2ca07da5778895849e7a12893131a66d601742908bafe3c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1aaacca377e3491d2ca07da5778895849e7a12893131a66d601742908bafe3c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1aaacca377e3491d2ca07da5778895849e7a12893131a66d601742908bafe3c4", kill_on_drop: false }`
[INFO] [stdout] 1aaacca377e3491d2ca07da5778895849e7a12893131a66d601742908bafe3c4
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 696d77a6833edf96b57d531574995550b50a1cdd8676014c84598c8c98690000
[INFO] running `Command { std: "docker" "start" "-a" "696d77a6833edf96b57d531574995550b50a1cdd8676014c84598c8c98690000", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling cc v1.0.76
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.42
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling ipnet v2.5.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling num_cpus v1.14.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.77
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling newline-converter v0.2.2
[INFO] [stderr]    Compiling dyn-clone v1.0.9
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.5
[INFO] [stderr]    Compiling inquire v0.6.0
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.23
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.12
[INFO] [stderr]    Compiling translator_mangler v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.83s
[INFO] running `Command { std: "docker" "inspect" "696d77a6833edf96b57d531574995550b50a1cdd8676014c84598c8c98690000", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "696d77a6833edf96b57d531574995550b50a1cdd8676014c84598c8c98690000", kill_on_drop: false }`
[INFO] [stdout] 696d77a6833edf96b57d531574995550b50a1cdd8676014c84598c8c98690000
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c463624d3af033b46578dae9c8731076a341f13b2994938899b44cc5f9f41390
[INFO] running `Command { std: "docker" "start" "-a" "c463624d3af033b46578dae9c8731076a341f13b2994938899b44cc5f9f41390", kill_on_drop: false }`
[INFO] [stderr]    Compiling translator_mangler v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "c463624d3af033b46578dae9c8731076a341f13b2994938899b44cc5f9f41390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c463624d3af033b46578dae9c8731076a341f13b2994938899b44cc5f9f41390", kill_on_drop: false }`
[INFO] [stdout] c463624d3af033b46578dae9c8731076a341f13b2994938899b44cc5f9f41390
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8e534ce47601a4f05361d78e1c1fcc96f2db414ec79a00daeb87686c5f248bce
[INFO] running `Command { std: "docker" "start" "-a" "8e534ce47601a4f05361d78e1c1fcc96f2db414ec79a00daeb87686c5f248bce", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/translator_mangler-dcb330058a81db5a)
[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/bin/cli.rs (/opt/rustwide/target/debug/deps/translator_mangler_cli-568bbbdcf3287a2e)
[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 translator_mangler
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/translator/youdao.rs - translator::youdao::TranslatorYoudao::translate (line 58) ... FAILED
[INFO] [stdout] test src/mangler/mod.rs - mangler::get_random_lang_path (line 13) ... FAILED
[INFO] [stdout] test src/translator/google.rs - translator::google::TranslatorGoogleCloud::translate (line 67) ... FAILED
[INFO] [stdout] test src/translator/mod.rs - translator::Translator::translate (line 28) ... FAILED
[INFO] [stdout] test src/translator/youdao.rs - translator::youdao::TranslatorYoudao::new (line 35) ... FAILED
[INFO] [stdout] test src/translator/google.rs - translator::google::TranslatorGoogleCloud::new (line 39) ... FAILED
[INFO] [stdout] test src/translator/baidu.rs - translator::baidu::TranslatorBaidu::new (line 43) ... FAILED
[INFO] [stdout] test src/mangler/mod.rs - mangler::mangle (line 82) ... FAILED
[INFO] [stdout] test src/translator/baidu.rs - translator::baidu::TranslatorBaidu::translate (line 68) ... FAILED
[INFO] [stdout] test src/translator/mod.rs - translator::Translator::is_lang_supported (line 56) ... FAILED
[INFO] [stdout] test src/translator/mod.rs - translator::Translator::get_supported_langs (line 43) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/translator/youdao.rs - translator::youdao::TranslatorYoudao::translate (line 58) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorYoudao`
[INFO] [stdout]  --> src/translator/youdao.rs:59:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorYoudao::new("[YOUR_APP_KEY]", "[YOUR_APP_SECRET]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorYoudao`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorYoudao;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/youdao.rs:60:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/mangler/mod.rs - mangler::get_random_lang_path (line 13) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `get_random_lang_path` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:20:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let pairs = get_random_lang_path(original_lang, &lang_bank, rounds);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::get_random_lang_path;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/google.rs - translator::google::TranslatorGoogleCloud::translate (line 67) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]  --> src/translator/google.rs:68:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorGoogleCloud::new("[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorGoogleCloud;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/google.rs:69:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/mod.rs - translator::Translator::translate (line 28) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/translator/mod.rs:29:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/translator/mod.rs:29:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Translator` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:29:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::Translator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:30:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/youdao.rs - translator::youdao::TranslatorYoudao::new (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorYoudao`
[INFO] [stdout]  --> src/translator/youdao.rs:36:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorYoudao::new("[YOUR_APP_KEY]", "[YOUR_APP_SECRET]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorYoudao`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorYoudao;
[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/translator/google.rs - translator::google::TranslatorGoogleCloud::new (line 39) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]  --> src/translator/google.rs:40:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorGoogleCloud::new("[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TranslatorGoogleCloud`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorGoogleCloud;
[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/translator/baidu.rs - translator::baidu::TranslatorBaidu::new (line 43) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorBaidu`
[INFO] [stdout]  --> src/translator/baidu.rs:44:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorBaidu::new("[YOUR_APP_ID]", "[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^ use of undeclared type `TranslatorBaidu`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorBaidu;
[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/mangler/mod.rs - mangler::mangle (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `mangle` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:84:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | let result = mangle(&translator, "Ignorance is strength.", &langs, 1000);
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::mangle;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `translator` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:84:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | let result = mangle(&translator, "Ignorance is strength.", &langs, 1000);
[INFO] [stdout]   |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_lang_pairs` in this scope
[INFO] [stdout]  --> src/mangler/mod.rs:83:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let langs = get_random_lang_pairs("en", &["en", "zh"], 20);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/baidu.rs - translator::baidu::TranslatorBaidu::translate (line 68) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TranslatorBaidu`
[INFO] [stdout]  --> src/translator/baidu.rs:69:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator = TranslatorBaidu::new("[YOUR_APP_ID]", "[YOUR_API_KEY]");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^ use of undeclared type `TranslatorBaidu`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslatorBaidu;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TranslationDirection` in this scope
[INFO] [stdout]  --> src/translator/baidu.rs:70:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | let lang = TranslationDirection { from_lang: "en".to_string(), to_lang: "zh".to_string() };
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::TranslationDirection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/mod.rs - translator::Translator::is_lang_supported (line 56) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/translator/mod.rs:57:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/translator/mod.rs:57:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Translator` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:57:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::Translator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/translator/mod.rs - translator::Translator::get_supported_langs (line 43) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/translator/mod.rs:44:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/translator/mod.rs:44:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Translator` in this scope
[INFO] [stdout]  --> src/translator/mod.rs:44:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let translator: Translator = ...;
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use translator_mangler::Translator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/mangler/mod.rs - mangler::get_random_lang_path (line 13)
[INFO] [stdout]     src/mangler/mod.rs - mangler::mangle (line 82)
[INFO] [stdout]     src/translator/baidu.rs - translator::baidu::TranslatorBaidu::new (line 43)
[INFO] [stdout]     src/translator/baidu.rs - translator::baidu::TranslatorBaidu::translate (line 68)
[INFO] [stdout]     src/translator/google.rs - translator::google::TranslatorGoogleCloud::new (line 39)
[INFO] [stdout]     src/translator/google.rs - translator::google::TranslatorGoogleCloud::translate (line 67)
[INFO] [stdout]     src/translator/mod.rs - translator::Translator::get_supported_langs (line 43)
[INFO] [stdout]     src/translator/mod.rs - translator::Translator::is_lang_supported (line 56)
[INFO] [stdout]     src/translator/mod.rs - translator::Translator::translate (line 28)
[INFO] [stdout]     src/translator/youdao.rs - translator::youdao::TranslatorYoudao::new (line 35)
[INFO] [stdout]     src/translator/youdao.rs - translator::youdao::TranslatorYoudao::translate (line 58)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8e534ce47601a4f05361d78e1c1fcc96f2db414ec79a00daeb87686c5f248bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e534ce47601a4f05361d78e1c1fcc96f2db414ec79a00daeb87686c5f248bce", kill_on_drop: false }`
[INFO] [stdout] 8e534ce47601a4f05361d78e1c1fcc96f2db414ec79a00daeb87686c5f248bce
