[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 master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsackopotatoes%2Fcoin_tax" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sackopotatoes/coin_tax on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-8/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dd5c10b6264d5b7f6e0821a08a944ed77b325275e05d365e25b7572a9480652 [INFO] running `Command { std: "docker" "start" "-a" "7dd5c10b6264d5b7f6e0821a08a944ed77b325275e05d365e25b7572a9480652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dd5c10b6264d5b7f6e0821a08a944ed77b325275e05d365e25b7572a9480652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd5c10b6264d5b7f6e0821a08a944ed77b325275e05d365e25b7572a9480652", kill_on_drop: false }` [INFO] [stdout] 7dd5c10b6264d5b7f6e0821a08a944ed77b325275e05d365e25b7572a9480652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 752b2953c035667bcb10216186b78f72a6c470ad7583c1998f512c71252eb5fc [INFO] running `Command { std: "docker" "start" "-a" "752b2953c035667bcb10216186b78f72a6c470ad7583c1998f512c71252eb5fc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 46.00s [INFO] running `Command { std: "docker" "inspect" "752b2953c035667bcb10216186b78f72a6c470ad7583c1998f512c71252eb5fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "752b2953c035667bcb10216186b78f72a6c470ad7583c1998f512c71252eb5fc", kill_on_drop: false }` [INFO] [stdout] 752b2953c035667bcb10216186b78f72a6c470ad7583c1998f512c71252eb5fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b9261d8200197caff5bd806a0538a26d223fecdee20f452c2de1a63a5a235c8 [INFO] running `Command { std: "docker" "start" "-a" "3b9261d8200197caff5bd806a0538a26d223fecdee20f452c2de1a63a5a235c8", kill_on_drop: false }` [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 2.79s [INFO] running `Command { std: "docker" "inspect" "3b9261d8200197caff5bd806a0538a26d223fecdee20f452c2de1a63a5a235c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b9261d8200197caff5bd806a0538a26d223fecdee20f452c2de1a63a5a235c8", kill_on_drop: false }` [INFO] [stdout] 3b9261d8200197caff5bd806a0538a26d223fecdee20f452c2de1a63a5a235c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9bb66f969d2c350b9a13214440a949c83299838f79b2c026cb9e4e90844be4e0 [INFO] running `Command { std: "docker" "start" "-a" "9bb66f969d2c350b9a13214440a949c83299838f79b2c026cb9e4e90844be4e0", 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.03s [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/coin_tax-fe6c1b97c124fd50) [INFO] [stdout] test portfolio::lib_tests::test_asset_history_push_into_history ... ok [INFO] [stdout] test transaction::tests::test_get_conversion_to_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_quantity_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_asset_by_exchange ... ok [INFO] [stdout] test portfolio::lib_tests::test_add_new_asset_to_portfolio ... ok [INFO] [stdout] test transaction::tests::test_get_action_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_create_transaction_from_line ... ok [INFO] [stdout] test transaction::tests::test_get_timestamp_by_exchange ... ok [INFO] [stdout] test portfolio::lib_tests::test_add_transaction_to_asset ... ok [INFO] [stdout] test transaction::tests::test_split_csv_line ... ok [INFO] [stdout] test transaction::tests::test_split_string ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [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] "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] "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] "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] "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] "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] } [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/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:194:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f4583482e0 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55f4583482e0 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f4583482e0 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f4583482e0 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f45836c4dc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55f458345245 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55f45834a45b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f45834a45b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f45834a45b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55f458349f6c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55f45834ab24 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55f45834a607 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55f4583487bc - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55f45834a569 - rust_begin_unwind [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55f4582b13b1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55f45836a3ce - core::panicking::assert_failed_inner::h6ded2444c01d76f2 [INFO] [stdout] 16: 0x55f45833164a - core::panicking::assert_failed::hce60573465123b64 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x55f4582cf1d9 - test::assert_test_result::h78551139f7dcbc04 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:194:5 [INFO] [stdout] 18: 0x55f4582d0c75 - coin_tax::lib_tests::test_coinbase_run::{{closure}}::ha0cff492b51c5bf3 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:67:3 [INFO] [stdout] 19: 0x55f4582cdd5e - core::ops::function::FnOnce::call_once::h3ed5d0bd6a4afbf6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f4583094b3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55f4583094b3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x55f458307f28 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55f458307f28 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55f458307f28 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55f458307f28 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55f458307f28 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55f458307f28 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x55f458307f28 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x55f4582d66ad - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x55f4582d66ad - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55f4582dadd8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55f4582dadd8 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55f4582dadd8 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55f4582dadd8 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55f4582dadd8 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55f4582dadd8 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55f4582dadd8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55f45834f6c7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55f45834f6c7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55f45834f6c7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 41: 0x7f7779870609 - start_thread [INFO] [stdout] 42: 0x7f7779642293 - 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.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9bb66f969d2c350b9a13214440a949c83299838f79b2c026cb9e4e90844be4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bb66f969d2c350b9a13214440a949c83299838f79b2c026cb9e4e90844be4e0", kill_on_drop: false }` [INFO] [stdout] 9bb66f969d2c350b9a13214440a949c83299838f79b2c026cb9e4e90844be4e0