[INFO] updating cached repository rockymeza/rust-du [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/rockymeza/rust-du [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/rockymeza/rust-du" "work/ex/beta-1.38-1/sources/1.37.0/gh/rockymeza/rust-du"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/rockymeza/rust-du'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rockymeza/rust-du" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/rockymeza/rust-du"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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 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 rockymeza/rust-du 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 rockymeza/rust-du [INFO] finished frobbing rockymeza/rust-du [INFO] frobbed toml for rockymeza/rust-du written to work/ex/beta-1.38-1/sources/1.37.0/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/beta-1.38-1/sources/beta-2019-08-13/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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing rockymeza/rust-du against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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.37.0" "build" "--frozen"` [INFO] [stdout] c60df495cd868aa6444270f44bbbd51b389954327f0778aae121dd93b2c9d917 [INFO] running `"docker" "start" "-a" "c60df495cd868aa6444270f44bbbd51b389954327f0778aae121dd93b2c9d917"` [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.82s [INFO] running `"docker" "inspect" "c60df495cd868aa6444270f44bbbd51b389954327f0778aae121dd93b2c9d917"` [INFO] running `"docker" "rm" "-f" "c60df495cd868aa6444270f44bbbd51b389954327f0778aae121dd93b2c9d917"` [INFO] [stdout] c60df495cd868aa6444270f44bbbd51b389954327f0778aae121dd93b2c9d917 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 2ef8485c7043a85394487b605bf69b3c1986e15449e920be2093f1a71d85a652 [INFO] running `"docker" "start" "-a" "2ef8485c7043a85394487b605bf69b3c1986e15449e920be2093f1a71d85a652"` [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 remove_dir_all v0.5.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling du v0.1.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `"docker" "inspect" "2ef8485c7043a85394487b605bf69b3c1986e15449e920be2093f1a71d85a652"` [INFO] running `"docker" "rm" "-f" "2ef8485c7043a85394487b605bf69b3c1986e15449e920be2093f1a71d85a652"` [INFO] [stdout] 2ef8485c7043a85394487b605bf69b3c1986e15449e920be2093f1a71d85a652 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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=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.37.0" "test" "--frozen"` [INFO] [stdout] b176be13f3b668643a122027e00453fc3eb9e1357d0672eb96a90ca08e8e709e [INFO] running `"docker" "start" "-a" "b176be13f3b668643a122027e00453fc3eb9e1357d0672eb96a90ca08e8e709e"` [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-57938196ac258c33 [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-0e603aa2393561cb [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/lib-b8d98eb0a0f19567 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test get_size_of_file ... ok [INFO] [stdout] test get_size_of_file_with_string_for_path ... 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: 0x55fe74a41dfb - backtrace::backtrace::libunwind::trace::hfe5db90796807973 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x55fe74a41dfb - backtrace::backtrace::trace_unsynchronized::h34b865a835594335 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55fe74a41dfb - std::sys_common::backtrace::_print::h527254ae44989167 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:47 [INFO] [stdout] 3: 0x55fe74a41dfb - std::sys_common::backtrace::print::he85dd5ddddf46503 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:36 [INFO] [stdout] 4: 0x55fe74a41dfb - std::panicking::default_hook::{{closure}}::h847a2eb38b396f14 [INFO] [stdout] at src/libstd/panicking.rs:200 [INFO] [stdout] 5: 0x55fe74a41a6a - std::panicking::default_hook::h2ca0f9a30a0e206b [INFO] [stdout] at src/libstd/panicking.rs:211 [INFO] [stdout] 6: 0x55fe74a42570 - std::panicking::rust_panic_with_hook::hffcefc09751839d1 [INFO] [stdout] at src/libstd/panicking.rs:477 [INFO] [stdout] 7: 0x55fe74a420f2 - std::panicking::continue_panic_fmt::hc0f142c930c846fc [INFO] [stdout] at src/libstd/panicking.rs:384 [INFO] [stdout] 8: 0x55fe74a4203f - std::panicking::begin_panic_fmt::ha6acf0ffd6d7f80d [INFO] [stdout] at src/libstd/panicking.rs:339 [INFO] [stdout] 9: 0x55fe749ddc77 - lib::get_size_of_dir::he859e3c8276d0c23 [INFO] [stdout] at tests/lib.rs:47 [INFO] [stdout] 10: 0x55fe749dd9fa - lib::get_size_of_dir::{{closure}}::h6d25a345b21c3a77 [INFO] [stdout] at tests/lib.rs:44 [INFO] [stdout] 11: 0x55fe749de4ce - core::ops::function::FnOnce::call_once::hc60714015a079a16 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libcore/ops/function.rs:231 [INFO] [stdout] 12: 0x55fe749eb12f - as core::ops::function::FnOnce>::call_once::h4a13ee3f0d7b4201 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/liballoc/boxed.rs:746 [INFO] [stdout] 13: 0x55fe74a452da - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:82 [INFO] [stdout] 14: 0x55fe74a05728 - std::panicking::try::h5a93466ab2078586 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panicking.rs:275 [INFO] [stdout] 15: 0x55fe74a05728 - std::panic::catch_unwind::h752cbeae6ac7bdea [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panic.rs:394 [INFO] [stdout] 16: 0x55fe74a05728 - test::run_test::run_test_inner::{{closure}}::h206c9c16936edaca [INFO] [stdout] at src/libtest/lib.rs:1466 [INFO] [stdout] 17: 0x55fe749e05a5 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc7edbac42990d270 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/sys_common/backtrace.rs:77 [INFO] [stdout] 18: 0x55fe749e4665 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he53c58e7adee87af [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/thread/mod.rs:470 [INFO] [stdout] 19: 0x55fe749e4665 - as core::ops::function::FnOnce<()>>::call_once::h1aff7c42b6bb3726 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panic.rs:315 [INFO] [stdout] 20: 0x55fe749e4665 - std::panicking::try::do_call::h41f8559f88100f6c [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panicking.rs:296 [INFO] [stdout] 21: 0x55fe74a452da - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:82 [INFO] [stdout] 22: 0x55fe749e4d62 - std::panicking::try::hb54ba808181fe352 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panicking.rs:275 [INFO] [stdout] 23: 0x55fe749e4d62 - std::panic::catch_unwind::h555ccf4e835e93f4 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x55fe749e4d62 - std::thread::Builder::spawn_unchecked::{{closure}}::hd4dae6e19e80fc1a [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/thread/mod.rs:469 [INFO] [stdout] 25: 0x55fe749e4d62 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc35d54c07710e1a1 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libcore/ops/function.rs:231 [INFO] [stdout] 26: 0x55fe74a36a6f - as core::ops::function::FnOnce>::call_once::h42806b83647d4c79 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/liballoc/boxed.rs:746 [INFO] [stdout] 27: 0x55fe74a44a30 - as core::ops::function::FnOnce>::call_once::h83c921c8e826dd1d [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/liballoc/boxed.rs:746 [INFO] [stdout] 28: 0x55fe74a44a30 - std::sys_common::thread::start_thread::h2613204ce513782e [INFO] [stdout] at src/libstd/sys_common/thread.rs:13 [INFO] [stdout] 29: 0x55fe74a44a30 - std::sys::unix::thread::Thread::new::thread_start::h4570080769500bcd [INFO] [stdout] at src/libstd/sys/unix/thread.rs:79 [INFO] [stdout] 30: 0x7f16c4d8a4a4 - start_thread [INFO] [stdout] 31: 0x7f16c48b5d0f - __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" "b176be13f3b668643a122027e00453fc3eb9e1357d0672eb96a90ca08e8e709e"` [INFO] running `"docker" "rm" "-f" "b176be13f3b668643a122027e00453fc3eb9e1357d0672eb96a90ca08e8e709e"` [INFO] [stdout] b176be13f3b668643a122027e00453fc3eb9e1357d0672eb96a90ca08e8e709e