[INFO] cloning repository https://github.com/wvietor/ibkr-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wvietor/ibkr-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwvietor%2Fibkr-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwvietor%2Fibkr-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5240b97b9e83e9632a87e4a767452473626c6cb1 [INFO] testing wvietor/ibkr-rust against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwvietor%2Fibkr-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wvietor/ibkr-rust on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wvietor/ibkr-rust [INFO] finished tweaking git repo https://github.com/wvietor/ibkr-rust [INFO] tweaked toml for git repo https://github.com/wvietor/ibkr-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wvietor/ibkr-rust 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trait-variant v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 793117435f64b794c70e7d99fa8938125fb2a647e02cc3a589dd578ac6da3282 [INFO] running `Command { std: "docker" "start" "-a" "793117435f64b794c70e7d99fa8938125fb2a647e02cc3a589dd578ac6da3282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "793117435f64b794c70e7d99fa8938125fb2a647e02cc3a589dd578ac6da3282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793117435f64b794c70e7d99fa8938125fb2a647e02cc3a589dd578ac6da3282", kill_on_drop: false }` [INFO] [stdout] 793117435f64b794c70e7d99fa8938125fb2a647e02cc3a589dd578ac6da3282 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db219f6bbc111229a840c663052044e8152f16f685b74dcd69b86a2a4ebbdcf9 [INFO] running `Command { std: "docker" "start" "-a" "db219f6bbc111229a840c663052044e8152f16f685b74dcd69b86a2a4ebbdcf9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling trait-variant v0.1.1 [INFO] [stderr] Compiling ibapi_macros v0.1.0 (/opt/rustwide/workdir/ibkr_rust_macros) [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling serde_spanned v0.6.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling ibapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/figi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/figi.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u8` is never used [INFO] [stdout] --> src/figi.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 68 | impl G { [INFO] [stdout] | ------ method in this implementation [INFO] [stdout] 69 | #[inline] [INFO] [stdout] 70 | const fn as_u8(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidChecksum`, `InvalidFirstTwo`, and `InvalidThird` are never constructed [INFO] [stdout] --> src/figi.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum InvalidFigi { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 100 | InvalidChecksum(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | InvalidFirstTwo(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | InvalidThird(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidFigi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chars` and `is_valid` are never used [INFO] [stdout] --> src/figi.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Figi { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_digits_sub_100` is never used [INFO] [stdout] --> src/figi.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | const fn sum_digits_sub_100(n: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.52s [INFO] running `Command { std: "docker" "inspect" "db219f6bbc111229a840c663052044e8152f16f685b74dcd69b86a2a4ebbdcf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db219f6bbc111229a840c663052044e8152f16f685b74dcd69b86a2a4ebbdcf9", kill_on_drop: false }` [INFO] [stdout] db219f6bbc111229a840c663052044e8152f16f685b74dcd69b86a2a4ebbdcf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 112e3bb940133d30fa3824417ed2370af2f6d5d72440f42bc614738385ea1b34 [INFO] running `Command { std: "docker" "start" "-a" "112e3bb940133d30fa3824417ed2370af2f6d5d72440f42bc614738385ea1b34", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/figi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/figi.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u8` is never used [INFO] [stdout] --> src/figi.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 68 | impl G { [INFO] [stdout] | ------ method in this implementation [INFO] [stdout] 69 | #[inline] [INFO] [stdout] 70 | const fn as_u8(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidChecksum`, `InvalidFirstTwo`, and `InvalidThird` are never constructed [INFO] [stdout] --> src/figi.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum InvalidFigi { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 100 | InvalidChecksum(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | InvalidFirstTwo(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | InvalidThird(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidFigi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ibapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `from_chars` and `is_valid` are never used [INFO] [stdout] --> src/figi.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Figi { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_digits_sub_100` is never used [INFO] [stdout] --> src/figi.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | const fn sum_digits_sub_100(n: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> tests/account_portfolio.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/account_portfolio.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct Wrapper<'c>(&'c mut ActiveClient, CancelToken); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | struct Wrapper<'c>((), ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/figi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/figi.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u8` is never used [INFO] [stdout] --> src/figi.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 68 | impl G { [INFO] [stdout] | ------ method in this implementation [INFO] [stdout] 69 | #[inline] [INFO] [stdout] 70 | const fn as_u8(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidChecksum`, `InvalidFirstTwo`, and `InvalidThird` are never constructed [INFO] [stdout] --> src/figi.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum InvalidFigi { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 100 | InvalidChecksum(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | InvalidFirstTwo(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | InvalidThird(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidFigi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_chars` and `is_valid` are never used [INFO] [stdout] --> src/figi.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Figi { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_digits_sub_100` is never used [INFO] [stdout] --> src/figi.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | const fn sum_digits_sub_100(n: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.40s [INFO] running `Command { std: "docker" "inspect" "112e3bb940133d30fa3824417ed2370af2f6d5d72440f42bc614738385ea1b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112e3bb940133d30fa3824417ed2370af2f6d5d72440f42bc614738385ea1b34", kill_on_drop: false }` [INFO] [stdout] 112e3bb940133d30fa3824417ed2370af2f6d5d72440f42bc614738385ea1b34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c3d8006496636df7bcbe424c05732b3a251aa35866aae86f0f077798a19a572 [INFO] running `Command { std: "docker" "start" "-a" "2c3d8006496636df7bcbe424c05732b3a251aa35866aae86f0f077798a19a572", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/figi.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 121 | fn from_str(s: &str) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/figi.rs:127:23 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: method `as_u8` is never used [INFO] [stderr] --> src/figi.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 68 | impl G { [INFO] [stderr] | ------ method in this implementation [INFO] [stderr] 69 | #[inline] [INFO] [stderr] 70 | const fn as_u8(&self) -> u8 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidChecksum`, `InvalidFirstTwo`, and `InvalidThird` are never constructed [INFO] [stderr] --> src/figi.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 99 | pub enum InvalidFigi { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 100 | InvalidChecksum(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 101 | InvalidFirstTwo(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 102 | InvalidThird(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InvalidFigi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `from_chars` and `is_valid` are never used [INFO] [stderr] --> src/figi.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 126 | impl Figi { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 127 | pub fn from_chars(s: &[char; 11]) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | fn is_valid(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sum_digits_sub_100` is never used [INFO] [stderr] --> src/figi.rs:147:10 [INFO] [stderr] | [INFO] [stderr] 147 | const fn sum_digits_sub_100(n: u8) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ibapi` (lib) generated 6 warnings [INFO] [stderr] warning: `ibapi` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: the item `tokio` is imported redundantly [INFO] [stderr] --> tests/account_portfolio.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio; [INFO] [stderr] | ^^^^^ the item `tokio` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> tests/account_portfolio.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | struct Wrapper<'c>(&'c mut ActiveClient, CancelToken); [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 7 | struct Wrapper<'c>((), ()); [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: `ibapi` (test "account_portfolio") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ibapi-ca2b6e5b24c502f1) [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 tests/account_portfolio.rs (/opt/rustwide/target/debug/deps/account_portfolio-c46b7a07f51a889d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test account_update ... FAILED [INFO] [stdout] test positions ... FAILED [INFO] [stdout] test pnl ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test account_portfolio` [INFO] [stdout] test account_summary ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- account_update stdout ---- [INFO] [stdout] Error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:565:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1963:27 [INFO] [stdout] 2: ibapi::client::Builder::connect::{{closure}} [INFO] [stdout] at ./src/client.rs:222:36 [INFO] [stdout] 3: account_portfolio::account_update::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:102:14 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:57 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:410:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:664:36 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:26 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:286:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:262:9 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:652:19 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/runtime.rs:348:47 [INFO] [stdout] 24: account_portfolio::account_update [INFO] [stdout] at ./tests/account_portfolio.rs:107:5 [INFO] [stdout] 25: account_portfolio::account_update::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:98:30 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 48: [INFO] [stdout] 49: __clone [INFO] [stdout] [INFO] [stdout] ---- positions stdout ---- [INFO] [stdout] Error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:565:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1963:27 [INFO] [stdout] 2: ibapi::client::Builder::connect::{{closure}} [INFO] [stdout] at ./src/client.rs:222:36 [INFO] [stdout] 3: account_portfolio::positions::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:134:14 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:57 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:410:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:664:36 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:26 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:286:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:262:9 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:652:19 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/runtime.rs:348:47 [INFO] [stdout] 24: account_portfolio::positions [INFO] [stdout] at ./tests/account_portfolio.rs:139:5 [INFO] [stdout] 25: account_portfolio::positions::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:130:25 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 48: [INFO] [stdout] 49: __clone [INFO] [stdout] [INFO] [stdout] ---- pnl stdout ---- [INFO] [stdout] thread 'pnl' panicked at tests/account_portfolio.rs:170:14: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:565:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1963:27 [INFO] [stdout] 2: ibapi::client::Builder::connect::{{closure}} [INFO] [stdout] at ./src/client.rs:222:36 [INFO] [stdout] 3: account_portfolio::pnl::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:169:14 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:57 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:410:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:664:36 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:26 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:286:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:262:9 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:652:19 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/runtime.rs:348:47 [INFO] [stdout] 24: account_portfolio::pnl [INFO] [stdout] at ./tests/account_portfolio.rs:175:5 [INFO] [stdout] 25: account_portfolio::pnl::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:165:19 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 48: [INFO] [stdout] 49: __clone [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c8a0233c36 - std::backtrace_rs::backtrace::libunwind::trace::h68e08e31a5edd928 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x55c8a0233c36 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8e4d3186f828cab [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c8a0233c36 - std::sys_common::backtrace::_print_fmt::hdcdca1c0665ccefc [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55c8a0233c36 - ::fmt::h752651e67cc277a4 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55c8a025e3dc - core::fmt::rt::Argument::fmt::h4e7c3e22f7386287 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x55c8a025e3dc - core::fmt::write::hd44b1d45ba162e21 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x55c8a0230fdf - std::io::Write::write_fmt::hdb67a49a0754f939 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x55c8a02339e4 - std::sys_common::backtrace::_print::hbca331de1381491f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55c8a02339e4 - std::sys_common::backtrace::print::hade58077d78c625d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55c8a02356db - std::panicking::default_hook::{{closure}}::hc9f80a2cdc6be4c4 [INFO] [stdout] 10: 0x55c8a02353ad - std::panicking::default_hook::h1fc68886dc215416 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x55c8a0197a17 - as core::ops::function::Fn>::call::ha16821620acc0367 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x55c8a0197a17 - test::test_main::{{closure}}::h1a3ed7cd910c2945 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55c8a0235d10 - as core::ops::function::Fn>::call::he260753ff79c0e70 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x55c8a0235d10 - std::panicking::rust_panic_with_hook::heff73da0ddd67492 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x55c8a0235a52 - std::panicking::begin_panic_handler::{{closure}}::h141137f9c7de1e02 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x55c8a0234116 - std::sys_common::backtrace::__rust_end_short_backtrace::hbde4e66d30db627d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55c8a0235784 - rust_begin_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x55c8a00b49c5 - core::panicking::panic_fmt::h92fcc83e4972ca9b [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55c8a00b4ec3 - core::result::unwrap_failed::h788f2905cd2dc947 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1653:5 [INFO] [stdout] 20: 0x55c8a01523de - core::result::Result::unwrap::h21f6047104ad72eb [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1077:23 [INFO] [stdout] 21: 0x55c8a01523de - account_portfolio::pnl::{{closure}}::h53da859f064597fd [INFO] [stdout] at /opt/rustwide/workdir/tests/account_portfolio.rs:167:9 [INFO] [stdout] 22: 0x55c8a01555d5 - as core::future::future::Future>::poll::hc9db9eacb57b2657 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x55c8a01555d5 - as core::future::future::Future>::poll::h8dc33bb86e8e02da [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 24: 0x55c8a01555d5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h4b2bb6d9e4766d55 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:57 [INFO] [stdout] 25: 0x55c8a01555d5 - tokio::runtime::coop::with_budget::h776e2610609b294f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x55c8a01555d5 - tokio::runtime::coop::budget::hac93762f0e07ff08 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x55c8a01555d5 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h7d2579b8a7b8fb41 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:25 [INFO] [stdout] 28: 0x55c8a01555d5 - tokio::runtime::scheduler::current_thread::Context::enter::hccc72798931e6261 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:410:19 [INFO] [stdout] 29: 0x55c8a01381ef - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h328650f44e3a4fed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:664:36 [INFO] [stdout] 30: 0x55c8a01381ef - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h6bd1b6e502930c2e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:68 [INFO] [stdout] 31: 0x55c8a01381ef - tokio::runtime::context::scoped::Scoped::set::hb2339502f61b3bf0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x55c8a01381ef - tokio::runtime::context::set_scheduler::{{closure}}::h1bc303532ef8c7ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:26 [INFO] [stdout] 33: 0x55c8a01381ef - std::thread::local::LocalKey::try_with::hf1e63f610698015e [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:286:16 [INFO] [stdout] 34: 0x55c8a01381ef - std::thread::local::LocalKey::with::he9407e10e64efd3c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:262:9 [INFO] [stdout] 35: 0x55c8a01381ef - tokio::runtime::context::set_scheduler::hb51b57ce4689968d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:17 [INFO] [stdout] 36: 0x55c8a0155755 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hfd4db66ddc3493bf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:27 [INFO] [stdout] 37: 0x55c8a0155755 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::ha00c5e4d81603a83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:652:19 [INFO] [stdout] 38: 0x55c8a0138710 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hba79d7ac93a8cc84 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 39: 0x55c8a0138710 - tokio::runtime::context::runtime::enter_runtime::h240e81cb03f86cb7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x55c8a0145a05 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h6984d7d576622cd3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 41: 0x55c8a0145a05 - tokio::runtime::runtime::Runtime::block_on::h7a79735b6a82c311 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/runtime.rs:348:47 [INFO] [stdout] 42: 0x55c8a014ae90 - account_portfolio::pnl::h99c99e3cce6a7f0f [INFO] [stdout] at /opt/rustwide/workdir/tests/account_portfolio.rs:175:5 [INFO] [stdout] 43: 0x55c8a014ae90 - account_portfolio::pnl::{{closure}}::h4c3f2e4a6a59eca9 [INFO] [stdout] at /opt/rustwide/workdir/tests/account_portfolio.rs:165:19 [INFO] [stdout] 44: 0x55c8a014ae90 - core::ops::function::FnOnce::call_once::h6480ea923787c961 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x55c8a019d17f - core::ops::function::FnOnce::call_once::hb5d425830acba2e8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x55c8a019d17f - test::__rust_begin_short_backtrace::h8054e86d0f5ccc86 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 47: 0x55c8a019bd90 - test::run_test_in_process::{{closure}}::h85d13cb166c10721 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 48: 0x55c8a019bd90 - as core::ops::function::FnOnce<()>>::call_once::hc3dc86b8d5205a04 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 49: 0x55c8a019bd90 - std::panicking::try::do_call::hc17666b06748adad [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 50: 0x55c8a019bd90 - std::panicking::try::h1e9fba0c97684d1d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 51: 0x55c8a019bd90 - std::panic::catch_unwind::h8328c2da9899627c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 52: 0x55c8a019bd90 - test::run_test_in_process::hf19a99f254958c9c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 53: 0x55c8a019bd90 - test::run_test::{{closure}}::hba6ab6b94e515411 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 54: 0x55c8a01640d3 - test::run_test::{{closure}}::h6ac7c2253cb9cc0f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 55: 0x55c8a01640d3 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb4fbc53b7e758a6f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 56: 0x55c8a0168dff - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha24970823708ac98 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 57: 0x55c8a0168dff - as core::ops::function::FnOnce<()>>::call_once::h16db0733eff2a03c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 58: 0x55c8a0168dff - std::panicking::try::do_call::hc2890dbc9a490eee [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 59: 0x55c8a0168dff - std::panicking::try::ha67ad75b01f98422 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 60: 0x55c8a0168dff - std::panic::catch_unwind::h26725df9ddb3fcd2 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 61: 0x55c8a0168dff - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0e59407b0ff3ed8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 62: 0x55c8a0168dff - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd4eb105f82d3bb8e [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x55c8a023a0f5 - as core::ops::function::FnOnce>::call_once::h28564f61ef15890d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 64: 0x55c8a023a0f5 - as core::ops::function::FnOnce>::call_once::h03728738d990d027 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 65: 0x55c8a023a0f5 - std::sys::pal::unix::thread::Thread::new::thread_start::heb455c9485795637 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 66: 0x7fd70329aac3 - [INFO] [stdout] 67: 0x7fd70332bbf4 - __clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- account_summary stdout ---- [INFO] [stdout] Error: Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:565:25 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1963:27 [INFO] [stdout] 2: ibapi::client::Builder::connect::{{closure}} [INFO] [stdout] at ./src/client.rs:222:36 [INFO] [stdout] 3: account_portfolio::account_summary::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:69:14 [INFO] [stdout] 4: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 5: as core::future::future::Future>::poll [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/future/future.rs:124:9 [INFO] [stdout] 6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:57 [INFO] [stdout] 7: tokio::runtime::coop::with_budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:107:5 [INFO] [stdout] 8: tokio::runtime::coop::budget [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/coop.rs:73:5 [INFO] [stdout] 9: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:665:25 [INFO] [stdout] 10: tokio::runtime::scheduler::current_thread::Context::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:410:19 [INFO] [stdout] 11: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:664:36 [INFO] [stdout] 12: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:68 [INFO] [stdout] 13: tokio::runtime::context::scoped::Scoped::set [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 14: tokio::runtime::context::set_scheduler::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:26 [INFO] [stdout] 15: std::thread::local::LocalKey::try_with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:286:16 [INFO] [stdout] 16: std::thread::local::LocalKey::with [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/local.rs:262:9 [INFO] [stdout] 17: tokio::runtime::context::set_scheduler [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context.rs:176:17 [INFO] [stdout] 18: tokio::runtime::scheduler::current_thread::CoreGuard::enter [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:743:27 [INFO] [stdout] 19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:652:19 [INFO] [stdout] 20: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:175:28 [INFO] [stdout] 21: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 22: tokio::runtime::scheduler::current_thread::CurrentThread::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs:167:9 [INFO] [stdout] 23: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/runtime/runtime.rs:348:47 [INFO] [stdout] 24: account_portfolio::account_summary [INFO] [stdout] at ./tests/account_portfolio.rs:74:5 [INFO] [stdout] 25: account_portfolio::account_summary::{{closure}} [INFO] [stdout] at ./tests/account_portfolio.rs:65:31 [INFO] [stdout] 26: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 29: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 30: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 32: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 33: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 34: test::run_test_in_process [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 35: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 36: test::run_test::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 37: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 38: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 39: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: std::panicking::try::do_call [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 41: std::panicking::try [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 42: std::panic::catch_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 43: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 44: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 46: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 47: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 48: [INFO] [stdout] 49: __clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] account_summary [INFO] [stdout] account_update [INFO] [stdout] pnl [INFO] [stdout] positions [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c3d8006496636df7bcbe424c05732b3a251aa35866aae86f0f077798a19a572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c3d8006496636df7bcbe424c05732b3a251aa35866aae86f0f077798a19a572", kill_on_drop: false }` [INFO] [stdout] 2c3d8006496636df7bcbe424c05732b3a251aa35866aae86f0f077798a19a572