[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.37-6/sources/1.36.0/gh/AsureNetwork/asure-pension-core"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/gh/AsureNetwork/asure-pension-core"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of AsureNetwork/asure-pension-core on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing AsureNetwork/asure-pension-core against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "build" "--frozen"` [INFO] [stdout] af4236c50422ef3e9671ab1086441591a519408832ffb4bd3c46e9a4bfd99748 [INFO] running `"docker" "start" "-a" "af4236c50422ef3e9671ab1086441591a519408832ffb4bd3c46e9a4bfd99748"` [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling serde v1.0.84 [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 rand v0.6.5 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling serde_derive 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 47.22s [INFO] running `"docker" "inspect" "af4236c50422ef3e9671ab1086441591a519408832ffb4bd3c46e9a4bfd99748"` [INFO] running `"docker" "rm" "-f" "af4236c50422ef3e9671ab1086441591a519408832ffb4bd3c46e9a4bfd99748"` [INFO] [stdout] af4236c50422ef3e9671ab1086441591a519408832ffb4bd3c46e9a4bfd99748 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 7b317bf6e70707ae0ac7a67fc85689108337a78a0260352f94525a6d26671837 [INFO] running `"docker" "start" "-a" "7b317bf6e70707ae0ac7a67fc85689108337a78a0260352f94525a6d26671837"` [INFO] [stderr] Compiling asure-pension-core v0.1.0 (/opt/crater/workdir) [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] Finished dev [unoptimized + debuginfo] target(s) in 9.21s [INFO] running `"docker" "inspect" "7b317bf6e70707ae0ac7a67fc85689108337a78a0260352f94525a6d26671837"` [INFO] running `"docker" "rm" "-f" "7b317bf6e70707ae0ac7a67fc85689108337a78a0260352f94525a6d26671837"` [INFO] [stdout] 7b317bf6e70707ae0ac7a67fc85689108337a78a0260352f94525a6d26671837 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/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" "+1.36.0" "test" "--frozen"` [INFO] [stdout] 5ef91c439b061106a8df746d99ac7306dc65ad27ad8e35368b3dc0e5f4e185b9 [INFO] running `"docker" "start" "-a" "5ef91c439b061106a8df746d99ac7306dc65ad27ad8e35368b3dc0e5f4e185b9"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/crater/target/debug/deps/asure_pension_core-ce714c6337431206 [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test calculations::tests::avg ... ok [INFO] [stdout] test calculations::tests::test_bla ... ok [INFO] [stdout] test calculations::tests::test_calculate_dpt ... ok [INFO] [stdout] test calculations::tests::diff ... ok [INFO] [stdout] test calculations::tests::calculate_entitlement_months ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_in_loop ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_1 ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_2 ... ok [INFO] [stdout] test calculations::tests::calculate_dpt_3 ... 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_dpt_factor10 ... 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_monthly_dpt_unit_rate_by_twenty ... ok [INFO] [stdout] test calculations::tests::test_calculate_savings_dpt_unit_rate ... ok [INFO] [stdout] test calculations::tests::test_deflation ... ok [INFO] [stdout] test calculations::tests::test_inflation ... ok [INFO] [stdout] test contributor::tests::claim_dpt_done ... 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 contributor::tests::contribute_contribution_done ... ok [INFO] [stdout] test pension::tests::join ... ok [INFO] [stdout] test pension::tests::retire ... ok [INFO] [stdout] test pension::tests::start_new_period ... ok [INFO] [stdout] test contributor::tests::dpt_total ... ok [INFO] [stdout] test contributor::tests::contribute_max_period ... ok [INFO] [stdout] test contributor::tests::contribute_contribution_must_be_bigger_than_0 ... 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" "5ef91c439b061106a8df746d99ac7306dc65ad27ad8e35368b3dc0e5f4e185b9"` [INFO] running `"docker" "rm" "-f" "5ef91c439b061106a8df746d99ac7306dc65ad27ad8e35368b3dc0e5f4e185b9"` [INFO] [stdout] 5ef91c439b061106a8df746d99ac7306dc65ad27ad8e35368b3dc0e5f4e185b9