[INFO] cloning repository https://github.com/codesections/dlarm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codesections/dlarm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesections%2Fdlarm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesections%2Fdlarm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3d3ea8dd067c3184d307972133c69012ff55de8 [INFO] testing codesections/dlarm against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesections%2Fdlarm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codesections/dlarm on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codesections/dlarm [INFO] finished tweaking git repo https://github.com/codesections/dlarm [INFO] tweaked toml for git repo https://github.com/codesections/dlarm written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codesections/dlarm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates v1.0.0 [INFO] [stderr] Downloaded roff v0.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.84 [INFO] [stderr] Downloaded syn v0.15.24 [INFO] [stderr] Downloaded man v0.2.0 [INFO] [stderr] Downloaded rand v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eecce095dc744e3831107a3151c4b65921304f4c9a5a8be7e5eb529bcde1130 [INFO] running `Command { std: "docker" "start" "-a" "5eecce095dc744e3831107a3151c4b65921304f4c9a5a8be7e5eb529bcde1130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eecce095dc744e3831107a3151c4b65921304f4c9a5a8be7e5eb529bcde1130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eecce095dc744e3831107a3151c4b65921304f4c9a5a8be7e5eb529bcde1130", kill_on_drop: false }` [INFO] [stdout] 5eecce095dc744e3831107a3151c4b65921304f4c9a5a8be7e5eb529bcde1130 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e9d9ba8bc7568802fdd27a17ab6f1e2bdf4e8dd182de5c0efccec400844ba29 [INFO] running `Command { std: "docker" "start" "-a" "3e9d9ba8bc7568802fdd27a17ab6f1e2bdf4e8dd182de5c0efccec400844ba29", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling roff v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling man v0.2.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling colored v1.7.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling predicates v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling serde_json v1.0.35 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling dlarm v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Local` is imported redundantly [INFO] [stdout] --> src/settings.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `Local` is already imported here [INFO] [stdout] 3 | use chrono::{Duration, Local, NaiveTime}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NaiveTime` is imported redundantly [INFO] [stdout] --> src/settings.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `NaiveTime` is already imported here [INFO] [stdout] 3 | use chrono::{Duration, Local, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/data_file.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &file_path.push(filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &file_path.push(filename); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.06s [INFO] running `Command { std: "docker" "inspect" "3e9d9ba8bc7568802fdd27a17ab6f1e2bdf4e8dd182de5c0efccec400844ba29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e9d9ba8bc7568802fdd27a17ab6f1e2bdf4e8dd182de5c0efccec400844ba29", kill_on_drop: false }` [INFO] [stdout] 3e9d9ba8bc7568802fdd27a17ab6f1e2bdf4e8dd182de5c0efccec400844ba29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f49c8085ed819f1f70cb9f6cbe97937bcfeab140d1dd843a751b39c889ccc03 [INFO] running `Command { std: "docker" "start" "-a" "4f49c8085ed819f1f70cb9f6cbe97937bcfeab140d1dd843a751b39c889ccc03", kill_on_drop: false }` [INFO] [stderr] Compiling dlarm v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Local` is imported redundantly [INFO] [stdout] --> src/settings.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `Local` is already imported here [INFO] [stdout] 3 | use chrono::{Duration, Local, NaiveTime}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NaiveTime` is imported redundantly [INFO] [stdout] --> src/settings.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `NaiveTime` is already imported here [INFO] [stdout] 3 | use chrono::{Duration, Local, NaiveTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/data_file.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | &file_path.push(filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = &file_path.push(filename); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "4f49c8085ed819f1f70cb9f6cbe97937bcfeab140d1dd843a751b39c889ccc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f49c8085ed819f1f70cb9f6cbe97937bcfeab140d1dd843a751b39c889ccc03", kill_on_drop: false }` [INFO] [stdout] 4f49c8085ed819f1f70cb9f6cbe97937bcfeab140d1dd843a751b39c889ccc03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2cadc26461050cfac5c63025b24469e5fb77893e6345095464cfe10023948411 [INFO] running `Command { std: "docker" "start" "-a" "2cadc26461050cfac5c63025b24469e5fb77893e6345095464cfe10023948411", kill_on_drop: false }` [INFO] [stderr] warning: the item `Local` is imported redundantly [INFO] [stderr] --> src/settings.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::prelude::*; [INFO] [stderr] | ------------------ the item `Local` is already imported here [INFO] [stderr] 3 | use chrono::{Duration, Local, NaiveTime}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `NaiveTime` is imported redundantly [INFO] [stderr] --> src/settings.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::prelude::*; [INFO] [stderr] | ------------------ the item `NaiveTime` is already imported here [INFO] [stderr] 3 | use chrono::{Duration, Local, NaiveTime}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/data_file.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | &file_path.push(filename); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 11 | let _ = &file_path.push(filename); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `dlarm` (bin "dlarm" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dlarm-a5eae939ccc9bf98) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::it_should_snooze_the_alarm ... ok [INFO] [stdout] test tests::it_turns_off_the_alarm ... ok [INFO] [stdout] test tests::it_guesses_the_period_when_setting_the_alarm ... ok [INFO] [stdout] test tests::it_sets_the_alarm ... ok [INFO] [stdout] test tests::it_should_snooze_the_alarm_for_custom_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.88s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2cadc26461050cfac5c63025b24469e5fb77893e6345095464cfe10023948411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cadc26461050cfac5c63025b24469e5fb77893e6345095464cfe10023948411", kill_on_drop: false }` [INFO] [stdout] 2cadc26461050cfac5c63025b24469e5fb77893e6345095464cfe10023948411