[INFO] cloning repository https://github.com/otwieracz/portfel-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/otwieracz/portfel-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotwieracz%2Fportfel-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotwieracz%2Fportfel-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4151ece410946a564012e5ea47e337bd992aa350 [INFO] building otwieracz/portfel-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotwieracz%2Fportfel-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/otwieracz/portfel-rs [INFO] finished tweaking git repo https://github.com/otwieracz/portfel-rs [INFO] tweaked toml for git repo https://github.com/otwieracz/portfel-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/otwieracz/portfel-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/otwieracz/portfel-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `good_lp` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sprs v0.7.1 [INFO] [stderr] Downloaded anstream v0.6.5 [INFO] [stderr] Downloaded minilp v0.2.2 [INFO] [stderr] Downloaded clap v4.4.11 [INFO] [stderr] Downloaded serde_yaml v0.9.27 [INFO] [stderr] Downloaded unicode-bidi v0.3.14 [INFO] [stderr] Downloaded good_lp v1.7.0 [INFO] [stderr] Downloaded telnet v0.2.1 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.9 [INFO] [stderr] Downloaded clap_builder v4.4.11 [INFO] [stderr] Downloaded ndarray v0.13.1 [INFO] [stderr] Downloaded tokio v1.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a037bd4bfb04f4aa1708aee832ac150491c4ba0cfe36386face2c7d5d2d4238 [INFO] running `Command { std: "docker" "start" "-a" "4a037bd4bfb04f4aa1708aee832ac150491c4ba0cfe36386face2c7d5d2d4238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a037bd4bfb04f4aa1708aee832ac150491c4ba0cfe36386face2c7d5d2d4238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a037bd4bfb04f4aa1708aee832ac150491c4ba0cfe36386face2c7d5d2d4238", kill_on_drop: false }` [INFO] [stdout] 4a037bd4bfb04f4aa1708aee832ac150491c4ba0cfe36386face2c7d5d2d4238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 975d70df0280ad926bed5ad419923e9e1888c58f3d39ea4d1c238945997521b8 [INFO] running `Command { std: "docker" "start" "-a" "975d70df0280ad926bed5ad419923e9e1888c58f3d39ea4d1c238945997521b8", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `good_lp` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling telnet v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling sprs v0.7.1 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling minilp v0.2.2 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling good_lp v1.7.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.27 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling portfel v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | HttpError(reqwest::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - HttpError(reqwest::Error), [INFO] [stdout] 5 + HttpError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | JsonError(reqwest::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - JsonError(reqwest::Error), [INFO] [stdout] 6 + JsonError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvestmentGroup` is never constructed [INFO] [stdout] --> src/portfolio.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct InvestmentGroup { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `volume` and `bid_price` are never read [INFO] [stdout] --> src/xtb.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct PositionMarketValue { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 176 | pub symbol: String, [INFO] [stdout] 177 | pub volume: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | pub bid_price: Amount, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionMarketValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/xtb.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 103 | pub status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.36s [INFO] running `Command { std: "docker" "inspect" "975d70df0280ad926bed5ad419923e9e1888c58f3d39ea4d1c238945997521b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975d70df0280ad926bed5ad419923e9e1888c58f3d39ea4d1c238945997521b8", kill_on_drop: false }` [INFO] [stdout] 975d70df0280ad926bed5ad419923e9e1888c58f3d39ea4d1c238945997521b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cfef53d2f0019f614e3877b08f364a38f0b06b38091e09913d9fdfc2e8d2637 [INFO] running `Command { std: "docker" "start" "-a" "9cfef53d2f0019f614e3877b08f364a38f0b06b38091e09913d9fdfc2e8d2637", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `good_lp` dependency) [INFO] [stderr] Compiling portfel v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | HttpError(reqwest::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - HttpError(reqwest::Error), [INFO] [stdout] 5 + HttpError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | JsonError(reqwest::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - JsonError(reqwest::Error), [INFO] [stdout] 6 + JsonError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvestmentGroup` is never constructed [INFO] [stdout] --> src/portfolio.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct InvestmentGroup { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `volume` and `bid_price` are never read [INFO] [stdout] --> src/xtb.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct PositionMarketValue { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 176 | pub symbol: String, [INFO] [stdout] 177 | pub volume: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 178 | pub bid_price: Amount, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PositionMarketValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/xtb.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 103 | pub status: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "9cfef53d2f0019f614e3877b08f364a38f0b06b38091e09913d9fdfc2e8d2637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cfef53d2f0019f614e3877b08f364a38f0b06b38091e09913d9fdfc2e8d2637", kill_on_drop: false }` [INFO] [stdout] 9cfef53d2f0019f614e3877b08f364a38f0b06b38091e09913d9fdfc2e8d2637