[INFO] cloning repository https://github.com/starsoccer/cryptotithe-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starsoccer/cryptotithe-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarsoccer%2Fcryptotithe-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarsoccer%2Fcryptotithe-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05a549d555dbe02c49b6f27d4b808e1eb3f1353c [INFO] testing starsoccer/cryptotithe-rs against 1.85.0 for beta-1.86-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarsoccer%2Fcryptotithe-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/starsoccer/cryptotithe-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/starsoccer/cryptotithe-rs [INFO] finished tweaking git repo https://github.com/starsoccer/cryptotithe-rs [INFO] tweaked toml for git repo https://github.com/starsoccer/cryptotithe-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/starsoccer/cryptotithe-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.20.0 [INFO] [stderr] Downloaded strum_macros v0.20.1 [INFO] [stderr] Downloaded rust_decimal_macros v1.10.3 [INFO] [stderr] Downloaded derive_arbitrary v1.0.0 [INFO] [stderr] Downloaded arbitrary v1.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] [stderr] Downloaded rust_decimal v1.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab5d35fcdbce048e39698ea4ce81a48bba643365dabd155686d0db85684a3b13 [INFO] running `Command { std: "docker" "start" "-a" "ab5d35fcdbce048e39698ea4ce81a48bba643365dabd155686d0db85684a3b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab5d35fcdbce048e39698ea4ce81a48bba643365dabd155686d0db85684a3b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5d35fcdbce048e39698ea4ce81a48bba643365dabd155686d0db85684a3b13", kill_on_drop: false }` [INFO] [stdout] ab5d35fcdbce048e39698ea4ce81a48bba643365dabd155686d0db85684a3b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28808edf9bf04beb4ec2e186f4b4104eeb4e47f56a0ee96e9b61bd2e2ddf4151 [INFO] running `Command { std: "docker" "start" "-a" "28808edf9bf04beb4ec2e186f4b4104eeb4e47f56a0ee96e9b61bd2e2ddf4151", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [INFO] [stderr] Compiling derive_arbitrary v1.0.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Compiling arbitrary v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Compiling rust_decimal v1.10.3 [INFO] [stderr] Compiling rust_decimal_macros v1.10.3 [INFO] [stderr] Compiling js-sys v0.3.48 [INFO] [stderr] Compiling web-sys v0.3.48 [INFO] [stderr] Compiling cryptotithe v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `add_to_currency_holdings::*` [INFO] [stdout] --> src/holding/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub use {add_to_currency_holdings::*, process_trade::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "28808edf9bf04beb4ec2e186f4b4104eeb4e47f56a0ee96e9b61bd2e2ddf4151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28808edf9bf04beb4ec2e186f4b4104eeb4e47f56a0ee96e9b61bd2e2ddf4151", kill_on_drop: false }` [INFO] [stdout] 28808edf9bf04beb4ec2e186f4b4104eeb4e47f56a0ee96e9b61bd2e2ddf4151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f413cdd32d430bce270e3fb3468935a94bb01dd6721fd51fca76a9e5ca06dc5 [INFO] running `Command { std: "docker" "start" "-a" "1f413cdd32d430bce270e3fb3468935a94bb01dd6721fd51fca76a9e5ca06dc5", kill_on_drop: false }` [INFO] [stderr] Compiling cryptotithe v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `add_to_currency_holdings::*` [INFO] [stdout] --> src/holding/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub use {add_to_currency_holdings::*, process_trade::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "1f413cdd32d430bce270e3fb3468935a94bb01dd6721fd51fca76a9e5ca06dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f413cdd32d430bce270e3fb3468935a94bb01dd6721fd51fca76a9e5ca06dc5", kill_on_drop: false }` [INFO] [stdout] 1f413cdd32d430bce270e3fb3468935a94bb01dd6721fd51fca76a9e5ca06dc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8d30174beba42d86cabce7ac47346c60ecd7a1b354a7fd019e1f0edb4f12677 [INFO] running `Command { std: "docker" "start" "-a" "e8d30174beba42d86cabce7ac47346c60ecd7a1b354a7fd019e1f0edb4f12677", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `add_to_currency_holdings::*` [INFO] [stderr] --> src/holding/mod.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub use {add_to_currency_holdings::*, process_trade::*}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cryptotithe` (lib test) generated 1 warning (run `cargo fix --lib -p cryptotithe --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptotithe-dc5086c070dac24e) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_short_term_overflow ... ok [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_long_term_overflow ... ok [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_short_term_no_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_multiple_trade_long_term_no_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_multiple_trade_long_term_overflow ... ok [INFO] [stdout] test calculate_gain_per_holdings::tests::calculate_gain_per_trade_identical_to_calculate_gains ... ok [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_long_term_no_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_multiple_trade_short_term_no_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_multiple_trade_short_term_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_long_term_no_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_long_term_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_short_term_no_overflow ... ok [INFO] [stdout] test holding::add_to_currency_holdings::tests::add_to_existing_curreny_holding ... ok [INFO] [stdout] test holding::process_trade::tests::short_term_trade_multiple_holdings ... ok [INFO] [stdout] test holding::process_trade::tests::short_long_term_trade_multiple_holdings ... ok [INFO] [stdout] test holding::process_trade::tests::long_term_trade_single_holdings ... ok [INFO] [stdout] test holding::process_trade::tests::long_term_trade_multiple_holdings ... ok [INFO] [stdout] test holding::process_trade::tests::short_term_trade_single_holdings ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_fifo ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_htfo_short_and_long_term ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_htfo_long_term ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_htfo_short_term ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_lcfo ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_ltfo_long_term ... ok [INFO] [stdout] test holding_selection::tests::empty_holding ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_ltfo_short_and_long_term ... ok [INFO] [stdout] test holding_selection::tests::single_holding ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_ltfo_short_term ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_lifo ... ok [INFO] [stdout] test holding_selection::tests::multiple_holding ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_short_term_overflow ... ok [INFO] [stdout] test holding::add_to_currency_holdings::tests::add_new_curreny_holding ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_hcfo ... ok [INFO] [stdout] test calculate_gain_per_trade::tests::calculate_gain_per_trade_identical_to_calculate_gains ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e8d30174beba42d86cabce7ac47346c60ecd7a1b354a7fd019e1f0edb4f12677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d30174beba42d86cabce7ac47346c60ecd7a1b354a7fd019e1f0edb4f12677", kill_on_drop: false }` [INFO] [stdout] e8d30174beba42d86cabce7ac47346c60ecd7a1b354a7fd019e1f0edb4f12677