[INFO] updating cached repository AsureNetwork/asure-pension-core [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/AsureNetwork/asure-pension-core [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/AsureNetwork/asure-pension-core" "work/ex/beta-1.38-1/sources/1.37.0/gh/AsureNetwork/asure-pension-core"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/AsureNetwork/asure-pension-core'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/AsureNetwork/asure-pension-core" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AsureNetwork/asure-pension-core"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AsureNetwork/asure-pension-core'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 289ae087508993e359b7c5b908ac80e65278977c [INFO] sha for GitHub repo AsureNetwork/asure-pension-core: 289ae087508993e359b7c5b908ac80e65278977c [INFO] validating manifest of AsureNetwork/asure-pension-core on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of AsureNetwork/asure-pension-core on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing AsureNetwork/asure-pension-core [INFO] finished frobbing AsureNetwork/asure-pension-core [INFO] frobbed toml for AsureNetwork/asure-pension-core written to work/ex/beta-1.38-1/sources/1.37.0/gh/AsureNetwork/asure-pension-core/Cargo.toml [INFO] started frobbing AsureNetwork/asure-pension-core [INFO] finished frobbing AsureNetwork/asure-pension-core [INFO] frobbed toml for AsureNetwork/asure-pension-core written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AsureNetwork/asure-pension-core/Cargo.toml [INFO] crate AsureNetwork/asure-pension-core already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing AsureNetwork/asure-pension-core against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AsureNetwork/asure-pension-core:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] b577a8339abe8adffe957ed882406a464e2191599f1c98f900d8a19588327fd4 [INFO] running `"docker" "start" "-a" "b577a8339abe8adffe957ed882406a464e2191599f1c98f900d8a19588327fd4"` [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.0 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling asure-pension-core v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/contributor.rs:8:36 [INFO] [stderr] | [INFO] [stderr] 8 | static USER_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.34s [INFO] running `"docker" "inspect" "b577a8339abe8adffe957ed882406a464e2191599f1c98f900d8a19588327fd4"` [INFO] running `"docker" "rm" "-f" "b577a8339abe8adffe957ed882406a464e2191599f1c98f900d8a19588327fd4"` [INFO] [stdout] b577a8339abe8adffe957ed882406a464e2191599f1c98f900d8a19588327fd4 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AsureNetwork/asure-pension-core:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 8d7ee792e9e17aeb8faf4ea9e437bc77fc2cacac6bc2f99bd95f0cc272abdc2c [INFO] running `"docker" "start" "-a" "8d7ee792e9e17aeb8faf4ea9e437bc77fc2cacac6bc2f99bd95f0cc272abdc2c"` [INFO] [stderr] Compiling asure-pension-core v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim04.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | 0...59 => Some(1.0), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim04.rs:24:15 [INFO] [stderr] | [INFO] [stderr] 24 | 60...239 => Some(0.5), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim04.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | 240...359 => Some(0.25), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim04.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | 360...479 => Some(0.1), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim12.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | 0...9 => Some(1.0), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim12.rs:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | 10...20 => Some(0.5), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::*` [INFO] [stderr] --> src/contributor.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | use crate::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/contributor.rs:8:36 [INFO] [stderr] | [INFO] [stderr] 8 | static USER_COUNTER: AtomicUsize = atomic::ATOMIC_USIZE_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/sim17.rs:26:14 [INFO] [stderr] | [INFO] [stderr] 26 | 0...5 => period > 480, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.87s [INFO] running `"docker" "inspect" "8d7ee792e9e17aeb8faf4ea9e437bc77fc2cacac6bc2f99bd95f0cc272abdc2c"` [INFO] running `"docker" "rm" "-f" "8d7ee792e9e17aeb8faf4ea9e437bc77fc2cacac6bc2f99bd95f0cc272abdc2c"` [INFO] [stdout] 8d7ee792e9e17aeb8faf4ea9e437bc77fc2cacac6bc2f99bd95f0cc272abdc2c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AsureNetwork/asure-pension-core:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 8c6c02e72b9eb43f0a03381cc43a49fe01218a0eec2e268b09ad1442a1fa9253 [INFO] running `"docker" "start" "-a" "8c6c02e72b9eb43f0a03381cc43a49fe01218a0eec2e268b09ad1442a1fa9253"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/crater/target/debug/deps/asure_pension_core-0bccae1c1e8584d1 [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test calculations::tests::calculate_dpt_3 ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_in_loop ... ok [INFO] [stdout] test calculations::tests::avg ... ok [INFO] [stdout] test calculations::tests::calculate_entitlement_months ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_1 ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_2 ... ok [INFO] [stdout] test calculations::tests::diff ... ok [INFO] [stdout] test calculations::tests::test_bla ... ok [INFO] [stdout] test calculations::tests::test_calculate_dpt ... ok [INFO] [stdout] test calculations::tests::test_calculate_dpt_factor10 ... ok [INFO] [stdout] test calculations::tests::test_calculate_dpt_bonus ... ok [INFO] [stdout] test calculations::tests::test_calculate_dpt_bonus_by_period ... ok [INFO] [stdout] test calculations::tests::test_calculate_monthly_dpt_unit_rate_by_twenty ... ok [INFO] [stdout] test calculations::tests::test_calculate_monthly_dpt_unit_rate ... ok [INFO] [stdout] test calculations::tests::test_calculate_monthly_dpt_unit_rate_by_five ... ok [INFO] [stdout] test calculations::tests::test_calculate_savings_dpt_unit_rate ... ok [INFO] [stdout] test contributor::tests::claim_dpt_done ... ok [INFO] [stdout] test contributor::tests::contribute_contribution_done ... ok [INFO] [stdout] test calculations::tests::test_inflation ... ok [INFO] [stdout] test calculations::tests::test_deflation ... ok [INFO] [stdout] test contributor::tests::claim_dpt_dpt_already_claimed_for_period ... ok [INFO] [stdout] test contributor::tests::contribute_contribution_bigger_than_wallet ... ok [INFO] [stdout] test pension::tests::start_new_period ... ok [INFO] [stdout] test contributor::tests::contribute_contribution_must_be_bigger_than_0 ... ok [INFO] [stdout] test pension::tests::join ... ok [INFO] [stdout] test contributor::tests::contribute_max_period ... ok [INFO] [stdout] test pension::tests::retire ... ok [INFO] [stdout] test contributor::tests::dpt_total ... ok [INFO] [stdout] test calculations::tests::test_calculate_monthly_dpt_unit_rate_by_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests asure-pension-core [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "8c6c02e72b9eb43f0a03381cc43a49fe01218a0eec2e268b09ad1442a1fa9253"` [INFO] running `"docker" "rm" "-f" "8c6c02e72b9eb43f0a03381cc43a49fe01218a0eec2e268b09ad1442a1fa9253"` [INFO] [stdout] 8c6c02e72b9eb43f0a03381cc43a49fe01218a0eec2e268b09ad1442a1fa9253