[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#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsackopotatoes%2Fcoin_tax" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sackopotatoes/coin_tax on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79bd79216a7d15fe4cd4bc0321a1d3206a7623f59cc67faaade5701f27f5ce50 [INFO] running `Command { std: "docker" "start" "-a" "79bd79216a7d15fe4cd4bc0321a1d3206a7623f59cc67faaade5701f27f5ce50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79bd79216a7d15fe4cd4bc0321a1d3206a7623f59cc67faaade5701f27f5ce50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79bd79216a7d15fe4cd4bc0321a1d3206a7623f59cc67faaade5701f27f5ce50", kill_on_drop: false }` [INFO] [stdout] 79bd79216a7d15fe4cd4bc0321a1d3206a7623f59cc67faaade5701f27f5ce50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c62ab8c8b78a1f06740e3467b3d025cbf2c6c3b5826c6a21cbd3e3256a91e78 [INFO] running `Command { std: "docker" "start" "-a" "4c62ab8c8b78a1f06740e3467b3d025cbf2c6c3b5826c6a21cbd3e3256a91e78", 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-width v0.1.8 [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 quote v1.0.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [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 15.71s [INFO] running `Command { std: "docker" "inspect" "4c62ab8c8b78a1f06740e3467b3d025cbf2c6c3b5826c6a21cbd3e3256a91e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c62ab8c8b78a1f06740e3467b3d025cbf2c6c3b5826c6a21cbd3e3256a91e78", kill_on_drop: false }` [INFO] [stdout] 4c62ab8c8b78a1f06740e3467b3d025cbf2c6c3b5826c6a21cbd3e3256a91e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c9e86175b006289c0ed5e1887a6a4bf4068e96189e74f24edcff4f01b21aec0 [INFO] running `Command { std: "docker" "start" "-a" "4c9e86175b006289c0ed5e1887a6a4bf4068e96189e74f24edcff4f01b21aec0", 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 1.50s [INFO] running `Command { std: "docker" "inspect" "4c9e86175b006289c0ed5e1887a6a4bf4068e96189e74f24edcff4f01b21aec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c9e86175b006289c0ed5e1887a6a4bf4068e96189e74f24edcff4f01b21aec0", kill_on_drop: false }` [INFO] [stdout] 4c9e86175b006289c0ed5e1887a6a4bf4068e96189e74f24edcff4f01b21aec0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40c5bf8ff427f0bdc713cdb2ded0dfa4cbec4e2bcec54019e1dd5d0504f50895 [INFO] running `Command { std: "docker" "start" "-a" "40c5bf8ff427f0bdc713cdb2ded0dfa4cbec4e2bcec54019e1dd5d0504f50895", 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: 1 warning emitted [INFO] [stderr] [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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/coin_tax-fe6c1b97c124fd50) [INFO] [stdout] running 14 tests [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_fair_market_value_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_price_by_exchange ... 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_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 transaction::tests::test_get_asset_by_exchange ... ok [INFO] [stdout] test portfolio::lib_tests::test_add_new_asset_to_portfolio ... 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] "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] "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] "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] "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] } [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/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:193:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561873cf9830 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x561873cf9830 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x561873cf9830 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x561873cf9830 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x561873d1dd0c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x561873cf68a5 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x561873cfb99b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x561873cfb99b - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x561873cfb99b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x561873cfb4ac - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x561873cfc064 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x561873cfbb47 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x561873cf9d2c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x561873cfbaa9 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x561873c5d641 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x561873d1bbfe - core::panicking::assert_failed_inner::h6ded2444c01d76f2 [INFO] [stdout] 16: 0x561873ce2a9a - core::panicking::assert_failed::hce60573465123b64 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x561873c7d919 - test::assert_test_result::hb25f6802a98a433e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:193:5 [INFO] [stdout] 18: 0x561873c83375 - coin_tax::lib_tests::test_coinbase_run::{{closure}}::hfeab034bf8b9bb4f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:67:3 [INFO] [stdout] 19: 0x561873c7c8fe - core::ops::function::FnOnce::call_once::h3ed5d0bd6a4afbf6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x561873cad723 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x561873cad723 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x561873cac1b0 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x561873cac1b0 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x561873cac1b0 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x561873cac1b0 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x561873cac1b0 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x561873cac1b0 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x561873cac1b0 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x561873c85772 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x561873c85772 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x561873c893c8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x561873c893c8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x561873c893c8 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x561873c893c8 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x561873c893c8 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x561873c893c8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x561873c893c8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x561873d00c27 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x561873d00c27 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x561873d00c27 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 41: 0x7f016dc6a609 - start_thread [INFO] [stdout] 42: 0x7f016da3c293 - 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" "40c5bf8ff427f0bdc713cdb2ded0dfa4cbec4e2bcec54019e1dd5d0504f50895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c5bf8ff427f0bdc713cdb2ded0dfa4cbec4e2bcec54019e1dd5d0504f50895", kill_on_drop: false }` [INFO] [stdout] 40c5bf8ff427f0bdc713cdb2ded0dfa4cbec4e2bcec54019e1dd5d0504f50895