[INFO] cloning repository https://github.com/KamuiNix/ace-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KamuiNix/ace-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKamuiNix%2Face-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKamuiNix%2Face-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63b1dffd8c7436e11baa63aaed3552bc170dbfe5 [INFO] testing KamuiNix/ace-rs against beta-2022-09-25 for beta-1.65-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKamuiNix%2Face-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KamuiNix/ace-rs on toolchain beta-2022-09-25 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KamuiNix/ace-rs [INFO] finished tweaking git repo https://github.com/KamuiNix/ace-rs [INFO] tweaked toml for git repo https://github.com/KamuiNix/ace-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/KamuiNix/ace-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89298635b9ea9d43adfd8f17668634c5702519a0c7cc17a396b882951995efcf [INFO] running `Command { std: "docker" "start" "-a" "89298635b9ea9d43adfd8f17668634c5702519a0c7cc17a396b882951995efcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89298635b9ea9d43adfd8f17668634c5702519a0c7cc17a396b882951995efcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89298635b9ea9d43adfd8f17668634c5702519a0c7cc17a396b882951995efcf", kill_on_drop: false }` [INFO] [stdout] 89298635b9ea9d43adfd8f17668634c5702519a0c7cc17a396b882951995efcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a923fe229863b62b667afda017ec5673673418da3c47deccce4c589aecd3721 [INFO] running `Command { std: "docker" "start" "-a" "5a923fe229863b62b667afda017ec5673673418da3c47deccce4c589aecd3721", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl v0.10.37 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.68 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.48 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling dbus v0.6.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pinyin v0.9.0 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling notify-rust v3.6.3 [INFO] [stderr] Compiling x11-clipboard v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling rusqlite v0.25.3 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling notifica v3.0.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling wl-clipboard-rs v0.4.1 [INFO] [stderr] Compiling cli-clipboard v0.2.1 [INFO] [stderr] Compiling ace-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NoteData` [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use anki::{AnkiConnect, NoteData}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{fs, path::Path, thread::sleep_ms}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | sleep_ms(wait_time_ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result` and `error` are never read [INFO] [stdout] --> src/anki.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AddResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 44 | result: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `AddResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/dict.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct YomichanDict { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YomichanDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/dict.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DbDictionary { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 25 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbDictionary` 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 `definition_tags`, `rule_identifiers`, `popularity`, `sequence` and `term_tags` are never read [INFO] [stdout] --> src/dict.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct YomichanEntryV1 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | definition_tags: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | rule_identifiers: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | popularity: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | meanings: Vec, [INFO] [stdout] 49 | sequence: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | term_tags: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YomichanEntryV1` 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 `download_file` is never used [INFO] [stdout] --> src/media.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | async fn download_file(url: &str, output_path: &Path, extension: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | / notifica::notify( [INFO] [stdout] 197 | | "Vocab Card", [INFO] [stdout] 198 | | &format!( [INFO] [stdout] 199 | | "Copy a word to the clipboard within {} seconds", [INFO] [stdout] 200 | | max_time / 1000 [INFO] [stdout] 201 | | ), [INFO] [stdout] 202 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "5a923fe229863b62b667afda017ec5673673418da3c47deccce4c589aecd3721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a923fe229863b62b667afda017ec5673673418da3c47deccce4c589aecd3721", kill_on_drop: false }` [INFO] [stdout] 5a923fe229863b62b667afda017ec5673673418da3c47deccce4c589aecd3721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 720d0e5a35e86f0a28df826b06e6b11513171f9b252acb8430fb43caa2192032 [INFO] running `Command { std: "docker" "start" "-a" "720d0e5a35e86f0a28df826b06e6b11513171f9b252acb8430fb43caa2192032", kill_on_drop: false }` [INFO] [stderr] Compiling ace-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NoteData` [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use anki::{AnkiConnect, NoteData}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{fs, path::Path, thread::sleep_ms}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | sleep_ms(wait_time_ms); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result` and `error` are never read [INFO] [stdout] --> src/anki.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AddResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 44 | result: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `AddResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/dict.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct YomichanDict { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 20 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YomichanDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/dict.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DbDictionary { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 25 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbDictionary` 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 `definition_tags`, `rule_identifiers`, `popularity`, `sequence` and `term_tags` are never read [INFO] [stdout] --> src/dict.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct YomichanEntryV1 { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | definition_tags: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | rule_identifiers: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | popularity: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | meanings: Vec, [INFO] [stdout] 49 | sequence: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | term_tags: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YomichanEntryV1` 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 `download_file` is never used [INFO] [stdout] --> src/media.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | async fn download_file(url: &str, output_path: &Path, extension: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | / notifica::notify( [INFO] [stdout] 197 | | "Vocab Card", [INFO] [stdout] 198 | | &format!( [INFO] [stdout] 199 | | "Copy a word to the clipboard within {} seconds", [INFO] [stdout] 200 | | max_time / 1000 [INFO] [stdout] 201 | | ), [INFO] [stdout] 202 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "720d0e5a35e86f0a28df826b06e6b11513171f9b252acb8430fb43caa2192032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720d0e5a35e86f0a28df826b06e6b11513171f9b252acb8430fb43caa2192032", kill_on_drop: false }` [INFO] [stdout] 720d0e5a35e86f0a28df826b06e6b11513171f9b252acb8430fb43caa2192032 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6a1accbbf850911de0068371223d64187d773bcdc1955e0bbcf1224af723022 [INFO] running `Command { std: "docker" "start" "-a" "e6a1accbbf850911de0068371223d64187d773bcdc1955e0bbcf1224af723022", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `NoteData` [INFO] [stderr] --> src/main.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | use anki::{AnkiConnect, NoteData}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::time` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use core::time; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | use std::{fs, path::Path, thread::sleep_ms}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | sleep_ms(wait_time_ms); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `result` and `error` are never read [INFO] [stderr] --> src/anki.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct AddResult { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 44 | result: usize, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 45 | error: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `AddResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `title` is never read [INFO] [stderr] --> src/dict.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 19 | struct YomichanDict { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 20 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `YomichanDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/dict.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct DbDictionary { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 25 | id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbDictionary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `definition_tags`, `rule_identifiers`, `popularity`, `sequence` and `term_tags` are never read [INFO] [stderr] --> src/dict.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 42 | struct YomichanEntryV1 { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | definition_tags: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | rule_identifiers: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 47 | popularity: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 48 | meanings: Vec, [INFO] [stderr] 49 | sequence: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 50 | term_tags: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `YomichanEntryV1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `download_file` is never used [INFO] [stderr] --> src/media.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | async fn download_file(url: &str, output_path: &Path, extension: Option<&str>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | / notifica::notify( [INFO] [stderr] 197 | | "Vocab Card", [INFO] [stderr] 198 | | &format!( [INFO] [stderr] 199 | | "Copy a word to the clipboard within {} seconds", [INFO] [stderr] 200 | | max_time / 1000 [INFO] [stderr] 201 | | ), [INFO] [stderr] 202 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `ace-rs` (bin "ace-rs" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ace_rs-1d899730585152e0) [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] running `Command { std: "docker" "inspect" "e6a1accbbf850911de0068371223d64187d773bcdc1955e0bbcf1224af723022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a1accbbf850911de0068371223d64187d773bcdc1955e0bbcf1224af723022", kill_on_drop: false }` [INFO] [stdout] e6a1accbbf850911de0068371223d64187d773bcdc1955e0bbcf1224af723022