[INFO] cloning repository https://github.com/aymanmh/rustbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aymanmh/rustbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faymanmh%2Frustbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faymanmh%2Frustbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73f94363bdd6de3353bb449dbd36b35a9e2a4d7b [INFO] checking aymanmh/rustbot against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faymanmh%2Frustbot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aymanmh/rustbot [INFO] finished tweaking git repo https://github.com/aymanmh/rustbot [INFO] tweaked toml for git repo https://github.com/aymanmh/rustbot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aymanmh/rustbot on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aymanmh/rustbot 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ff6c396b85e8de4a2e8dab6d8338c948540a97b8eede1997113cbde1db4e853 [INFO] running `Command { std: "docker" "start" "-a" "0ff6c396b85e8de4a2e8dab6d8338c948540a97b8eede1997113cbde1db4e853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ff6c396b85e8de4a2e8dab6d8338c948540a97b8eede1997113cbde1db4e853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff6c396b85e8de4a2e8dab6d8338c948540a97b8eede1997113cbde1db4e853", kill_on_drop: false }` [INFO] [stdout] 0ff6c396b85e8de4a2e8dab6d8338c948540a97b8eede1997113cbde1db4e853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ed70293819f91ae01d692419db6d3c8b2fab94e8ad2bd8beb8b56e7d632d33 [INFO] running `Command { std: "docker" "start" "-a" "73ed70293819f91ae01d692419db6d3c8b2fab94e8ad2bd8beb8b56e7d632d33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking owned-alloc v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking lockfree v0.5.1 [INFO] [stderr] Checking configparser v2.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.64 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling teloxide-macros v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking teloxide-core v0.2.2 [INFO] [stderr] Checking teloxide v0.4.0 [INFO] [stderr] Checking language v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `exitfailure::ExitFailure` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use exitfailure::ExitFailure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/word_result.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> src/word_result.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `exitfailure::ExitFailure` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use exitfailure::ExitFailure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/word_result.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> src/word_result.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unwrapped_res` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let unwrapped_res:word_result::WORDRESULT; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unwrapped_res` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let unwrapped_res:pressmon_result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unwrapped_res` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let unwrapped_res:word_result::WORDRESULT; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unwrapped_res` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let unwrapped_res:pressmon_result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | async fn test() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `syllables` is never read [INFO] [stdout] --> src/word_result.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WORDRESULT { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub syllables: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WORDRESULT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/word_result.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Result { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub derivation: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub examples: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub similar_to: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub synonyms: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub cause: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub antonyms: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub types_of: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub has_types: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Result` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `list` are never read [INFO] [stdout] --> src/word_result.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Syllables { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 65 | #[serde(rename = "count")] [INFO] [stdout] 66 | pub count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Syllables` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | async fn test() [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `syllables` is never read [INFO] [stdout] --> src/word_result.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WORDRESULT { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub syllables: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WORDRESULT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/word_result.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Result { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub derivation: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub examples: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub similar_to: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub synonyms: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub cause: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub antonyms: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub types_of: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub has_types: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Result` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `list` are never read [INFO] [stdout] --> src/word_result.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Syllables { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 65 | #[serde(rename = "count")] [INFO] [stdout] 66 | pub count: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub list: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Syllables` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(BotCommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `BotCommand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getWord` should have a snake case name [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | async fn getWord(word: &String) -> String [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(BotCommand)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `BotCommand` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getWord` should have a snake case name [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | async fn getWord(word: &String) -> String [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/google_translate.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | .post(api_url.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/google_translate.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | .post(api_url.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `language` (bin "language" test) due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `language` (bin "language") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73ed70293819f91ae01d692419db6d3c8b2fab94e8ad2bd8beb8b56e7d632d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ed70293819f91ae01d692419db6d3c8b2fab94e8ad2bd8beb8b56e7d632d33", kill_on_drop: false }` [INFO] [stdout] 73ed70293819f91ae01d692419db6d3c8b2fab94e8ad2bd8beb8b56e7d632d33