[INFO] cloning repository https://github.com/kaiyyang/gwgp_ca [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaiyyang/gwgp_ca" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiyyang%2Fgwgp_ca", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiyyang%2Fgwgp_ca'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69a56d939cc76dda41e54d0447cc3cdbe877d4a7 [INFO] testing kaiyyang/gwgp_ca against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiyyang%2Fgwgp_ca" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaiyyang/gwgp_ca on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaiyyang/gwgp_ca [INFO] finished tweaking git repo https://github.com/kaiyyang/gwgp_ca [INFO] tweaked toml for git repo https://github.com/kaiyyang/gwgp_ca written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaiyyang/gwgp_ca 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.27 [INFO] [stderr] Downloaded dtoa v1.0.9 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded cssparser-macros v0.6.1 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded reqwest v0.11.19 [INFO] [stderr] Downloaded serenity v0.11.6 [INFO] [stderr] Downloaded scraper v0.17.1 [INFO] [stderr] Downloaded dtoa-short v0.3.4 [INFO] [stderr] Downloaded command_attr v0.4.2 [INFO] [stderr] Downloaded time-macros v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca38730db31ebbe84a0725e68f9ccfb60364340e6245313af0809be9d4fe393a [INFO] running `Command { std: "docker" "start" "-a" "ca38730db31ebbe84a0725e68f9ccfb60364340e6245313af0809be9d4fe393a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca38730db31ebbe84a0725e68f9ccfb60364340e6245313af0809be9d4fe393a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca38730db31ebbe84a0725e68f9ccfb60364340e6245313af0809be9d4fe393a", kill_on_drop: false }` [INFO] [stdout] ca38730db31ebbe84a0725e68f9ccfb60364340e6245313af0809be9d4fe393a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acb5e005ea60dd87dc0d7e80af37b1107f0753224497aa7a278f85575639651e [INFO] running `Command { std: "docker" "start" "-a" "acb5e005ea60dd87dc0d7e80af37b1107f0753224497aa7a278f85575639651e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.185 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rustls-webpki v0.101.4 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_derive v1.0.185 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling serenity v0.11.6 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling time v0.3.27 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling command_attr v0.4.2 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.19 [INFO] [stderr] Compiling gas_price_prediction_ca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `city` is never read [INFO] [stdout] --> src/gwgp.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut city = String::from(""); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default` and `new` are never used [INFO] [stdout] --> src/gwgp.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Price { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 19 | pub fn new_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new(value: String, change: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default` and `new` are never used [INFO] [stdout] --> src/gwgp.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl OilPrice { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn new_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prices` is never used [INFO] [stdout] --> src/gwgp.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn get_prices() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hook` [INFO] [stdout] --> src/main.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::framework::standard::macros::{command, group, hook}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `city` is never read [INFO] [stdout] --> src/gwgp.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut city = String::from(""); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gwgp.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl OilPrice { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "acb5e005ea60dd87dc0d7e80af37b1107f0753224497aa7a278f85575639651e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb5e005ea60dd87dc0d7e80af37b1107f0753224497aa7a278f85575639651e", kill_on_drop: false }` [INFO] [stdout] acb5e005ea60dd87dc0d7e80af37b1107f0753224497aa7a278f85575639651e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b4722ae3ce36fb34494de1c99de067b78b500343a7647942021a368cab7384d [INFO] running `Command { std: "docker" "start" "-a" "6b4722ae3ce36fb34494de1c99de067b78b500343a7647942021a368cab7384d", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `city` is never read [INFO] [stdout] --> src/gwgp.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut city = String::from(""); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default` and `new` are never used [INFO] [stdout] --> src/gwgp.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Price { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 19 | pub fn new_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new(value: String, change: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default` and `new` are never used [INFO] [stdout] --> src/gwgp.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl OilPrice { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn new_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prices` is never used [INFO] [stdout] --> src/gwgp.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn get_prices() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gas_price_prediction_ca v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hook` [INFO] [stdout] --> src/main.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::framework::standard::macros::{command, group, hook}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `city` is never read [INFO] [stdout] --> src/gwgp.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut city = String::from(""); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default` and `new` are never used [INFO] [stdout] --> src/gwgp.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Price { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 19 | pub fn new_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new(value: String, change: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_default` and `new` are never used [INFO] [stdout] --> src/gwgp.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl OilPrice { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn new_default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_prices` is never used [INFO] [stdout] --> src/gwgp.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn get_prices() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `city` is never read [INFO] [stdout] --> src/gwgp.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut city = String::from(""); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gwgp.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl OilPrice { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "6b4722ae3ce36fb34494de1c99de067b78b500343a7647942021a368cab7384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4722ae3ce36fb34494de1c99de067b78b500343a7647942021a368cab7384d", kill_on_drop: false }` [INFO] [stdout] 6b4722ae3ce36fb34494de1c99de067b78b500343a7647942021a368cab7384d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7fed769db5bed578858b1caa95817a376e9dd3b58312c3ce4dc0e5d9a3e3b998 [INFO] running `Command { std: "docker" "start" "-a" "7fed769db5bed578858b1caa95817a376e9dd3b58312c3ce4dc0e5d9a3e3b998", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `city` is never read [INFO] [stderr] --> src/gwgp.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | let mut city = String::from(""); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `new_default` and `new` are never used [INFO] [stderr] --> src/gwgp.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Price { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] 19 | pub fn new_default() -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn new(value: String, change: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `new_default` and `new` are never used [INFO] [stderr] --> src/gwgp.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 43 | impl OilPrice { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 44 | pub fn new_default() -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_prices` is never used [INFO] [stderr] --> src/gwgp.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn get_prices() -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gas_price_prediction_ca` (lib) generated 4 warnings [INFO] [stderr] warning: `gas_price_prediction_ca` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hook` [INFO] [stderr] --> src/main.rs:13:61 [INFO] [stderr] | [INFO] [stderr] 13 | use serenity::framework::standard::macros::{command, group, hook}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/gwgp.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 43 | impl OilPrice { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn new(regular: Price, premium: Price, diesel: Price) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gas_price_prediction_ca` (bin "gas_price_prediction_ca" test) generated 5 warnings (1 duplicate) (run `cargo fix --bin "gas_price_prediction_ca" --tests` to apply 3 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gas_price_prediction_ca-569081dd72df316f) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gas_price_prediction_ca-152cb564f86ce92c) [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] [stderr] Doc-tests gas_price_prediction_ca [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" "7fed769db5bed578858b1caa95817a376e9dd3b58312c3ce4dc0e5d9a3e3b998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fed769db5bed578858b1caa95817a376e9dd3b58312c3ce4dc0e5d9a3e3b998", kill_on_drop: false }` [INFO] [stdout] 7fed769db5bed578858b1caa95817a376e9dd3b58312c3ce4dc0e5d9a3e3b998