[INFO] cloning repository shterrett/budget [INFO] running `"git" "clone" "--bare" "git://github.com/shterrett/budget.git" "work/cache/sources/gh/shterrett/budget"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/shterrett/budget'... [INFO] running `"git" "clone" "work/cache/sources/gh/shterrett/budget" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/shterrett/budget" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/shterrett/budget"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/shterrett/budget'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2db4b033e5fc9ba05010def0f6988ba9b822ae8e [INFO] sha for GitHub repo shterrett/budget: 2db4b033e5fc9ba05010def0f6988ba9b822ae8e [INFO] validating manifest of shterrett/budget on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of shterrett/budget on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing shterrett/budget [INFO] finished frobbing shterrett/budget [INFO] frobbed toml for shterrett/budget written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget/Cargo.toml [INFO] started frobbing shterrett/budget [INFO] finished frobbing shterrett/budget [INFO] frobbed toml for shterrett/budget written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/shterrett/budget/Cargo.toml [INFO] crate shterrett/budget already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] testing shterrett/budget against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] a43847a47bc485ef003c964ef00dd37ab6d745cbe76e011081776ff9cdd42a3f [INFO] running `"docker" "start" "-a" "a43847a47bc485ef003c964ef00dd37ab6d745cbe76e011081776ff9cdd42a3f"` [INFO] [stderr] Compiling budget v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:56:40 [INFO] [stderr] | [INFO] [stderr] 56 | let data_path = filepath(&matches, env::home_dir()); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:62:37 [INFO] [stderr] | [INFO] [stderr] 62 | let result = filepath(&matches, env::home_dir()).ok_or(Error::InputError) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `"docker" "inspect" "a43847a47bc485ef003c964ef00dd37ab6d745cbe76e011081776ff9cdd42a3f"` [INFO] running `"docker" "rm" "-f" "a43847a47bc485ef003c964ef00dd37ab6d745cbe76e011081776ff9cdd42a3f"` [INFO] [stdout] a43847a47bc485ef003c964ef00dd37ab6d745cbe76e011081776ff9cdd42a3f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 7bac2305d1f0402246478e705152fff4ec09eb21fb3e786260b5e6da6c6ba4f0 [INFO] running `"docker" "start" "-a" "7bac2305d1f0402246478e705152fff4ec09eb21fb3e786260b5e6da6c6ba4f0"` [INFO] [stderr] Compiling budget v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:56:40 [INFO] [stderr] | [INFO] [stderr] 56 | let data_path = filepath(&matches, env::home_dir()); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:62:37 [INFO] [stderr] | [INFO] [stderr] 62 | let result = filepath(&matches, env::home_dir()).ok_or(Error::InputError) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `"docker" "inspect" "7bac2305d1f0402246478e705152fff4ec09eb21fb3e786260b5e6da6c6ba4f0"` [INFO] running `"docker" "rm" "-f" "7bac2305d1f0402246478e705152fff4ec09eb21fb3e786260b5e6da6c6ba4f0"` [INFO] [stdout] 7bac2305d1f0402246478e705152fff4ec09eb21fb3e786260b5e6da6c6ba4f0 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/shterrett/budget:/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=forbid" "-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" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen"` [INFO] [stdout] c8537466685ed2e7eb83a4c368a2e51b80618e6c9b3f43dee9f4f46761be400e [INFO] running `"docker" "start" "-a" "c8537466685ed2e7eb83a4c368a2e51b80618e6c9b3f43dee9f4f46761be400e"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/budget-bff01dc1c91bff37 [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test base::test::validate_amount_string ... ok [INFO] [stdout] test base::test::returns_provided_filepath ... ok [INFO] [stdout] test base::test::entry_from_line ... ok [INFO] [stdout] test base::test::entry_formats_with_newline ... ok [INFO] [stdout] test base::test::validate_date_string ... ok [INFO] [stdout] test base::test::returns_default_filepath ... ok [INFO] [stdout] test show::test::delta_formats_for_display ... ok [INFO] [stdout] test show::test::returns_aggregate_delta ... ok [INFO] [stdout] test show::test::builds_entries_from_file ... ok [INFO] [stdout] test show::test::delta_calculates_difference_between_entries ... ok [INFO] [stdout] test show::test::returns_the_last_n_entries ... ok [INFO] [stdout] test show::test::returns_entries_after_date ... ok [INFO] [stdout] test show::test::returns_differences_for_each_entry ... ok [INFO] [stdout] test add::test::write_entry_to_file ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--bin budget' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- add::test::write_entry_to_file stdout ---- [INFO] [stdout] thread 'add::test::write_entry_to_file' panicked at 'assertion failed: res.is_ok()', src/add.rs:81:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5d39667eb - backtrace::backtrace::libunwind::trace::hcbf63b8d794b15f4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x55f5d39667eb - backtrace::backtrace::trace_unsynchronized::h681e1cb201a9972d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55f5d39667eb - std::sys_common::backtrace::_print::hd27175ce39811176 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:47 [INFO] [stdout] 3: 0x55f5d39667eb - std::sys_common::backtrace::print::h117e2eebf9a1e122 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:36 [INFO] [stdout] 4: 0x55f5d39667eb - std::panicking::default_hook::{{closure}}::h6369b988ee675335 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 5: 0x55f5d396647f - std::panicking::default_hook::hfaefd2bea4c25f9e [INFO] [stdout] at src/libstd/panicking.rs:209 [INFO] [stdout] 6: 0x55f5d3966f60 - std::panicking::rust_panic_with_hook::h02c52718165ccced [INFO] [stdout] at src/libstd/panicking.rs:475 [INFO] [stdout] 7: 0x55f5d38f5e88 - std::panicking::begin_panic::h509a09145cd5b8c4 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:409 [INFO] [stdout] 8: 0x55f5d3712851 - budget::add::test::write_entry_to_file::hb4ceb9f6aad72cca [INFO] [stdout] at src/add.rs:81 [INFO] [stdout] 9: 0x55f5d371234a - budget::add::test::write_entry_to_file::{{closure}}::hf8065d386c23c7b1 [INFO] [stdout] at src/add.rs:57 [INFO] [stdout] 10: 0x55f5d3713e8e - core::ops::function::FnOnce::call_once::h5bc3cc8c390f8740 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libcore/ops/function.rs:231 [INFO] [stdout] 11: 0x55f5d373da7f - as core::ops::function::FnOnce>::call_once::h051e7835d417eabd [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/liballoc/boxed.rs:746 [INFO] [stdout] 12: 0x55f5d3969b2a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 13: 0x55f5d3758458 - std::panicking::try::h2a4c737ee7913c25 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:273 [INFO] [stdout] 14: 0x55f5d3758458 - std::panic::catch_unwind::hb4a850da3c0f461d [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panic.rs:388 [INFO] [stdout] 15: 0x55f5d3758458 - test::run_test::run_test_inner::{{closure}}::hf1081f8a70de250d [INFO] [stdout] at src/libtest/lib.rs:1466 [INFO] [stdout] 16: 0x55f5d3732ff5 - std::sys_common::backtrace::__rust_begin_short_backtrace::h342b596609fb99e3 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/sys_common/backtrace.rs:77 [INFO] [stdout] 17: 0x55f5d3736f85 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h513520560543c60c [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/thread/mod.rs:470 [INFO] [stdout] 18: 0x55f5d3736f85 - as core::ops::function::FnOnce<()>>::call_once::ha4e1c61c6177bb54 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panic.rs:309 [INFO] [stdout] 19: 0x55f5d3736f85 - std::panicking::try::do_call::h0eb4a0e045c14646 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:294 [INFO] [stdout] 20: 0x55f5d3969b2a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 21: 0x55f5d37375a2 - std::panicking::try::h20774757cea1a66c [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:273 [INFO] [stdout] 22: 0x55f5d37375a2 - std::panic::catch_unwind::h38e40a373c8b5452 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panic.rs:388 [INFO] [stdout] 23: 0x55f5d37375a2 - std::thread::Builder::spawn_unchecked::{{closure}}::h9bfd91224a2fd035 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/thread/mod.rs:469 [INFO] [stdout] 24: 0x55f5d37375a2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2d3b3105bb1d7d1 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libcore/ops/function.rs:231 [INFO] [stdout] 25: 0x55f5d395babf - as core::ops::function::FnOnce>::call_once::hc6099fbe1f2e9038 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/liballoc/boxed.rs:746 [INFO] [stdout] 26: 0x55f5d3969270 - as core::ops::function::FnOnce>::call_once::h1b61db05dcd8ce54 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/liballoc/boxed.rs:746 [INFO] [stdout] 27: 0x55f5d3969270 - std::sys_common::thread::start_thread::hd3ed9053e9fea488 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 28: 0x55f5d3969270 - std::sys::unix::thread::Thread::new::thread_start::hc17e4e4c7ed2fc8f [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 29: 0x7f62d8bee4a4 - start_thread [INFO] [stdout] 30: 0x7f62d8719d0f - __clone [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] add::test::write_entry_to_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "c8537466685ed2e7eb83a4c368a2e51b80618e6c9b3f43dee9f4f46761be400e"` [INFO] running `"docker" "rm" "-f" "c8537466685ed2e7eb83a4c368a2e51b80618e6c9b3f43dee9f4f46761be400e"` [INFO] [stdout] c8537466685ed2e7eb83a4c368a2e51b80618e6c9b3f43dee9f4f46761be400e