[INFO] cloning repository https://github.com/janosimas/text-translator-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janosimas/text-translator-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanosimas%2Ftext-translator-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanosimas%2Ftext-translator-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 835f55392ca9a4ac405e5b7ab2ab6628324f77a6 [INFO] testing janosimas/text-translator-cli against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanosimas%2Ftext-translator-cli" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janosimas/text-translator-cli on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janosimas/text-translator-cli [INFO] removed path dependency text-translator from git repo https://github.com/janosimas/text-translator-cli [INFO] finished tweaking git repo https://github.com/janosimas/text-translator-cli [INFO] tweaked toml for git repo https://github.com/janosimas/text-translator-cli written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/janosimas/text-translator-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (text-translator) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (text-translator) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f308c62deb25d46047c69344f4281aa15ceaa0a0d39e3495c06ee8e7c32a963 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f308c62deb25d46047c69344f4281aa15ceaa0a0d39e3495c06ee8e7c32a963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f308c62deb25d46047c69344f4281aa15ceaa0a0d39e3495c06ee8e7c32a963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f308c62deb25d46047c69344f4281aa15ceaa0a0d39e3495c06ee8e7c32a963", kill_on_drop: false }` [INFO] [stdout] 0f308c62deb25d46047c69344f4281aa15ceaa0a0d39e3495c06ee8e7c32a963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0712765c8c6a1f4092b2b78975f6733987a83feaf47067ddffbbf4eb6f283b2a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0712765c8c6a1f4092b2b78975f6733987a83feaf47067ddffbbf4eb6f283b2a", kill_on_drop: false }` [INFO] [stderr] warning: dependency (text-translator) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling text-translator v0.1.0 [INFO] [stderr] Compiling text-translator-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `text_translator::GoogleV2` [INFO] [stdout] --> src/main.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use text_translator::{Api, ApiDetect, GoogleV2, InputLanguage, Language}; [INFO] [stdout] | ^^^^^^^^ no `GoogleV2` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Language: FromStr` is not satisfied [INFO] [stdout] --> src/main.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | InputLanguage::Defined(value_t!(args, "input", Language).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `Language` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Language: FromStr` is not satisfied [INFO] [stdout] --> src/main.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let output_lang = value_t!(args, "output", Language).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `Language` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Api` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use text_translator::{Api, ApiDetect, GoogleV2, InputLanguage, Language}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiDetect` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use text_translator::{Api, ApiDetect, GoogleV2, InputLanguage, Language}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `text-translator-cli` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0712765c8c6a1f4092b2b78975f6733987a83feaf47067ddffbbf4eb6f283b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0712765c8c6a1f4092b2b78975f6733987a83feaf47067ddffbbf4eb6f283b2a", kill_on_drop: false }` [INFO] [stdout] 0712765c8c6a1f4092b2b78975f6733987a83feaf47067ddffbbf4eb6f283b2a