[INFO] crate systemd-parser 0.1.3 is already in cache [INFO] extracting crate systemd-parser 0.1.3 into work/ex/beta-1.38-1/sources/1.37.0/reg/systemd-parser/0.1.3 [INFO] extracting crate systemd-parser 0.1.3 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/systemd-parser/0.1.3 [INFO] validating manifest of systemd-parser-0.1.3 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 systemd-parser-0.1.3 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 systemd-parser-0.1.3 [INFO] finished frobbing systemd-parser-0.1.3 [INFO] frobbed toml for systemd-parser-0.1.3 written to work/ex/beta-1.38-1/sources/1.37.0/reg/systemd-parser/0.1.3/Cargo.toml [INFO] started frobbing systemd-parser-0.1.3 [INFO] finished frobbing systemd-parser-0.1.3 [INFO] frobbed toml for systemd-parser-0.1.3 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/systemd-parser/0.1.3/Cargo.toml [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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing systemd-parser-0.1.3 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-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/systemd-parser/0.1.3:/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] 3d6c642784940d097214adcc09fda054aedfa99e9ca1173996e49136686ff41d [INFO] running `"docker" "start" "-a" "3d6c642784940d097214adcc09fda054aedfa99e9ca1173996e49136686ff41d"` [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling systemd-parser v0.1.3 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/parser.rs:57:38 [INFO] [stderr] | [INFO] [stderr] 57 | (SystemdItem::Directive(key, (if value.is_empty() { None } else { Some(value) }))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_comment` [INFO] [stderr] --> src/items.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | fn is_comment(&self) -> bool { match *self { SystemdItem::Comment(_) => true, _ => false } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_category` [INFO] [stderr] --> src/items.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | fn is_category(&self) -> bool { match *self { SystemdItem::Category(_) => true, _ => false } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `"docker" "inspect" "3d6c642784940d097214adcc09fda054aedfa99e9ca1173996e49136686ff41d"` [INFO] running `"docker" "rm" "-f" "3d6c642784940d097214adcc09fda054aedfa99e9ca1173996e49136686ff41d"` [INFO] [stdout] 3d6c642784940d097214adcc09fda054aedfa99e9ca1173996e49136686ff41d [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/systemd-parser/0.1.3:/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] 4269ee237fea01b1337509a222af2478be348ef61e8e03f3bdcb887a34346c86 [INFO] running `"docker" "start" "-a" "4269ee237fea01b1337509a222af2478be348ef61e8e03f3bdcb887a34346c86"` [INFO] [stderr] Compiling systemd-parser v0.1.3 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/parser.rs:57:38 [INFO] [stderr] | [INFO] [stderr] 57 | (SystemdItem::Directive(key, (if value.is_empty() { None } else { Some(value) }))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_comment` [INFO] [stderr] --> src/items.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | fn is_comment(&self) -> bool { match *self { SystemdItem::Comment(_) => true, _ => false } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_category` [INFO] [stderr] --> src/items.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | fn is_category(&self) -> bool { match *self { SystemdItem::Category(_) => true, _ => false } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `"docker" "inspect" "4269ee237fea01b1337509a222af2478be348ef61e8e03f3bdcb887a34346c86"` [INFO] running `"docker" "rm" "-f" "4269ee237fea01b1337509a222af2478be348ef61e8e03f3bdcb887a34346c86"` [INFO] [stdout] 4269ee237fea01b1337509a222af2478be348ef61e8e03f3bdcb887a34346c86 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/systemd-parser/0.1.3:/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] f9c102c2b9aa59039ef41b84ff7b727de76c0424b858ccac77fdd78e76405837 [INFO] running `"docker" "start" "-a" "f9c102c2b9aa59039ef41b84ff7b727de76c0424b858ccac77fdd78e76405837"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/systemd_parser-278c911d9e91d9eb [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test items_test::systemd_unit::lookup_by_key::it_should_return_the_unit_directive_pointed_by_key ... ok [INFO] [stdout] test items_test::systemd_unit::new::it_should_err_when_many_directives_of_same_key_are_in_different_categories ... ok [INFO] [stdout] test items_test::systemd_unit::lookup_by_key::it_should_return_none_when_inexistent ... ok [INFO] [stdout] test items_test::systemd_unit::lookup_by_key::it_should_return_a_vec_of_all_the_keys_when_multiple_keys ... ok [INFO] [stdout] test items_test::systemd_unit::lookup_by_category::it_should_return_an_empty_vec_the_category_doesnt_exists ... ok [INFO] [stdout] test items_test::systemd_unit::lookup_by_category::it_should_exists ... ok [INFO] [stdout] test items_test::systemd_unit::new::it_should_err_when_many_directives_of_same_key_are_in_different_categories2 ... ok [INFO] [stdout] test items_test::systemd_unit::new::it_should_err_when_not_starting_with_a_category ... ok [INFO] [stdout] test items_test::systemd_unit::new::it_should_instantiate ... ok [INFO] [stdout] test items_test::systemd_unit::categories::it_should_skip_doubles_and_return_categories_once ... ok [INFO] [stdout] test items_test::unit_directive::item_list_to_unit_directive_list::it_should_change_the_category_if_a_category_item_is_seen ... ok [INFO] [stdout] test items_test::unit_directive::item_list_to_unit_directive_list::it_should_err_for_empty_vecs ... ok [INFO] [stdout] test items_test::systemd_unit::categories::it_should_return_categories ... ok [INFO] [stdout] test items_test::unit_directive::item_list_to_unit_directive_list::it_should_err_if_the_first_item_is_not_a_category ... ok [INFO] [stdout] test items_test::unit_directive::item_list_to_unit_directive_list::it_should_instantiate_a_unit_directive_from_category_and_directive_items ... ok [INFO] [stdout] test items_test::unit_directive::item_list_to_unit_directive_list::it_should_work_with_full_dummy_unit ... ok [INFO] [stdout] test items_test::unit_directive::item_list_to_unit_directive_list::the_second_directive_should_keep_the_category ... ok [INFO] [stdout] test parser_test::parse_category::it_should_be_done ... ok [INFO] [stdout] test parser_test::parse_category::it_should_consume_the_category ... ok [INFO] [stdout] test parser_test::parse_category::it_should_reject_more_than_one_word ... ok [INFO] [stdout] test parser_test::parse_comment::it_should_be_done_when_starting_with_hash_char ... ok [INFO] [stdout] test parser_test::parse_comment::it_should_fail_when_not_starting_with_hash_char ... ok [INFO] [stdout] test parser_test::parse_comment::it_should_trim_whitespaces ... ok [INFO] [stdout] test parser_test::parse_directive::it_doesnt_consume_comment_at_end_of_line ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_accept_directives_with_no_values ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_accept_exotic_output ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_be_done ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_consume_path_in_values ... ok [INFO] [stdout] test parser_test::parse_line::it_can_parse_directive ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_consume_the_directive_key_and_value ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_reject_the_directive_with_no_key ... ok [INFO] [stdout] test parser_test::parse_line::it_can_parse_category ... ok [INFO] [stdout] test parser_test::parse_unit::it_keep_line_numbers_in_errors ... ok [INFO] [stdout] test parser_test::parse_line::it_can_parse_comment ... ok [INFO] [stdout] test parser_test::parse_line::it_is_present ... ok [INFO] [stdout] test parser_test::parse_unit::it_returns_an_error_in_case_of_parse_error ... ok [INFO] [stdout] test parser_test::parse_unit::it_keep_line_numbers_in_errors2 ... ok [INFO] [stdout] test parser_test::parse_unit::it_returns_a_vec_of_parsed_lines ... ok [INFO] [stdout] test parser_test::parse_unit::it_works_with_the_dummy ... ok [INFO] [stdout] test parser_test::parse_unit::it_trim_whitespaces_at_beginning_and_end_of_line ... ok [INFO] [stdout] test parser_test::parse_unit::it_skip_empty_lines ... ok [INFO] [stdout] test parser_test::take_whole_line::it_returns_whole_line ... ok [INFO] [stderr] Doc-tests systemd-parser [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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] running `"docker" "inspect" "f9c102c2b9aa59039ef41b84ff7b727de76c0424b858ccac77fdd78e76405837"` [INFO] running `"docker" "rm" "-f" "f9c102c2b9aa59039ef41b84ff7b727de76c0424b858ccac77fdd78e76405837"` [INFO] [stdout] f9c102c2b9aa59039ef41b84ff7b727de76c0424b858ccac77fdd78e76405837