[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarsoccer%2Fcryptotithe-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/starsoccer/cryptotithe-rs 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/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-2/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: "/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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 2511a3090c60f2d3757420834a6cd9ec0115cc969236a12722dce19d48784cad [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" "2511a3090c60f2d3757420834a6cd9ec0115cc969236a12722dce19d48784cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2511a3090c60f2d3757420834a6cd9ec0115cc969236a12722dce19d48784cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2511a3090c60f2d3757420834a6cd9ec0115cc969236a12722dce19d48784cad", kill_on_drop: false }` [INFO] [stdout] 2511a3090c60f2d3757420834a6cd9ec0115cc969236a12722dce19d48784cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 82358dc54a31ac79118fe794f24807d9b327a11699e9e07be6cf843d70ce9748 [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" "82358dc54a31ac79118fe794f24807d9b327a11699e9e07be6cf843d70ce9748", 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] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [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 wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling derive_arbitrary v1.0.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Compiling arbitrary v1.0.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_json v1.0.64 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "82358dc54a31ac79118fe794f24807d9b327a11699e9e07be6cf843d70ce9748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82358dc54a31ac79118fe794f24807d9b327a11699e9e07be6cf843d70ce9748", kill_on_drop: false }` [INFO] [stdout] 82358dc54a31ac79118fe794f24807d9b327a11699e9e07be6cf843d70ce9748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] aa7262a9ec5d1063ff132501cf03805feefe4f61c5d324f11360fe88ed1aa212 [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" "aa7262a9ec5d1063ff132501cf03805feefe4f61c5d324f11360fe88ed1aa212", kill_on_drop: false }` [INFO] [stderr] Compiling cryptotithe v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.76s [INFO] running `Command { std: "docker" "inspect" "aa7262a9ec5d1063ff132501cf03805feefe4f61c5d324f11360fe88ed1aa212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7262a9ec5d1063ff132501cf03805feefe4f61c5d324f11360fe88ed1aa212", kill_on_drop: false }` [INFO] [stdout] aa7262a9ec5d1063ff132501cf03805feefe4f61c5d324f11360fe88ed1aa212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 877d6ab485fa25e8bca3f0afeabe31886462c1a0aca0cf9400eb96fa0788de77 [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" "877d6ab485fa25e8bca3f0afeabe31886462c1a0aca0cf9400eb96fa0788de77", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cryptotithe-8fcff45fba2f8483) [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_short_term_no_overflow ... ok [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_long_term_overflow ... ok [INFO] [stdout] test calculate_gain_per_trade::tests::calculate_gain_per_trade_identical_to_calculate_gains ... ok [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_short_term_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_gains::tests::single_holding_multiple_trade_short_term_no_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::single_holding_multiple_trade_short_term_overflow ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_short_term_no_overflow ... ok [INFO] [stdout] test holding::process_trade::tests::short_long_term_trade_multiple_holdings ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_long_term_no_overflow ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_fifo ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_short_term_overflow ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_ltfo_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_lcfo ... ok [INFO] [stdout] test holding::process_trade::tests::long_term_trade_multiple_holdings ... ok [INFO] [stdout] test holding_selection::tests::empty_holding ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_lifo ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_htfo_short_term ... ok [INFO] [stdout] test calculate_gains::tests::single_holding_single_trade_long_term_overflow ... ok [INFO] [stdout] test holding::add_to_currency_holdings::tests::add_to_existing_curreny_holding ... ok [INFO] [stdout] test holding_selection::tests::multiple_holding ... ok [INFO] [stdout] test holding_selection::get_currency_holding::tests::get_currency_holding_ltfo_short_term ... ok [INFO] [stdout] test holding::add_to_currency_holdings::tests::add_new_curreny_holding ... ok [INFO] [stdout] test holding_selection::tests::single_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::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_hcfo ... ok [INFO] [stdout] test holding::process_trade::tests::long_term_trade_single_holdings ... ok [INFO] [stdout] test holding::process_trade::tests::short_term_trade_single_holdings ... ok [INFO] [stdout] test calculate_gains::tests::multiple_holding_single_trade_long_term_no_overflow ... ok [INFO] [stdout] test holding::process_trade::tests::short_term_trade_multiple_holdings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "877d6ab485fa25e8bca3f0afeabe31886462c1a0aca0cf9400eb96fa0788de77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877d6ab485fa25e8bca3f0afeabe31886462c1a0aca0cf9400eb96fa0788de77", kill_on_drop: false }` [INFO] [stdout] 877d6ab485fa25e8bca3f0afeabe31886462c1a0aca0cf9400eb96fa0788de77