[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] building aymanmh/rustbot against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faymanmh%2Frustbot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aymanmh/rustbot on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-core v0.3.15 [INFO] [stderr] Downloaded tokio-macros v1.2.0 [INFO] [stderr] Downloaded futures-sink v0.3.15 [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded tokio-stream v0.1.6 [INFO] [stderr] Downloaded futures-executor v0.3.15 [INFO] [stderr] Downloaded teloxide-macros v0.4.0 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded http-body v0.4.2 [INFO] [stderr] Downloaded addr2line v0.15.2 [INFO] [stderr] Downloaded configparser v2.1.0 [INFO] [stderr] Downloaded structopt v0.3.21 [INFO] [stderr] Downloaded backtrace v0.3.60 [INFO] [stderr] Downloaded teloxide v0.4.0 [INFO] [stderr] Downloaded reqwest v0.11.3 [INFO] [stderr] Downloaded vcpkg v0.2.14 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded futures-util v0.3.15 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded derive_more v0.99.14 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded futures v0.3.15 [INFO] [stderr] Downloaded futures-task v0.3.15 [INFO] [stderr] Downloaded teloxide-core v0.2.2 [INFO] [stderr] Downloaded tokio v1.7.1 [INFO] [stderr] Downloaded openssl-sys v0.9.64 [INFO] [stderr] Downloaded native-tls v0.2.7 [INFO] [stderr] Downloaded libc v0.2.97 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded futures-channel v0.3.15 [INFO] [stderr] Downloaded futures-io v0.3.15 [INFO] [stderr] Downloaded serde_with_macros v1.4.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded exitfailure v0.5.1 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded structopt-derive v0.4.14 [INFO] [stderr] Downloaded owned-alloc v0.2.0 [INFO] [stderr] Downloaded lockfree v0.5.1 [INFO] [stderr] Downloaded futures-macro v0.3.15 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.24 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86d0b44282181efedd98857f34875f14ad95146a222508fbee650ac591da7119 [INFO] running `Command { std: "docker" "start" "-a" "86d0b44282181efedd98857f34875f14ad95146a222508fbee650ac591da7119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86d0b44282181efedd98857f34875f14ad95146a222508fbee650ac591da7119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d0b44282181efedd98857f34875f14ad95146a222508fbee650ac591da7119", kill_on_drop: false }` [INFO] [stdout] 86d0b44282181efedd98857f34875f14ad95146a222508fbee650ac591da7119 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e15a69f5419e0480af9f3ef2fc261e526714db8b1a63b137f3c4ec7a3f2ac60d [INFO] running `Command { std: "docker" "start" "-a" "e15a69f5419e0480af9f3ef2fc261e526714db8b1a63b137f3c4ec7a3f2ac60d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling owned-alloc v0.2.0 [INFO] [stderr] Compiling configparser v2.1.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling lockfree v0.5.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [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] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling teloxide-core v0.2.2 [INFO] [stderr] Compiling teloxide v0.4.0 [INFO] [stderr] Compiling 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 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: value assigned to `pronunciation` is never read [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut pronunciation = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: teloxide-macros v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e15a69f5419e0480af9f3ef2fc261e526714db8b1a63b137f3c4ec7a3f2ac60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e15a69f5419e0480af9f3ef2fc261e526714db8b1a63b137f3c4ec7a3f2ac60d", kill_on_drop: false }` [INFO] [stdout] e15a69f5419e0480af9f3ef2fc261e526714db8b1a63b137f3c4ec7a3f2ac60d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62c64baaacb1a7d08c6682dd7e432968ff554f54f47e689d8a0e1305a4176daa [INFO] running `Command { std: "docker" "start" "-a" "62c64baaacb1a7d08c6682dd7e432968ff554f54f47e689d8a0e1305a4176daa", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: value assigned to `pronunciation` is never read [INFO] [stdout] --> src/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut pronunciation = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (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 `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: teloxide-macros v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "62c64baaacb1a7d08c6682dd7e432968ff554f54f47e689d8a0e1305a4176daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62c64baaacb1a7d08c6682dd7e432968ff554f54f47e689d8a0e1305a4176daa", kill_on_drop: false }` [INFO] [stdout] 62c64baaacb1a7d08c6682dd7e432968ff554f54f47e689d8a0e1305a4176daa