[INFO] cloning repository https://github.com/francois-de-mareschal/HackDietDiary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/francois-de-mareschal/HackDietDiary" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrancois-de-mareschal%2FHackDietDiary", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrancois-de-mareschal%2FHackDietDiary'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f21d8c645df6426866fca1470bad674278484b8 [INFO] testing francois-de-mareschal/HackDietDiary against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrancois-de-mareschal%2FHackDietDiary" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/francois-de-mareschal/HackDietDiary on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/francois-de-mareschal/HackDietDiary [INFO] finished tweaking git repo https://github.com/francois-de-mareschal/HackDietDiary [INFO] tweaked toml for git repo https://github.com/francois-de-mareschal/HackDietDiary written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/francois-de-mareschal/HackDietDiary already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a32c2ed61fae79718539896e78fd8665faddfdef66a0f2237f2f349d586a314b [INFO] running `Command { std: "docker" "start" "-a" "a32c2ed61fae79718539896e78fd8665faddfdef66a0f2237f2f349d586a314b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a32c2ed61fae79718539896e78fd8665faddfdef66a0f2237f2f349d586a314b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a32c2ed61fae79718539896e78fd8665faddfdef66a0f2237f2f349d586a314b", kill_on_drop: false }` [INFO] [stdout] a32c2ed61fae79718539896e78fd8665faddfdef66a0f2237f2f349d586a314b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fee01fbd363939ac8231997f46dc966068aba6dbd2c5191e5840d87bd72522f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6fee01fbd363939ac8231997f46dc966068aba6dbd2c5191e5840d87bd72522f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hackdietdiary v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `weight` [INFO] [stdout] --> src/recordings/day_records.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn weight(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `notes` [INFO] [stdout] --> src/recordings/day_records.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn notes(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `LiveStorage` [INFO] [stdout] --> src/recordings/day_records_list.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type LiveStorage = BTreeMap, DayRecords>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DayRecordsList` [INFO] [stdout] --> src/recordings/day_records_list.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub(in crate::recordings) struct DayRecordsList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/recordings/day_records_list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/recordings/day_records_list.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn remove(&mut self, date: Option>) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/recordings/day_records_list.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn range( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/recordings/report.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Report { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `weight` [INFO] [stdout] --> src/recordings/report.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn weight(&mut self, weight: f32) -> &mut Report { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `notes` [INFO] [stdout] --> src/recordings/report.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn notes(&mut self, notes: String) -> &mut Report { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `record` [INFO] [stdout] --> src/recordings/report.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn record(&self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DateAddingInTheFuture` [INFO] [stdout] --> src/recordings/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | DateAddingInTheFuture(Date), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DateRemovingInTheFuture` [INFO] [stdout] --> src/recordings/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | DateRemovingInTheFuture(Date), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DayRecordsEmpty` [INFO] [stdout] --> src/recordings/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | DayRecordsEmpty, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoDayRecordsAtDate` [INFO] [stdout] --> src/recordings/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | NoDayRecordsAtDate(Date), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartDateAfterEndDate` [INFO] [stdout] --> src/recordings/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / StartDateAfterEndDate { [INFO] [stdout] 21 | | start_date: Date, [INFO] [stdout] 22 | | end_date: Date, [INFO] [stdout] 23 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZeroOrNegativeWeight` [INFO] [stdout] --> src/recordings/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ZeroOrNegativeWeight(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "6fee01fbd363939ac8231997f46dc966068aba6dbd2c5191e5840d87bd72522f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fee01fbd363939ac8231997f46dc966068aba6dbd2c5191e5840d87bd72522f", kill_on_drop: false }` [INFO] [stdout] 6fee01fbd363939ac8231997f46dc966068aba6dbd2c5191e5840d87bd72522f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3223ef36d114cecbfd090797993a7aa809dc4087c394e2421aeec1897a39c22 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a3223ef36d114cecbfd090797993a7aa809dc4087c394e2421aeec1897a39c22", kill_on_drop: false }` [INFO] [stderr] Compiling hackdietdiary v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "a3223ef36d114cecbfd090797993a7aa809dc4087c394e2421aeec1897a39c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3223ef36d114cecbfd090797993a7aa809dc4087c394e2421aeec1897a39c22", kill_on_drop: false }` [INFO] [stdout] a3223ef36d114cecbfd090797993a7aa809dc4087c394e2421aeec1897a39c22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db8fee741fefe2803b8d63f7679e6b88a55099a9ef1da155bdad119fd05249c1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db8fee741fefe2803b8d63f7679e6b88a55099a9ef1da155bdad119fd05249c1", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hackdietdiary-f06c83e547618275) [INFO] [stdout] running 33 tests [INFO] [stdout] test recordings::day_records::tests::notes_none_value ... ok [INFO] [stdout] test recordings::day_records::tests::weight_some_value ... ok [INFO] [stdout] test recordings::day_records::tests::notes_some_value ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_today_day_records_specifying_current_date ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_today_day_records_twice ... ok [INFO] [stdout] test recordings::day_records_list::tests::range_from_lt_to_records_non_existent ... ok [INFO] [stdout] test recordings::day_records_list::tests::range_to_gt_last_record_date ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_someday_existent_records ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_today_existent_records ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_today_existent_records_specifying_current_date ... ok [INFO] [stdout] test recordings::day_records::tests::weight_none_value ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_someday_day_records_twice ... ok [INFO] [stdout] test recordings::day_records_list::tests::range_from_lt_first_record_date ... ok [INFO] [stdout] test recordings::day_records_list::tests::range_from_lt_to_records_existent ... ok [INFO] [stdout] test recordings::report::tests::notes_set_builder_notes ... ok [INFO] [stdout] test recordings::report::tests::new_report_creates_empty_struct ... ok [INFO] [stdout] test recordings::report::tests::weight_notes_builder ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_someday_day_records ... ok [INFO] [stdout] test recordings::day_records_list::tests::range_from_eq_to ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_today_day_records_twice_specifying_current_date ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_today_day_records ... ok [INFO] [stdout] test recordings::report::tests::weight_set_builder_weight ... ok [INFO] [stdout] test recordings::day_records_list::tests::range_from_gt_to ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_future_day_records ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_someday_non_existent_records ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_today_non_existent_records ... ok [INFO] [stdout] test recordings::day_records_list::tests::add_future_day_records ... ok [INFO] [stdout] test recordings::report::tests::report_record_empty ... ok [INFO] [stdout] test recordings::day_records_list::tests::remove_today_non_existent_records_specifying_current_date ... ok [INFO] [stdout] test recordings::report::tests::weight_negative_with_some_notes ... ok [INFO] [stdout] test recordings::report::tests::weight_negative_no_notes ... ok [INFO] [stdout] test recordings::report::tests::weight_zero_no_notes ... ok [INFO] [stdout] test recordings::report::tests::weight_zero_with_some_notes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db8fee741fefe2803b8d63f7679e6b88a55099a9ef1da155bdad119fd05249c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8fee741fefe2803b8d63f7679e6b88a55099a9ef1da155bdad119fd05249c1", kill_on_drop: false }` [INFO] [stdout] db8fee741fefe2803b8d63f7679e6b88a55099a9ef1da155bdad119fd05249c1