[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharypar%2Fbetty" "/workspace/builds/worker-93/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-93/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charypar/betty on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-93/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-02-22" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term-table v1.3.1 [INFO] [stderr] Downloaded rust_decimal_macros v1.15.0 [INFO] [stderr] Downloaded iso_country v0.1.4 [INFO] [stderr] Downloaded iso_currency v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db69e0907b22f62e4fc1317464ad27f755eb352ef931af470539dcb8adead20f [INFO] running `Command { std: "docker" "start" "-a" "db69e0907b22f62e4fc1317464ad27f755eb352ef931af470539dcb8adead20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db69e0907b22f62e4fc1317464ad27f755eb352ef931af470539dcb8adead20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db69e0907b22f62e4fc1317464ad27f755eb352ef931af470539dcb8adead20f", kill_on_drop: false }` [INFO] [stdout] db69e0907b22f62e4fc1317464ad27f755eb352ef931af470539dcb8adead20f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a409fe4bb44548a3208979303ab09a8bf1b42a6437b8b36cae611bee7853d3b [INFO] running `Command { std: "docker" "start" "-a" "8a409fe4bb44548a3208979303ab09a8bf1b42a6437b8b36cae611bee7853d3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 ryu v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling iso_currency v0.4.1 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling regex-syntax v0.6.25 [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 iso_country v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [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 19.59s [INFO] running `Command { std: "docker" "inspect" "8a409fe4bb44548a3208979303ab09a8bf1b42a6437b8b36cae611bee7853d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a409fe4bb44548a3208979303ab09a8bf1b42a6437b8b36cae611bee7853d3b", kill_on_drop: false }` [INFO] [stdout] 8a409fe4bb44548a3208979303ab09a8bf1b42a6437b8b36cae611bee7853d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334f51e44c3986457d1e4736bc7ad6e56d3a78dbbc9c823ade1791c8733f328e [INFO] running `Command { std: "docker" "start" "-a" "334f51e44c3986457d1e4736bc7ad6e56d3a78dbbc9c823ade1791c8733f328e", kill_on_drop: false }` [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 test [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "334f51e44c3986457d1e4736bc7ad6e56d3a78dbbc9c823ade1791c8733f328e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334f51e44c3986457d1e4736bc7ad6e56d3a78dbbc9c823ade1791c8733f328e", kill_on_drop: false }` [INFO] [stdout] 334f51e44c3986457d1e4736bc7ad6e56d3a78dbbc9c823ade1791c8733f328e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e41708a8cb74c3db236578cdd3565afad57959c1409c4dc4f2cc4a8ff9334092 [INFO] running `Command { std: "docker" "start" "-a" "e41708a8cb74c3db236578cdd3565afad57959c1409c4dc4f2cc4a8ff9334092", kill_on_drop: false }` [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 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/betty-a8f96c29cc12f8cb) [INFO] [stdout] running 32 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cli-776b545ddbd03961) [INFO] [stdout] test core::account::test::closes_a_position_based_on_a_trend_ending ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lab-889960d38744b5f4) [INFO] [stdout] test core::account::test::does_not_allow_to_log_a_close_order_without_matching_open ... ok [INFO] [stdout] test core::account::test::opens_a_position_based_on_a_trend ... ok [INFO] [stdout] test core::account::test::gives_an_empty_trade_log_for_no_orders ... ok [INFO] [stdout] test core::account::test::logs_an_open_trade_for_a_single_order ... 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::triggers_a_stop ... ok [INFO] [stdout] test core::market::test::rejects_entry_with_insufficient_margin ... ok [INFO] [stdout] test core::market::test::validates_an_ok_trade ... ok [INFO] [stdout] test core::maths::tests::ema_of_a_constant ... ok [INFO] [stdout] test core::maths::tests::single_value_ema ... ok [INFO] [stdout] test core::price::test::adds_days_to_date ... ok [INFO] [stdout] test core::account::test::logs_a_price_update ... ok [INFO] [stdout] test core::account::test::logs_a_closed_trade_for_a_pair_of_orders ... ok [INFO] [stdout] test core::market::test::rejects_entry_below_minimum_deal_size ... ok [INFO] [stdout] test core::maths::tests::empty_value_ema ... ok [INFO] [stdout] test core::price::test::adds_hours_to_date ... ok [INFO] [stdout] test core::price::test::adds_months_to_date ... ok [INFO] [stdout] test core::maths::tests::ema_of_a_step_change ... ok [INFO] [stdout] test core::market::test::rejects_entry_with_stop_too_close ... ok [INFO] [stdout] test core::account::test::logs_three_trades_for_five_orders ... ok [INFO] [stdout] test core::price::test::adds_minutes_to_date ... ok [INFO] [stdout] test core::account::test::reverses_a_positon_based_on_tred_reversal ... ok [INFO] [stdout] test core::price::test::adds_seconds_to_date ... ok [INFO] [stdout] test core::price::test::adds_weeks_to_date ... ok [INFO] [stdout] test core::price::test::makes_price_from_mid_market_and_spread ... ok [INFO] [stdout] test core::strategy::test::calculates_entry ... 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] test strategies::donchian::test::sets_stop_based_on_recent_history ... ok [INFO] [stdout] test strategies::macd::tests::calculates_samples_needed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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] [stderr] Doc-tests betty [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" "e41708a8cb74c3db236578cdd3565afad57959c1409c4dc4f2cc4a8ff9334092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41708a8cb74c3db236578cdd3565afad57959c1409c4dc4f2cc4a8ff9334092", kill_on_drop: false }` [INFO] [stdout] e41708a8cb74c3db236578cdd3565afad57959c1409c4dc4f2cc4a8ff9334092