[INFO] cloning repository https://github.com/joyanedel/cron-scheduler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joyanedel/cron-scheduler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoyanedel%2Fcron-scheduler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoyanedel%2Fcron-scheduler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e56d5d852a901f6496fca003668e4550a379f92c [INFO] testing joyanedel/cron-scheduler against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoyanedel%2Fcron-scheduler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joyanedel/cron-scheduler [INFO] finished tweaking git repo https://github.com/joyanedel/cron-scheduler [INFO] tweaked toml for git repo https://github.com/joyanedel/cron-scheduler written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joyanedel/cron-scheduler on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joyanedel/cron-scheduler 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ece90560292a4504934381b403ab4e8ad95724721762dee421adfb1f81ef4f4 [INFO] running `Command { std: "docker" "start" "-a" "3ece90560292a4504934381b403ab4e8ad95724721762dee421adfb1f81ef4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ece90560292a4504934381b403ab4e8ad95724721762dee421adfb1f81ef4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ece90560292a4504934381b403ab4e8ad95724721762dee421adfb1f81ef4f4", kill_on_drop: false }` [INFO] [stdout] 3ece90560292a4504934381b403ab4e8ad95724721762dee421adfb1f81ef4f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee462e9dfb93258e7f089b0aa7e83deea6db6284be2f9a8af767981b3da79f9b [INFO] running `Command { std: "docker" "start" "-a" "ee462e9dfb93258e7f089b0aa7e83deea6db6284be2f9a8af767981b3da79f9b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling cron-exp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `expression_matches_datetime` is never used [INFO] [stdout] --> src/cron/evaluator.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn expression_matches_datetime( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression_component_matches_number` is never used [INFO] [stdout] --> src/cron/evaluator.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn expression_component_matches_number( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CronExpression` is never constructed [INFO] [stdout] --> src/cron/expression.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CronExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CronExpressionError` is never used [INFO] [stdout] --> src/cron/expression.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum CronExpressionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CronExpressionComponent` is never used [INFO] [stdout] --> src/cron/expression_component.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CronExpressionComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CronExpressionComponentError` is never used [INFO] [stdout] --> src/cron/expression_component.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum CronExpressionComponentError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "ee462e9dfb93258e7f089b0aa7e83deea6db6284be2f9a8af767981b3da79f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee462e9dfb93258e7f089b0aa7e83deea6db6284be2f9a8af767981b3da79f9b", kill_on_drop: false }` [INFO] [stdout] ee462e9dfb93258e7f089b0aa7e83deea6db6284be2f9a8af767981b3da79f9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c75ee5db49607776a28719d231396a108675f01fcbf1b84652c8787aecd519b [INFO] running `Command { std: "docker" "start" "-a" "9c75ee5db49607776a28719d231396a108675f01fcbf1b84652c8787aecd519b", kill_on_drop: false }` [INFO] [stderr] Compiling cron-exp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "9c75ee5db49607776a28719d231396a108675f01fcbf1b84652c8787aecd519b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c75ee5db49607776a28719d231396a108675f01fcbf1b84652c8787aecd519b", kill_on_drop: false }` [INFO] [stdout] 9c75ee5db49607776a28719d231396a108675f01fcbf1b84652c8787aecd519b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2711969a5decbb6d26fa9a0eb33500c1fbea2056a5798c57f2d3482cb71b438 [INFO] running `Command { std: "docker" "start" "-a" "c2711969a5decbb6d26fa9a0eb33500c1fbea2056a5798c57f2d3482cb71b438", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cron_exp-c31b5a25ab937d83) [INFO] [stdout] running 27 tests [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::range_value_component_doesn_match_number_out_of_range ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::list_of_single_values_component_matches_number ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::range_value_component_matches_number ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::step_ranged_component_matches_number ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::step_value_component_doesnt_match_number_unreachable ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::step_value_component_matches_number ... ok [INFO] [stdout] test cron::evaluator::test_expression_matches_datetime::date_with_matching_expression_returns_true ... ok [INFO] [stdout] test cron::evaluator::test_expression_matches_datetime::date_outside_range_matching_expression_returns_false ... ok [INFO] [stdout] test cron::evaluator::test_expression_matches_datetime::all_expression_matches_any_date ... ok [INFO] [stdout] test cron::expression_component::tests::closing_question_is_parsed_as_ignore ... ok [INFO] [stdout] test cron::expression::cron_expression_tests::initialize_cron_expression_with_all_possible_values_succeed ... ok [INFO] [stdout] test cron::expression::cron_expression_tests::regular_cron_expression_parsed_correctly ... ok [INFO] [stdout] test cron::expression_component::tests::asterisk_is_parsed_as_all ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::single_value_component_matches_number ... ok [INFO] [stdout] test cron::expression_component::tests::integer_is_parsed_as_single_value ... ok [INFO] [stdout] test cron::expression_component::tests::invalid_range_raises_invalid_value_error ... ok [INFO] [stdout] test cron::expression_component::tests::non_valid_integer_raise_invalid_value_error ... ok [INFO] [stdout] test cron::expression_component::tests::range_is_parsed_as_range ... ok [INFO] [stdout] test cron::expression_component::tests::two_single_value_comma_separated_values_is_parsed_as_list_of_single_values ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::all_component_matches_any_number ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::step_ranged_component_doesn_match_number_out_of_range ... ok [INFO] [stdout] test cron::evaluator::test_expression_component_matches_nunber::single_value_component_doesnt_match_number ... ok [INFO] [stdout] test cron::expression_component::tests::step_single_value_is_parsed_as_step ... ok [INFO] [stdout] test cron::evaluator::test_expression_matches_datetime::date_with_non_matching_expression_returns_false ... ok [INFO] [stdout] test cron::evaluator::test_expression_matches_datetime::date_with_range_matching_expression_returns_true ... ok [INFO] [stdout] test cron::expression_component::tests::complex_but_valid_expression_is_parsed_correctly ... ok [INFO] [stdout] test cron::expression_component::tests::comma_separated_single_and_range_values_are_parsed_as_list_of_single_and_range_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c2711969a5decbb6d26fa9a0eb33500c1fbea2056a5798c57f2d3482cb71b438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2711969a5decbb6d26fa9a0eb33500c1fbea2056a5798c57f2d3482cb71b438", kill_on_drop: false }` [INFO] [stdout] c2711969a5decbb6d26fa9a0eb33500c1fbea2056a5798c57f2d3482cb71b438