[INFO] updating cached repository https://github.com/jfkassam/hours_log [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dd85bfd61c05e3507a7e448fa463e2f979018f93 [INFO] checking jfkassam/hours_log against master#c9edc02e8320a9e5799d185910ece7d491f524e6 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfkassam%2Fhours_log" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfkassam/hours_log on toolchain c9edc02e8320a9e5799d185910ece7d491f524e6-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jfkassam/hours_log [INFO] finished tweaking git repo https://github.com/jfkassam/hours_log [INFO] tweaked toml for git repo https://github.com/jfkassam/hours_log written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jfkassam/hours_log already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3787af37feccfd6b299e9dc5f0c25a6870f23da314dca2fbb969e2ef058b1c05 [INFO] running `"docker" "start" "-a" "3787af37feccfd6b299e9dc5f0c25a6870f23da314dca2fbb969e2ef058b1c05"` [INFO] [stderr] Checking hours_log v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: method is never used: `get_duration` [INFO] [stderr] --> src/lib.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | fn get_duration(&self) -> Duration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `calculate_time` [INFO] [stderr] --> src/lib.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | / fn calculate_time(filename: &str, start_day: Date, end_day: Date) [INFO] [stderr] 49 | | -> Duration { [INFO] [stderr] 50 | | read_from_file(filename).0.iter() [INFO] [stderr] 51 | | .filter(|p| p.start >= start_day.and_hms(0,0,0) && p.start < end_day.and_hms(0,0,0)) [INFO] [stderr] 52 | | .map(|p| p.get_duration()) [INFO] [stderr] 53 | | .fold(Duration::zero(), |a, b| a.checked_add(&b).unwrap()) [INFO] [stderr] 54 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `"docker" "inspect" "3787af37feccfd6b299e9dc5f0c25a6870f23da314dca2fbb969e2ef058b1c05"` [INFO] running `"docker" "rm" "-f" "3787af37feccfd6b299e9dc5f0c25a6870f23da314dca2fbb969e2ef058b1c05"` [INFO] [stdout] 3787af37feccfd6b299e9dc5f0c25a6870f23da314dca2fbb969e2ef058b1c05