[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 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiyyang%2Fgwgp_ca" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaiyyang/gwgp_ca on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "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-4-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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 771b22ec3311c2232c1ed0c981ecf53dfda5862d1cd96671302c6f61d4655045 [INFO] running `Command { std: "docker" "start" "-a" "771b22ec3311c2232c1ed0c981ecf53dfda5862d1cd96671302c6f61d4655045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "771b22ec3311c2232c1ed0c981ecf53dfda5862d1cd96671302c6f61d4655045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771b22ec3311c2232c1ed0c981ecf53dfda5862d1cd96671302c6f61d4655045", kill_on_drop: false }` [INFO] [stdout] 771b22ec3311c2232c1ed0c981ecf53dfda5862d1cd96671302c6f61d4655045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d5e6e5ec2a9812f7f4ad8ddaab2a7616cf4647689b548d8f8eb656de338d8c1 [INFO] running `Command { std: "docker" "start" "-a" "4d5e6e5ec2a9812f7f4ad8ddaab2a7616cf4647689b548d8f8eb656de338d8c1", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling log v0.4.20 [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 spin v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling dtoa-short v0.3.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling serenity v0.11.6 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling uwl v0.6.0 [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 phf_macros v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling command_attr v0.4.2 [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 tokio v1.32.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling time v0.3.27 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [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] [stderr] error: could not compile `serenity` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name serenity --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="async-tungstenite"' --cfg 'feature="base64"' --cfg 'feature="builder"' --cfg 'feature="bytes"' --cfg 'feature="chrono"' --cfg 'feature="client"' --cfg 'feature="command_attr"' --cfg 'feature="flate2"' --cfg 'feature="framework"' --cfg 'feature="gateway"' --cfg 'feature="http"' --cfg 'feature="levenshtein"' --cfg 'feature="model"' --cfg 'feature="reqwest"' --cfg 'feature="rustls_backend"' --cfg 'feature="standard_framework"' --cfg 'feature="static_assertions"' --cfg 'feature="tokio"' --cfg 'feature="typemap_rev"' --cfg 'feature="utils"' --cfg 'feature="uwl"' -C metadata=ee6a6b3da07fc22d -C extra-filename=-ee6a6b3da07fc22d --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-b4f7267f6eb11e2f.so --extern async_tungstenite=/opt/rustwide/target/debug/deps/libasync_tungstenite-84c9b23eb650cd7a.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-8fa8c942e545959f.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-1dceeb9ac7f9872e.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-606f72a68b4556cd.rmeta --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-330a72d854cebf0a.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-5383de1b082c1fe3.rmeta --extern command_attr=/opt/rustwide/target/debug/deps/libcommand_attr-a75837f8383a8ce1.so --extern flate2=/opt/rustwide/target/debug/deps/libflate2-e5db9f66dc4d2731.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-825ea536737f1659.rmeta --extern levenshtein=/opt/rustwide/target/debug/deps/liblevenshtein-bf87d3a1aa3afee7.rmeta --extern mime=/opt/rustwide/target/debug/deps/libmime-18339b9bccd47cd6.rmeta --extern mime_guess=/opt/rustwide/target/debug/deps/libmime_guess-5cf23cee7b099ec1.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-6630d0d765ff0971.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-c75ba9049ec4bdc7.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-97bedfa8da09d823.rmeta --extern serde_value=/opt/rustwide/target/debug/deps/libserde_value-fb686b63dc6bbeeb.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-82cfd0693de681ca.rmeta --extern static_assertions=/opt/rustwide/target/debug/deps/libstatic_assertions-b4388fafcab6bae8.rmeta --extern dep_time=/opt/rustwide/target/debug/deps/libtime-adbf55c531d7bbcf.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-6e1e3b38f49353bb.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-36b242e99ef55fad.rmeta --extern typemap_rev=/opt/rustwide/target/debug/deps/libtypemap_rev-80fd7f10d9c22e1f.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-32542c440667c0a7.rmeta --extern uwl=/opt/rustwide/target/debug/deps/libuwl-1d07069f72752d99.rmeta --cap-lints allow --cap-lints=warn -L native=/opt/rustwide/target/debug/build/ring-5cf26f4ca21cb508/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "4d5e6e5ec2a9812f7f4ad8ddaab2a7616cf4647689b548d8f8eb656de338d8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5e6e5ec2a9812f7f4ad8ddaab2a7616cf4647689b548d8f8eb656de338d8c1", kill_on_drop: false }` [INFO] [stdout] 4d5e6e5ec2a9812f7f4ad8ddaab2a7616cf4647689b548d8f8eb656de338d8c1 [INFO] testing kaiyyang/gwgp_ca against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaiyyang%2Fgwgp_ca" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaiyyang/gwgp_ca on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "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-4-tc2/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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 007d55aa4917b08c313a2446b7e14820d73316d3c2bdbab85f5af49d384a7bfd [INFO] running `Command { std: "docker" "start" "-a" "007d55aa4917b08c313a2446b7e14820d73316d3c2bdbab85f5af49d384a7bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "007d55aa4917b08c313a2446b7e14820d73316d3c2bdbab85f5af49d384a7bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007d55aa4917b08c313a2446b7e14820d73316d3c2bdbab85f5af49d384a7bfd", kill_on_drop: false }` [INFO] [stdout] 007d55aa4917b08c313a2446b7e14820d73316d3c2bdbab85f5af49d384a7bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c951f2cb9ab8e93bc0e84df134d3854cd6901a3e9cc6179043a8147f10a146 [INFO] running `Command { std: "docker" "start" "-a" "a9c951f2cb9ab8e93bc0e84df134d3854cd6901a3e9cc6179043a8147f10a146", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.11.0 [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 itoa v1.0.9 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [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 new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustls v0.21.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf v0.10.1 [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 crc32fast v1.3.2 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [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 mime v0.3.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling serenity v0.11.6 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling levenshtein v1.0.5 [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 thiserror-impl v1.0.47 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling command_attr v0.4.2 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling phf v0.11.2 [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 cssparser v0.31.2 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures v0.3.28 [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 tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.21 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling time v0.3.27 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling hyper v0.14.27 [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: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/gwgp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: struct `Resp` is never constructed [INFO] [stdout] --> src/gwgp.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Resp { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: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] [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: 6 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: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/gwgp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.03s [INFO] running `Command { std: "docker" "inspect" "a9c951f2cb9ab8e93bc0e84df134d3854cd6901a3e9cc6179043a8147f10a146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c951f2cb9ab8e93bc0e84df134d3854cd6901a3e9cc6179043a8147f10a146", kill_on_drop: false }` [INFO] [stdout] a9c951f2cb9ab8e93bc0e84df134d3854cd6901a3e9cc6179043a8147f10a146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a334219283a6eee5e3dd6e0c0dac14ec560499c26808de17d07d8c418e2b06d [INFO] running `Command { std: "docker" "start" "-a" "4a334219283a6eee5e3dd6e0c0dac14ec560499c26808de17d07d8c418e2b06d", kill_on_drop: false }` [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/gwgp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: struct `Resp` is never constructed [INFO] [stdout] --> src/gwgp.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Resp { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: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] [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] [stderr] Compiling gas_price_prediction_ca v0.1.0 (/opt/rustwide/workdir) [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/gwgp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/gwgp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest; [INFO] [stdout] | ^^^^^^^ the item `reqwest` is already defined by prelude [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: struct `Resp` is never constructed [INFO] [stdout] --> src/gwgp.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Resp { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Resp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: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] [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "4a334219283a6eee5e3dd6e0c0dac14ec560499c26808de17d07d8c418e2b06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a334219283a6eee5e3dd6e0c0dac14ec560499c26808de17d07d8c418e2b06d", kill_on_drop: false }` [INFO] [stdout] 4a334219283a6eee5e3dd6e0c0dac14ec560499c26808de17d07d8c418e2b06d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11a1d3d57fbc889f3313a725c86747e27724f64d8f3eeec66ebce0d90e05bc18 [INFO] running `Command { std: "docker" "start" "-a" "11a1d3d57fbc889f3313a725c86747e27724f64d8f3eeec66ebce0d90e05bc18", kill_on_drop: false }` [INFO] [stderr] warning: the item `reqwest` is imported redundantly [INFO] [stderr] --> src/gwgp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use reqwest; [INFO] [stderr] | ^^^^^^^ the item `reqwest` is already defined by prelude [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [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: struct `Resp` is never constructed [INFO] [stderr] --> src/gwgp.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Resp { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Resp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: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] 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 6 warnings [INFO] [stderr] warning: `gas_price_prediction_ca` (lib test) generated 6 warnings (6 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: the item `reqwest` is imported redundantly [INFO] [stderr] --> src/gwgp.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use reqwest; [INFO] [stderr] | ^^^^^^^ the item `reqwest` is already defined by prelude [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 6 warnings (1 duplicate) (run `cargo fix --bin "gas_price_prediction_ca" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gas_price_prediction_ca-d36469a5acd9c7cb) [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-63227a4f3e07ced9) [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" "11a1d3d57fbc889f3313a725c86747e27724f64d8f3eeec66ebce0d90e05bc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a1d3d57fbc889f3313a725c86747e27724f64d8f3eeec66ebce0d90e05bc18", kill_on_drop: false }` [INFO] [stdout] 11a1d3d57fbc889f3313a725c86747e27724f64d8f3eeec66ebce0d90e05bc18