[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 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharypar%2Fbetty" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charypar/betty 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/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-0-tc1/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: 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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 iso_currency v0.4.1 [INFO] [stderr] Downloaded rust_decimal_macros v1.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9d13d512c1b572868f1188ca1a426683d01154f17a6b2447dd3501a20c11d024 [INFO] running `Command { std: "docker" "start" "-a" "9d13d512c1b572868f1188ca1a426683d01154f17a6b2447dd3501a20c11d024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d13d512c1b572868f1188ca1a426683d01154f17a6b2447dd3501a20c11d024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d13d512c1b572868f1188ca1a426683d01154f17a6b2447dd3501a20c11d024", kill_on_drop: false }` [INFO] [stdout] 9d13d512c1b572868f1188ca1a426683d01154f17a6b2447dd3501a20c11d024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9502434ddbd0f29deee4fea9f8b380c614b9ff8d44e8ac15235d6af3e02e3f34 [INFO] running `Command { std: "docker" "start" "-a" "9502434ddbd0f29deee4fea9f8b380c614b9ff8d44e8ac15235d6af3e02e3f34", 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 autocfg v1.0.1 [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 ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling iso_currency v0.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling iso_country v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.75 [INFO] [stderr] Compiling term-table v1.3.1 [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 `volume` is never read [INFO] [stdout] --> lab/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PriceRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | volume: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.75 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9502434ddbd0f29deee4fea9f8b380c614b9ff8d44e8ac15235d6af3e02e3f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9502434ddbd0f29deee4fea9f8b380c614b9ff8d44e8ac15235d6af3e02e3f34", kill_on_drop: false }` [INFO] [stdout] 9502434ddbd0f29deee4fea9f8b380c614b9ff8d44e8ac15235d6af3e02e3f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4449eb247205e2004674a5516737f76dc84fdaa780e38e344ec9144b03592e0a [INFO] running `Command { std: "docker" "start" "-a" "4449eb247205e2004674a5516737f76dc84fdaa780e38e344ec9144b03592e0a", 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 `volume` is never read [INFO] [stdout] --> lab/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct PriceRecord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | volume: Decimal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.75 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4449eb247205e2004674a5516737f76dc84fdaa780e38e344ec9144b03592e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4449eb247205e2004674a5516737f76dc84fdaa780e38e344ec9144b03592e0a", kill_on_drop: false }` [INFO] [stdout] 4449eb247205e2004674a5516737f76dc84fdaa780e38e344ec9144b03592e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f09b5200642892c2badcb40a114ede54dc6daae08c0562fe003e7d0b4aab0971 [INFO] running `Command { std: "docker" "start" "-a" "f09b5200642892c2badcb40a114ede54dc6daae08c0562fe003e7d0b4aab0971", kill_on_drop: false }` [INFO] [stderr] warning: field `volume` is never read [INFO] [stderr] --> lab/src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct PriceRecord { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | volume: Decimal, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PriceRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `lab` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.75 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/betty-db0dc8befe351d7b) [INFO] [stdout] [INFO] [stdout] running 32 tests [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::closes_a_position_based_on_a_trend_ending ... 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_a_closed_trade_for_a_pair_of_orders ... ok [INFO] [stdout] test core::account::test::logs_three_trades_for_five_orders ... ok [INFO] [stdout] test core::account::test::logs_a_price_update ... ok [INFO] [stdout] test core::account::test::opens_a_position_based_on_a_trend ... ok [INFO] [stdout] test core::account::test::reverses_a_positon_based_on_tred_reversal ... ok [INFO] [stdout] test core::account::test::triggers_a_stop ... 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::market::test::rejects_entry_with_stop_too_close ... 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::empty_value_ema ... ok [INFO] [stdout] test core::price::test::adds_minutes_to_date ... ok [INFO] [stdout] test core::maths::tests::single_value_ema ... ok [INFO] [stdout] test core::price::test::adds_months_to_date ... 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::price::test::adds_weeks_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] test strategies::donchian::test::sets_stop_based_on_recent_history ... ok [INFO] [stdout] test core::maths::tests::ema_of_a_step_change ... ok [INFO] [stdout] test core::price::test::adds_seconds_to_date ... ok [INFO] [stdout] test core::strategy::test::calculates_entry ... 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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cli-3c39636657ce7e76) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lab-575415dd2030ce3c) [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] running `Command { std: "docker" "inspect" "f09b5200642892c2badcb40a114ede54dc6daae08c0562fe003e7d0b4aab0971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09b5200642892c2badcb40a114ede54dc6daae08c0562fe003e7d0b4aab0971", kill_on_drop: false }` [INFO] [stdout] f09b5200642892c2badcb40a114ede54dc6daae08c0562fe003e7d0b4aab0971