[INFO] cloning repository https://github.com/hoonyland/ogk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hoonyland/ogk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoonyland%2Fogk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoonyland%2Fogk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d15afee6cc494e0c54326bdb8c627c1536cbec4 [INFO] checking hoonyland/ogk against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoonyland%2Fogk" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hoonyland/ogk on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hoonyland/ogk [INFO] finished tweaking git repo https://github.com/hoonyland/ogk [INFO] tweaked toml for git repo https://github.com/hoonyland/ogk written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/hoonyland/ogk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio v0.7.8 [INFO] [stderr] Downloaded git2 v0.13.14 [INFO] [stderr] Downloaded libssh2-sys v0.2.20 [INFO] [stderr] Downloaded libgit2-sys v0.12.16+1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa39a8ae2513eba30f67a698886bc42a808e234f0a5f7277816c2c6d20821567 [INFO] running `Command { std: "docker" "start" "-a" "fa39a8ae2513eba30f67a698886bc42a808e234f0a5f7277816c2c6d20821567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa39a8ae2513eba30f67a698886bc42a808e234f0a5f7277816c2c6d20821567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa39a8ae2513eba30f67a698886bc42a808e234f0a5f7277816c2c6d20821567", kill_on_drop: false }` [INFO] [stdout] fa39a8ae2513eba30f67a698886bc42a808e234f0a5f7277816c2c6d20821567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af9fbccbac18768a0340fbfae07e1fd90ad5d89ef09b84772d584276ed1f45e6 [INFO] running `Command { std: "docker" "start" "-a" "af9fbccbac18768a0340fbfae07e1fd90ad5d89ef09b84772d584276ed1f45e6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.86 (as host dependency): align [INFO] [stderr] standback v0.2.13 (as host dependency): std [INFO] [stderr] tokio v1.2.0: winapi [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking bcrypt v0.9.0 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking mio v0.7.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling libgit2-sys v0.12.16+1.1.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking git2 v0.13.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking cookie v0.14.3 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.1 [INFO] [stderr] Checking realopen-rs v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/commands/Config.rs (7 fixes) [INFO] [stderr] Fixed src/commands/Auth.rs (6 fixes) [INFO] [stderr] Fixed src/commands/Init.rs (5 fixes) [INFO] [stderr] Fixed src/utils/config.rs (1 fix) [INFO] [stderr] Fixed src/dm/models.rs (1 fix) [INFO] [stderr] Fixed src/dm.rs (5 fixes) [INFO] [stderr] Fixed src/client.rs (1 fix) [INFO] [stderr] Fixed src/commands/Fetch.rs (5 fixes) [INFO] [stderr] Fixed src/utils/auth.rs (2 fixes) [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/dm/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `main` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * /rustc/a7a572ce3edd6d476191fbfe92c9c1986e009b34/library/core/src/panic.rs [INFO] [stderr] * src/client.rs [INFO] [stderr] * src/dm/models.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `client` in this scope [INFO] [stderr] --> src/client.rs:314:19 [INFO] [stderr] | [INFO] [stderr] 314 | let _result = client.as_ref().auth(username, password).await.unwrap(); [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `_client` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/client.rs:312:5 [INFO] [stderr] | [INFO] [stderr] 310 | todo!(); [INFO] [stderr] | -------- any code following this expression is unreachable [INFO] [stderr] 311 | // FIXME: Please insert a corrent user's information to authenticate [INFO] [stderr] 312 | let username = ""; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude` [INFO] [stderr] --> src/dm/models.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/utils/config.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn load() -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Auth` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Auth; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Config` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Config; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Fetch` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Fetch; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Init` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Init; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Auth.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | gen_key(); [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: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fetch_bill(&bill_id, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | fetch_bills(&opts.page, opts.from_date, None, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/client.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 310 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 311 | // FIXME: Please insert a corrent user's information to authenticate [INFO] [stdout] 312 | let username = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/dm/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/client.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/client.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let result = client.as_ref().auth(username, password).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/client.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | let result = client.as_ref().auth(username, password).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fm` [INFO] [stdout] --> src/fm.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let fm = FileManager::new("/Users/hoonyland/.ogk/.data", "hoonyland/data-opengirok"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/utils/config.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn load() -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/client.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | #[ignore] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Auth` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Auth; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Config` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Config; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Fetch` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Fetch; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Init` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Init; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Auth.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | gen_key(); [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: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fetch_bill(&bill_id, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | fetch_bills(&opts.page, opts.from_date, None, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.23 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling libgit2-sys v0.12.16+1.1.0 [INFO] [stderr] Checking cookie v0.14.3 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking async-compression v0.3.7 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking git2 v0.13.14 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.1 [INFO] [stderr] Checking realopen-rs v0.0.1 (/tmp/fixit) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/client.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 310 | todo!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 311 | // FIXME: Please insert a corrent user's information to authenticate [INFO] [stdout] 312 | let username = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/dm/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/dm/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/client.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/client.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let result = client.as_ref().auth(username, password).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/client.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | let result = client.as_ref().auth(username, password).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fm` [INFO] [stdout] --> src/fm.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let fm = FileManager::new("/Users/hoonyland/.ogk/.data", "hoonyland/data-opengirok"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/utils/config.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn load() -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Auth` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Auth; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Config` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Config; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Fetch` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Fetch; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Init` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Init; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Auth.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | gen_key(); [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: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fetch_bill(&bill_id, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | fetch_bills(&opts.page, opts.from_date, None, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/utils/config.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn load() -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/client.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | #[ignore] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Auth` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Auth; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Config` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Config; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Fetch` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Fetch; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `fetch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Init` should have a snake case name [INFO] [stdout] --> src/commands/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Init; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Auth.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | gen_key(); [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: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | fm.upload(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fetch_bill(&bill_id, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/Fetch.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | fetch_bills(&opts.page, opts.from_date, None, opts.download).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.65s [INFO] running `Command { std: "docker" "inspect" "af9fbccbac18768a0340fbfae07e1fd90ad5d89ef09b84772d584276ed1f45e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9fbccbac18768a0340fbfae07e1fd90ad5d89ef09b84772d584276ed1f45e6", kill_on_drop: false }` [INFO] [stdout] af9fbccbac18768a0340fbfae07e1fd90ad5d89ef09b84772d584276ed1f45e6