[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#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsackopotatoes%2Fcoin_tax" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sackopotatoes/coin_tax on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-13/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3fa661921397e83cb691ddc1a9df05c25c3c43849e20e2b6f43840542068e0a0 [INFO] running `Command { std: "docker" "start" "-a" "3fa661921397e83cb691ddc1a9df05c25c3c43849e20e2b6f43840542068e0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fa661921397e83cb691ddc1a9df05c25c3c43849e20e2b6f43840542068e0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa661921397e83cb691ddc1a9df05c25c3c43849e20e2b6f43840542068e0a0", kill_on_drop: false }` [INFO] [stdout] 3fa661921397e83cb691ddc1a9df05c25c3c43849e20e2b6f43840542068e0a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eefb48d7d5f94d3c1698d0ea8b026012bd80f0c187d4ae8ed809f95cc2a8be9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3eefb48d7d5f94d3c1698d0ea8b026012bd80f0c187d4ae8ed809f95cc2a8be9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [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 46.18s [INFO] running `Command { std: "docker" "inspect" "3eefb48d7d5f94d3c1698d0ea8b026012bd80f0c187d4ae8ed809f95cc2a8be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eefb48d7d5f94d3c1698d0ea8b026012bd80f0c187d4ae8ed809f95cc2a8be9", kill_on_drop: false }` [INFO] [stdout] 3eefb48d7d5f94d3c1698d0ea8b026012bd80f0c187d4ae8ed809f95cc2a8be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bc84b7b76f89344f7c3f7d9fdaa538fee09fe3bb671cf68f4321c16edfc3487 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bc84b7b76f89344f7c3f7d9fdaa538fee09fe3bb671cf68f4321c16edfc3487", 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.70s [INFO] running `Command { std: "docker" "inspect" "7bc84b7b76f89344f7c3f7d9fdaa538fee09fe3bb671cf68f4321c16edfc3487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc84b7b76f89344f7c3f7d9fdaa538fee09fe3bb671cf68f4321c16edfc3487", kill_on_drop: false }` [INFO] [stdout] 7bc84b7b76f89344f7c3f7d9fdaa538fee09fe3bb671cf68f4321c16edfc3487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 382564c717007df50650f8faedc95eb0247f42c21373ce447569f7e404d111e1 [INFO] running `Command { std: "docker" "start" "-a" "382564c717007df50650f8faedc95eb0247f42c21373ce447569f7e404d111e1", 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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/coin_tax-1a644f6ff943226b) [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 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_fair_market_value_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_create_transaction_from_line ... ok [INFO] [stdout] test transaction::tests::test_split_csv_line ... ok [INFO] [stdout] test transaction::tests::test_get_quantity_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_conversion_to_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_price_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_get_timestamp_by_exchange ... ok [INFO] [stdout] test transaction::tests::test_split_string ... ok [INFO] [stdout] test portfolio::lib_tests::test_asset_history_push_into_history ... 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] "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] "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] "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] "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] } [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/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:195:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55890ae6cb7c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55890ae6cb7c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55890ae6cb7c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55890ae6cb7c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55890ae9151c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55890ae68ab5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55890ae6e5d0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55890ae6e5d0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55890ae6e5d0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55890ae6e1b6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55890ae6ec84 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55890ae6e760 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55890ae6d034 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55890ae6e6c9 - rust_begin_unwind [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55890adcd871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55890ae8f66e - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x55890ae4f16a - core::panicking::assert_failed::hf76fba6751ca67db [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x55890adea879 - test::assert_test_result::h1dd7f03e7017b1e6 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:195:5 [INFO] [stdout] 18: 0x55890adecc25 - coin_tax::lib_tests::test_coinbase_run::{{closure}}::hef420cb6d6a664af [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:67:3 [INFO] [stdout] 19: 0x55890ade4a0e - core::ops::function::FnOnce::call_once::ha6e3da0fdc4ed03a [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55890ae26553 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55890ae26553 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x55890ae250e7 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x55890ae250e7 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55890ae250e7 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55890ae250e7 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55890ae250e7 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55890ae250e7 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x55890ae250e7 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x55890adf242e - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x55890adf242e - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55890adf7258 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x55890adf7258 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55890adf7258 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55890adf7258 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55890adf7258 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55890adf7258 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x55890adf7258 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55890ae73743 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55890ae73743 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55890ae73743 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f582a490609 - start_thread [INFO] [stdout] 42: 0x7f582a262293 - 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.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "382564c717007df50650f8faedc95eb0247f42c21373ce447569f7e404d111e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382564c717007df50650f8faedc95eb0247f42c21373ce447569f7e404d111e1", kill_on_drop: false }` [INFO] [stdout] 382564c717007df50650f8faedc95eb0247f42c21373ce447569f7e404d111e1