[INFO] cloning repository rockymeza/rust-du [INFO] running `"git" "clone" "--bare" "git://github.com/rockymeza/rust-du.git" "work/cache/sources/gh/rockymeza/rust-du"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/rockymeza/rust-du'... [INFO] running `"git" "clone" "work/cache/sources/gh/rockymeza/rust-du" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/rockymeza/rust-du"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/rockymeza/rust-du'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rockymeza/rust-du" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/rockymeza/rust-du"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/rockymeza/rust-du'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c3c172cd589c899eca14e71aeb3def6f1ba01064 [INFO] sha for GitHub repo rockymeza/rust-du: c3c172cd589c899eca14e71aeb3def6f1ba01064 [INFO] validating manifest of rockymeza/rust-du 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 rockymeza/rust-du 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 rockymeza/rust-du [INFO] finished frobbing rockymeza/rust-du [INFO] frobbed toml for rockymeza/rust-du written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/rockymeza/rust-du/Cargo.toml [INFO] started frobbing rockymeza/rust-du [INFO] finished frobbing rockymeza/rust-du [INFO] frobbed toml for rockymeza/rust-du written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/rockymeza/rust-du/Cargo.toml [INFO] crate rockymeza/rust-du 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] Blocking waiting for file lock on package cache lock [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/rockymeza/rust-du/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 rockymeza/rust-du 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/rockymeza/rust-du:/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] c072db1fe10ebd797a4df216c518d67b184daf3dd79d301c5adef05ef3f461a1 [INFO] running `"docker" "start" "-a" "c072db1fe10ebd797a4df216c518d67b184daf3dd79d301c5adef05ef3f461a1"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/crater/workdir/src/main.rs` was erroneously implicitly accepted for binary `rust-du`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling du v0.1.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `"docker" "inspect" "c072db1fe10ebd797a4df216c518d67b184daf3dd79d301c5adef05ef3f461a1"` [INFO] running `"docker" "rm" "-f" "c072db1fe10ebd797a4df216c518d67b184daf3dd79d301c5adef05ef3f461a1"` [INFO] [stdout] c072db1fe10ebd797a4df216c518d67b184daf3dd79d301c5adef05ef3f461a1 [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/rockymeza/rust-du:/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] d00a2aa8d6a74d764de2f13df645dbd6679c2309d5b375c615e87f653b8381fc [INFO] running `"docker" "start" "-a" "d00a2aa8d6a74d764de2f13df645dbd6679c2309d5b375c615e87f653b8381fc"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/crater/workdir/src/main.rs` was erroneously implicitly accepted for binary `rust-du`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling du v0.1.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `"docker" "inspect" "d00a2aa8d6a74d764de2f13df645dbd6679c2309d5b375c615e87f653b8381fc"` [INFO] running `"docker" "rm" "-f" "d00a2aa8d6a74d764de2f13df645dbd6679c2309d5b375c615e87f653b8381fc"` [INFO] [stdout] d00a2aa8d6a74d764de2f13df645dbd6679c2309d5b375c615e87f653b8381fc [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/rockymeza/rust-du:/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] 568cc9947ed5c35b1a4c7778210a72aaf0e4bbced686f87220f1723f62741daf [INFO] running `"docker" "start" "-a" "568cc9947ed5c35b1a4c7778210a72aaf0e4bbced686f87220f1723f62741daf"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/crater/workdir/src/main.rs` was erroneously implicitly accepted for binary `rust-du`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/du-c5c7e2364144ff7d [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] [stderr] Running /opt/crater/target/debug/deps/rust_du-409fb9d8875aa4f3 [INFO] [stderr] Running /opt/crater/target/debug/deps/lib-bd037fe7c096da8a [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test get_size_of_file_with_string_for_path ... ok [INFO] [stdout] test get_size_of_file ... ok [INFO] [stdout] test get_size_of_dir ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- get_size_of_dir stdout ---- [INFO] [stdout] thread 'get_size_of_dir' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `4096`, [INFO] [stdout] right: `40`', tests/lib.rs:47:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56291189fc1b - 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: 0x56291189fc1b - 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: 0x56291189fc1b - std::sys_common::backtrace::_print::hd27175ce39811176 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:47 [INFO] [stdout] 3: 0x56291189fc1b - std::sys_common::backtrace::print::h117e2eebf9a1e122 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:36 [INFO] [stdout] 4: 0x56291189fc1b - std::panicking::default_hook::{{closure}}::h6369b988ee675335 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 5: 0x56291189f8af - std::panicking::default_hook::hfaefd2bea4c25f9e [INFO] [stdout] at src/libstd/panicking.rs:209 [INFO] [stdout] 6: 0x5629118a0390 - std::panicking::rust_panic_with_hook::h02c52718165ccced [INFO] [stdout] at src/libstd/panicking.rs:475 [INFO] [stdout] 7: 0x56291189ff12 - std::panicking::continue_panic_fmt::h9e135674c1df51b4 [INFO] [stdout] at src/libstd/panicking.rs:382 [INFO] [stdout] 8: 0x56291189fe5f - std::panicking::begin_panic_fmt::h7b7b130b87f3cbeb [INFO] [stdout] at src/libstd/panicking.rs:337 [INFO] [stdout] 9: 0x56291183baec - lib::get_size_of_dir::h8c4ad8e8d3abb220 [INFO] [stdout] at tests/lib.rs:47 [INFO] [stdout] 10: 0x56291183b86a - lib::get_size_of_dir::{{closure}}::h98f6c645d89ae50c [INFO] [stdout] at tests/lib.rs:44 [INFO] [stdout] 11: 0x56291183c27e - core::ops::function::FnOnce::call_once::h5cfc9b63600b2f6b [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libcore/ops/function.rs:231 [INFO] [stdout] 12: 0x562911848eaf - as core::ops::function::FnOnce>::call_once::h051e7835d417eabd [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/liballoc/boxed.rs:746 [INFO] [stdout] 13: 0x5629118a371a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 14: 0x562911863888 - std::panicking::try::h2a4c737ee7913c25 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:273 [INFO] [stdout] 15: 0x562911863888 - std::panic::catch_unwind::hb4a850da3c0f461d [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panic.rs:388 [INFO] [stdout] 16: 0x562911863888 - test::run_test::run_test_inner::{{closure}}::hf1081f8a70de250d [INFO] [stdout] at src/libtest/lib.rs:1466 [INFO] [stdout] 17: 0x56291183e425 - std::sys_common::backtrace::__rust_begin_short_backtrace::h342b596609fb99e3 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/sys_common/backtrace.rs:77 [INFO] [stdout] 18: 0x5629118423b5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h513520560543c60c [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/thread/mod.rs:470 [INFO] [stdout] 19: 0x5629118423b5 - as core::ops::function::FnOnce<()>>::call_once::ha4e1c61c6177bb54 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panic.rs:309 [INFO] [stdout] 20: 0x5629118423b5 - std::panicking::try::do_call::h0eb4a0e045c14646 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:294 [INFO] [stdout] 21: 0x5629118a371a - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:85 [INFO] [stdout] 22: 0x5629118429d2 - std::panicking::try::h20774757cea1a66c [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panicking.rs:273 [INFO] [stdout] 23: 0x5629118429d2 - std::panic::catch_unwind::h38e40a373c8b5452 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/panic.rs:388 [INFO] [stdout] 24: 0x5629118429d2 - std::thread::Builder::spawn_unchecked::{{closure}}::h9bfd91224a2fd035 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libstd/thread/mod.rs:469 [INFO] [stdout] 25: 0x5629118429d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2d3b3105bb1d7d1 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/libcore/ops/function.rs:231 [INFO] [stdout] 26: 0x562911894b0f - as core::ops::function::FnOnce>::call_once::hc6099fbe1f2e9038 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/liballoc/boxed.rs:746 [INFO] [stdout] 27: 0x5629118a2e60 - as core::ops::function::FnOnce>::call_once::h1b61db05dcd8ce54 [INFO] [stdout] at /rustc/c8865d8e195813ade6b84434ac9f8850e7112d1a/src/liballoc/boxed.rs:746 [INFO] [stdout] 28: 0x5629118a2e60 - std::sys_common::thread::start_thread::hd3ed9053e9fea488 [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 29: 0x5629118a2e60 - std::sys::unix::thread::Thread::new::thread_start::hc17e4e4c7ed2fc8f [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 30: 0x7f271526b4a4 - start_thread [INFO] [stdout] 31: 0x7f2714d96d0f - __clone [INFO] [stdout] 32: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] get_size_of_dir [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test lib' [INFO] running `"docker" "inspect" "568cc9947ed5c35b1a4c7778210a72aaf0e4bbced686f87220f1723f62741daf"` [INFO] running `"docker" "rm" "-f" "568cc9947ed5c35b1a4c7778210a72aaf0e4bbced686f87220f1723f62741daf"` [INFO] [stdout] 568cc9947ed5c35b1a4c7778210a72aaf0e4bbced686f87220f1723f62741daf