[INFO] cloning repository https://github.com/charypar/betty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charypar/betty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharypar%2Fbetty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharypar%2Fbetty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b1129bba1335651cf26d7d8a5c47b5dfd2bfc98 [INFO] testing charypar/betty against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharypar%2Fbetty" "/workspace/builds/worker-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charypar/betty on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charypar/betty [INFO] finished tweaking git repo https://github.com/charypar/betty [INFO] tweaked toml for git repo https://github.com/charypar/betty written to /workspace/builds/worker-66/source/Cargo.toml [INFO] crate git repo https://github.com/charypar/betty already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48264c5ec1bc15bc82add58205f8b0b448ed3e263987c09b83e2b1bdfbd3ab55 [INFO] running `Command { std: "docker" "start" "-a" "48264c5ec1bc15bc82add58205f8b0b448ed3e263987c09b83e2b1bdfbd3ab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48264c5ec1bc15bc82add58205f8b0b448ed3e263987c09b83e2b1bdfbd3ab55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48264c5ec1bc15bc82add58205f8b0b448ed3e263987c09b83e2b1bdfbd3ab55", kill_on_drop: false }` [INFO] [stdout] 48264c5ec1bc15bc82add58205f8b0b448ed3e263987c09b83e2b1bdfbd3ab55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc030bad75d06f45258a7a635c282001ee7dbca2d6ce88c78753094bf4f8504 [INFO] running `Command { std: "docker" "start" "-a" "1cc030bad75d06f45258a7a635c282001ee7dbca2d6ce88c78753094bf4f8504", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling iso_currency v0.4.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling iso_country v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling term-table v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.75 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.75 [INFO] [stderr] Compiling rust_decimal v1.15.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rust_decimal_macros v1.15.0 [INFO] [stderr] Compiling betty v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Compiling lab v0.1.0 (/opt/rustwide/workdir/lab) [INFO] [stdout] warning: field is never read: `volume` [INFO] [stdout] --> lab/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | volume: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PriceRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> lab/src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.46s [INFO] running `Command { std: "docker" "inspect" "1cc030bad75d06f45258a7a635c282001ee7dbca2d6ce88c78753094bf4f8504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc030bad75d06f45258a7a635c282001ee7dbca2d6ce88c78753094bf4f8504", kill_on_drop: false }` [INFO] [stdout] 1cc030bad75d06f45258a7a635c282001ee7dbca2d6ce88c78753094bf4f8504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6a9dce0bc0bbdb905cb2cb7942e7a47a4344bd7bca682bf4db19b9dfe633bff [INFO] running `Command { std: "docker" "start" "-a" "d6a9dce0bc0bbdb905cb2cb7942e7a47a4344bd7bca682bf4db19b9dfe633bff", kill_on_drop: false }` [INFO] [stderr] Compiling betty v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling lab v0.1.0 (/opt/rustwide/workdir/lab) [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: field is never read: `volume` [INFO] [stdout] --> lab/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | volume: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PriceRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> lab/src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.21s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/betty-a8f96c29cc12f8cb) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cli-776b545ddbd03961) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/lab-889960d38744b5f4) [INFO] running `Command { std: "docker" "inspect" "d6a9dce0bc0bbdb905cb2cb7942e7a47a4344bd7bca682bf4db19b9dfe633bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a9dce0bc0bbdb905cb2cb7942e7a47a4344bd7bca682bf4db19b9dfe633bff", kill_on_drop: false }` [INFO] [stdout] d6a9dce0bc0bbdb905cb2cb7942e7a47a4344bd7bca682bf4db19b9dfe633bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b284e6562e58e92845609ab9b5ebae30f79ef43b557b30222dae9ec754992402 [INFO] running `Command { std: "docker" "start" "-a" "b284e6562e58e92845609ab9b5ebae30f79ef43b557b30222dae9ec754992402", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `volume` [INFO] [stderr] --> lab/src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | volume: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PriceRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> lab/src/lib.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lab` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.72s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/betty-a8f96c29cc12f8cb) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test core::account::test::opens_a_position_based_on_a_trend ... ok [INFO] [stdout] test core::account::test::rejects_an_order_with_duplicate_position_id ... ok [INFO] [stdout] test core::account::test::rejects_orders_for_closed_positions ... ok [INFO] [stdout] test core::account::test::logs_a_price_update ... ok [INFO] [stdout] test core::account::test::triggers_a_stop ... ok [INFO] [stdout] test core::account::test::closes_a_position_based_on_a_trend_ending ... ok [INFO] [stdout] test core::account::test::reverses_a_positon_based_on_tred_reversal ... ok [INFO] [stdout] test core::market::test::validates_an_ok_trade ... ok [INFO] [stdout] test core::price::test::adds_minutes_to_date ... ok [INFO] [stdout] test core::account::test::logs_a_closed_trade_for_a_pair_of_orders ... ok [INFO] [stdout] test core::maths::tests::single_value_ema ... ok [INFO] [stdout] test core::account::test::does_not_allow_to_log_a_close_order_without_matching_open ... ok [INFO] [stdout] test core::account::test::logs_three_trades_for_five_orders ... ok [INFO] [stdout] test core::price::test::adds_months_to_date ... ok [INFO] [stdout] test core::maths::tests::empty_value_ema ... ok [INFO] [stdout] test core::market::test::rejects_entry_below_minimum_deal_size ... ok [INFO] [stdout] test core::market::test::rejects_entry_with_insufficient_margin ... ok [INFO] [stdout] test core::maths::tests::ema_of_a_step_change ... ok [INFO] [stdout] test core::price::test::adds_hours_to_date ... ok [INFO] [stdout] test core::price::test::adds_days_to_date ... ok [INFO] [stdout] test core::account::test::logs_an_open_trade_for_a_single_order ... ok [INFO] [stdout] test core::maths::tests::ema_of_a_constant ... ok [INFO] [stdout] test core::strategy::test::calculates_entry ... ok [INFO] [stdout] test core::account::test::gives_an_empty_trade_log_for_no_orders ... ok [INFO] [stdout] test core::price::test::adds_weeks_to_date ... ok [INFO] [stdout] test strategies::donchian::test::sets_stop_based_on_recent_history ... ok [INFO] [stdout] test core::market::test::rejects_entry_with_stop_too_close ... ok [INFO] [stdout] test strategies::macd::tests::calculates_samples_needed ... ok [INFO] [stdout] test core::price::test::adds_seconds_to_date ... ok [INFO] [stdout] test core::price::test::makes_price_from_mid_market_and_spread ... ok [INFO] [stdout] test strategies::donchian::test::calculates_basic_channel_limits ... ok [INFO] [stdout] test strategies::donchian::test::rejects_entry_without_enough_history ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cli-776b545ddbd03961) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lab-889960d38744b5f4) [INFO] [stdout] [INFO] [stderr] Doc-tests betty [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b284e6562e58e92845609ab9b5ebae30f79ef43b557b30222dae9ec754992402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b284e6562e58e92845609ab9b5ebae30f79ef43b557b30222dae9ec754992402", kill_on_drop: false }` [INFO] [stdout] b284e6562e58e92845609ab9b5ebae30f79ef43b557b30222dae9ec754992402