[INFO] cloning repository https://github.com/sackopotatoes/coin_tax [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sackopotatoes/coin_tax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsackopotatoes%2Fcoin_tax", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsackopotatoes%2Fcoin_tax'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ede3337a0da63b88cd73f37585f488d1b63184b6 [INFO] testing sackopotatoes/coin_tax against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsackopotatoes%2Fcoin_tax" "/workspace/builds/worker-51/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-51/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sackopotatoes/coin_tax on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sackopotatoes/coin_tax [INFO] finished tweaking git repo https://github.com/sackopotatoes/coin_tax [INFO] tweaked toml for git repo https://github.com/sackopotatoes/coin_tax written to /workspace/builds/worker-51/source/Cargo.toml [INFO] crate git repo https://github.com/sackopotatoes/coin_tax already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d06470ad179dd6df3e239ecc41f80ec1083c57e2afc60918b32a12467e9c0624 [INFO] running `Command { std: "docker" "start" "-a" "d06470ad179dd6df3e239ecc41f80ec1083c57e2afc60918b32a12467e9c0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d06470ad179dd6df3e239ecc41f80ec1083c57e2afc60918b32a12467e9c0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06470ad179dd6df3e239ecc41f80ec1083c57e2afc60918b32a12467e9c0624", kill_on_drop: false }` [INFO] [stdout] d06470ad179dd6df3e239ecc41f80ec1083c57e2afc60918b32a12467e9c0624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b90c1bf46a8afb9024dfcc63ff14c40f9d6218c6d97b26b60e74f4cd6ad65183 [INFO] running `Command { std: "docker" "start" "-a" "b90c1bf46a8afb9024dfcc63ff14c40f9d6218c6d97b26b60e74f4cd6ad65183", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling coin_tax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `vecdeque_binary_search` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vecdeque_binary_search)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.72s [INFO] running `Command { std: "docker" "inspect" "b90c1bf46a8afb9024dfcc63ff14c40f9d6218c6d97b26b60e74f4cd6ad65183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90c1bf46a8afb9024dfcc63ff14c40f9d6218c6d97b26b60e74f4cd6ad65183", kill_on_drop: false }` [INFO] [stdout] b90c1bf46a8afb9024dfcc63ff14c40f9d6218c6d97b26b60e74f4cd6ad65183 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73d7d1e9c5122b3c00f84f7f69f8f9fa934b5dd2c0e720d948d2ba4ef667f939 [INFO] running `Command { std: "docker" "start" "-a" "73d7d1e9c5122b3c00f84f7f69f8f9fa934b5dd2c0e720d948d2ba4ef667f939", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling coin_tax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `vecdeque_binary_search` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vecdeque_binary_search)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vecdeque_binary_search` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vecdeque_binary_search)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.58s [INFO] running `Command { std: "docker" "inspect" "73d7d1e9c5122b3c00f84f7f69f8f9fa934b5dd2c0e720d948d2ba4ef667f939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d7d1e9c5122b3c00f84f7f69f8f9fa934b5dd2c0e720d948d2ba4ef667f939", kill_on_drop: false }` [INFO] [stdout] 73d7d1e9c5122b3c00f84f7f69f8f9fa934b5dd2c0e720d948d2ba4ef667f939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35c62c303c77ad3b01e6fc2344826430a4a20c405605c93b8df3169eaa2dbb09 [INFO] running `Command { std: "docker" "start" "-a" "35c62c303c77ad3b01e6fc2344826430a4a20c405605c93b8df3169eaa2dbb09", kill_on_drop: false }` [INFO] [stderr] warning: the feature `vecdeque_binary_search` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(vecdeque_binary_search)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `coin_tax` (lib) generated 1 warning [INFO] [stderr] warning: `coin_tax` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/coin_tax-1a644f6ff943226b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test portfolio::lib_tests::test_add_new_asset_to_portfolio ... ok [INFO] [stdout] test portfolio::lib_tests::test_add_transaction_to_asset ... ok [INFO] [stdout] test portfolio::lib_tests::test_asset_history_push_into_history ... ok [INFO] [stdout] test transaction::tests::test_create_transaction_from_line ... ok [INFO] [stdout] test transaction::tests::test_get_action_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_asset_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_conversion_to_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_fair_market_value_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_price_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_quantity_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_timestamp_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_split_csv_line ... ok [INFO] [stdout] test transaction::tests::test_split_string ... ok [INFO] [stdout] test lib_tests::test_coinbase_run ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- lib_tests::test_coinbase_run stdout ---- [INFO] [stdout] { [INFO] [stdout] "BTC": AssetHistory { [INFO] [stdout] name: "BTC", [INFO] [stdout] history: [ [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1516678811000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "BTC", [INFO] [stdout] quantity: 0.000919, [INFO] [stdout] price: 10.0, [INFO] [stdout] fair_market_value: 10881.58, [INFO] [stdout] unit_price: 10881.393, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1520569345000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "BTC", [INFO] [stdout] quantity: 0.01105452, [INFO] [stdout] price: 100.0, [INFO] [stdout] fair_market_value: 8775.6, [INFO] [stdout] unit_price: 9046.074, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1596464153000, [INFO] [stdout] action: Sell, [INFO] [stdout] asset: "BTC", [INFO] [stdout] quantity: 0.06327474, [INFO] [stdout] price: 701.44, [INFO] [stdout] fair_market_value: 11253.31, [INFO] [stdout] unit_price: 11085.624, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] quantity: -0.051301222, [INFO] [stdout] }, [INFO] [stdout] "ALGO": AssetHistory { [INFO] [stdout] name: "ALGO", [INFO] [stdout] history: [ [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1612070447000, [INFO] [stdout] action: Convert, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 1641.4066, [INFO] [stdout] price: 515.01, [INFO] [stdout] fair_market_value: 0.31, [INFO] [stdout] unit_price: 0.31376138, [INFO] [stdout] conversion_to: Some( [INFO] [stdout] CoinConversion { [INFO] [stdout] name: "ALGO", [INFO] [stdout] quantity: 774.76276, [INFO] [stdout] }, [INFO] [stdout] ), [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] quantity: 774.76276, [INFO] [stdout] }, [INFO] [stdout] "USDC": AssetHistory { [INFO] [stdout] name: "USDC", [INFO] [stdout] history: [ [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588102278000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 25.0, [INFO] [stdout] price: 25.0, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 1.0, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588359088000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 0.001861, [INFO] [stdout] price: 0.0, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 0.0, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588646530000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 275.0, [INFO] [stdout] price: 275.0, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 1.0, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588917091000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 5.0, [INFO] [stdout] price: 5.0, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 1.0, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1591041095000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 0.282217, [INFO] [stdout] price: 0.28, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 0.99214435, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1591295409000, [INFO] [stdout] action: Sell, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 305.28, [INFO] [stdout] price: 305.28, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 1.0, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1593642343000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "USDC", [INFO] [stdout] quantity: 0.039192, [INFO] [stdout] price: 0.04, [INFO] [stdout] fair_market_value: 1.0, [INFO] [stdout] unit_price: 1.0206164, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] quantity: 0.043281354, [INFO] [stdout] }, [INFO] [stdout] "ETH": AssetHistory { [INFO] [stdout] name: "ETH", [INFO] [stdout] history: [ [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1518592884000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "ETH", [INFO] [stdout] quantity: 0.19652577, [INFO] [stdout] price: 173.42, [INFO] [stdout] fair_market_value: 867.21, [INFO] [stdout] unit_price: 882.42883, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1584924733000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "ETH", [INFO] [stdout] quantity: 0.97630066, [INFO] [stdout] price: 125.0, [INFO] [stdout] fair_market_value: 124.97, [INFO] [stdout] unit_price: 128.03433, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1596464265000, [INFO] [stdout] action: Sell, [INFO] [stdout] asset: "ETH", [INFO] [stdout] quantity: 1.4724771, [INFO] [stdout] price: 573.32, [INFO] [stdout] fair_market_value: 395.25, [INFO] [stdout] unit_price: 389.3575, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] quantity: -0.29965067, [INFO] [stdout] }, [INFO] [stdout] "XLM": AssetHistory { [INFO] [stdout] name: "XLM", [INFO] [stdout] history: [ [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588884874000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 27.580881, [INFO] [stdout] price: 1.93, [INFO] [stdout] fair_market_value: 0.07, [INFO] [stdout] unit_price: 0.06997601, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588884988000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 27.5786, [INFO] [stdout] price: 1.93, [INFO] [stdout] fair_market_value: 0.07, [INFO] [stdout] unit_price: 0.0699818, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588885050000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 27.575937, [INFO] [stdout] price: 1.93, [INFO] [stdout] fair_market_value: 0.07, [INFO] [stdout] unit_price: 0.069988556, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588885211000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 27.573086, [INFO] [stdout] price: 1.93, [INFO] [stdout] fair_market_value: 0.07, [INFO] [stdout] unit_price: 0.06999579, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1588885338000, [INFO] [stdout] action: Income, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 27.565865, [INFO] [stdout] price: 1.93, [INFO] [stdout] fair_market_value: 0.07, [INFO] [stdout] unit_price: 0.07001413, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1596464304000, [INFO] [stdout] action: Sell, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 137.87437, [INFO] [stdout] price: 13.37, [INFO] [stdout] fair_market_value: 0.1078, [INFO] [stdout] unit_price: 0.09697233, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1611940550000, [INFO] [stdout] action: Buy, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 1641.4066, [INFO] [stdout] price: 500.04, [INFO] [stdout] fair_market_value: 0.3002, [INFO] [stdout] unit_price: 0.30464116, [INFO] [stdout] conversion_to: None, [INFO] [stdout] }, [INFO] [stdout] Transaction { [INFO] [stdout] timestamp: 1612070447000, [INFO] [stdout] action: Convert, [INFO] [stdout] asset: "XLM", [INFO] [stdout] quantity: 1641.4066, [INFO] [stdout] price: 515.01, [INFO] [stdout] fair_market_value: 0.31, [INFO] [stdout] unit_price: 0.31376138, [INFO] [stdout] conversion_to: Some( [INFO] [stdout] CoinConversion { [INFO] [stdout] name: "ALGO", [INFO] [stdout] quantity: 774.76276, [INFO] [stdout] }, [INFO] [stdout] ), [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] quantity: 0.0, [INFO] [stdout] }, [INFO] [stdout] } [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] thread 'lib_tests::test_coinbase_run' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1`, [INFO] [stdout] right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:195:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c5fa4e6a4c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55c5fa4e6a4c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c5fa4e6a4c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55c5fa4e6a4c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55c5fa50b38c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55c5fa4e29f5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55c5fa4e84a0 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55c5fa4e84a0 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55c5fa4e84a0 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55c5fa4e8086 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55c5fa4e8b54 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55c5fa4e8630 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55c5fa4e6f04 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55c5fa4e8599 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55c5fa447871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55c5fa5094de - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x55c5fa4c920a - core::panicking::assert_failed::hf76fba6751ca67db [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:144:5 [INFO] [stdout] 17: 0x55c5fa464879 - test::assert_test_result::h959c1328be436cf9 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:195:5 [INFO] [stdout] 18: 0x55c5fa466c25 - coin_tax::lib_tests::test_coinbase_run::{{closure}}::h1825c6ac0ee07bce [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:67:3 [INFO] [stdout] 19: 0x55c5fa45ea8e - core::ops::function::FnOnce::call_once::ha6e3da0fdc4ed03a [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55c5fa4a0573 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55c5fa4a0573 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x55c5fa49f187 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x55c5fa49f187 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55c5fa49f187 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55c5fa49f187 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55c5fa49f187 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55c5fa49f187 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x55c5fa49f187 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x55c5fa46c42e - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x55c5fa46c42e - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55c5fa471188 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x55c5fa471188 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55c5fa471188 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55c5fa471188 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55c5fa471188 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55c5fa471188 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x55c5fa471188 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55c5fa4ed613 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55c5fa4ed613 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55c5fa4ed613 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f71d18fc609 - start_thread [INFO] [stdout] 42: 0x7f71d16ce293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] lib_tests::test_coinbase_run [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "35c62c303c77ad3b01e6fc2344826430a4a20c405605c93b8df3169eaa2dbb09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c62c303c77ad3b01e6fc2344826430a4a20c405605c93b8df3169eaa2dbb09", kill_on_drop: false }` [INFO] [stdout] 35c62c303c77ad3b01e6fc2344826430a4a20c405605c93b8df3169eaa2dbb09