[INFO] cloning repository https://github.com/dongwondavid/stockrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dongwondavid/stockrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdongwondavid%2Fstockrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdongwondavid%2Fstockrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aaf096399c284b347f879d96e1938e5294013848 [INFO] testing dongwondavid/stockrs against try#bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdongwondavid%2Fstockrs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dongwondavid/stockrs [INFO] finished tweaking git repo https://github.com/dongwondavid/stockrs [INFO] tweaked toml for git repo https://github.com/dongwondavid/stockrs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dongwondavid/stockrs on toolchain bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dongwondavid/stockrs 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" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bea76b32463a25ecd98dc21de9384cfd334e0dcf3cab80f64ded7bfa3b659097 [INFO] running `Command { std: "docker" "start" "-a" "bea76b32463a25ecd98dc21de9384cfd334e0dcf3cab80f64ded7bfa3b659097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bea76b32463a25ecd98dc21de9384cfd334e0dcf3cab80f64ded7bfa3b659097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bea76b32463a25ecd98dc21de9384cfd334e0dcf3cab80f64ded7bfa3b659097", kill_on_drop: false }` [INFO] [stdout] bea76b32463a25ecd98dc21de9384cfd334e0dcf3cab80f64ded7bfa3b659097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2cf6d4634f080647b6b3e70c61625dad3f9b69a196e3b8d3aed9c819ee5fe52 [INFO] running `Command { std: "docker" "start" "-a" "d2cf6d4634f080647b6b3e70c61625dad3f9b69a196e3b8d3aed9c819ee5fe52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.34.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling websocket-base v0.26.5 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling websocket v0.26.5 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling korea-investment-api v1.6.3 (https://github.com/dongwondavid/korea-investment-api?branch=main#cf77b0fe) [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rusqlite v0.36.0 [INFO] [stderr] Compiling stockrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stockcode` [INFO] [stdout] --> src/data_reader.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_avg_price(&self, stockcode: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stockcode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dnca_tot_amt` is never read [INFO] [stdout] --> src/types/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Domestic006Output2 { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 16 | dnca_tot_amt: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> src/bin/example.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{info, error, warn, debug}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscribe_response` [INFO] [stdout] --> src/bin/example.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | let (rx, subscribe_response) = api [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscribe_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "d2cf6d4634f080647b6b3e70c61625dad3f9b69a196e3b8d3aed9c819ee5fe52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2cf6d4634f080647b6b3e70c61625dad3f9b69a196e3b8d3aed9c819ee5fe52", kill_on_drop: false }` [INFO] [stdout] d2cf6d4634f080647b6b3e70c61625dad3f9b69a196e3b8d3aed9c819ee5fe52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b47690a285547d67390f21a334fbd2d40592d46614a730f6a1d6feeb620f49bb [INFO] running `Command { std: "docker" "start" "-a" "b47690a285547d67390f21a334fbd2d40592d46614a730f6a1d6feeb620f49bb", kill_on_drop: false }` [INFO] [stderr] Compiling stockrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stockcode` [INFO] [stdout] --> src/data_reader.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_avg_price(&self, stockcode: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stockcode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dnca_tot_amt` is never read [INFO] [stdout] --> src/types/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Domestic006Output2 { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 16 | dnca_tot_amt: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stockcode` [INFO] [stdout] --> src/data_reader.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_avg_price(&self, stockcode: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stockcode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dnca_tot_amt` is never read [INFO] [stdout] --> src/types/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Domestic006Output2 { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 16 | dnca_tot_amt: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> src/bin/example.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{info, error, warn, debug}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscribe_response` [INFO] [stdout] --> src/bin/example.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | let (rx, subscribe_response) = api [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscribe_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "b47690a285547d67390f21a334fbd2d40592d46614a730f6a1d6feeb620f49bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b47690a285547d67390f21a334fbd2d40592d46614a730f6a1d6feeb620f49bb", kill_on_drop: false }` [INFO] [stdout] b47690a285547d67390f21a334fbd2d40592d46614a730f6a1d6feeb620f49bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45aca1d1f306608bc2224ae3d125af36c911de3cbb6410c024988fe9db1fd2f1 [INFO] running `Command { std: "docker" "start" "-a" "45aca1d1f306608bc2224ae3d125af36c911de3cbb6410c024988fe9db1fd2f1", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `stockcode` [INFO] [stderr] --> src/data_reader.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | fn get_avg_price(&self, stockcode: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stockcode` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `dnca_tot_amt` is never read [INFO] [stderr] --> src/types/api.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 15 | struct Domestic006Output2 { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 16 | dnca_tot_amt: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `stockrs` (lib) generated 2 warnings (run `cargo fix --lib -p stockrs` to apply 1 suggestion) [INFO] [stderr] warning: `stockrs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused imports: `debug`, `error`, `info`, and `warn` [INFO] [stderr] --> src/bin/example.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | use log::{info, error, warn, debug}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subscribe_response` [INFO] [stderr] --> src/bin/example.rs:103:14 [INFO] [stderr] | [INFO] [stderr] 103 | let (rx, subscribe_response) = api [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscribe_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `stockrs` (bin "example" test) generated 2 warnings (run `cargo fix --bin "example" -p stockrs --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stockrs-2192d814cd5329b3) [INFO] [stdout] running 4 tests [INFO] [stdout] test time::tests::test_compute_next_time_signals ... ok [INFO] [stdout] test time::tests::test_holiday_loading ... ok [INFO] [stdout] test time::tests::test_next_trading_day_with_holidays ... ok [INFO] [stdout] test time::tests::test_time_service_flow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/example.rs (/opt/rustwide/target/debug/deps/example-d685a3d7845ac120) [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 stockrs [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" "45aca1d1f306608bc2224ae3d125af36c911de3cbb6410c024988fe9db1fd2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45aca1d1f306608bc2224ae3d125af36c911de3cbb6410c024988fe9db1fd2f1", kill_on_drop: false }` [INFO] [stdout] 45aca1d1f306608bc2224ae3d125af36c911de3cbb6410c024988fe9db1fd2f1