[INFO] fetching crate systemd-parser 0.1.3... [INFO] extracting crate systemd-parser 0.1.3 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/systemd-parser/0.1.3 [INFO] extracting crate systemd-parser 0.1.3 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/systemd-parser/0.1.3 [INFO] validating manifest of systemd-parser-0.1.3 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of systemd-parser-0.1.3 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "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/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/systemd-parser/0.1.3/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing systemd-parser-0.1.3 against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 0beec29d94a4d80d697e3dbf3c3c9b52837e23450c9318eed7211d1f9c0528a2 [INFO] running `"docker" "start" "-a" "0beec29d94a4d80d697e3dbf3c3c9b52837e23450c9318eed7211d1f9c0528a2"` [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 2.82s [INFO] running `"docker" "inspect" "0beec29d94a4d80d697e3dbf3c3c9b52837e23450c9318eed7211d1f9c0528a2"` [INFO] running `"docker" "rm" "-f" "0beec29d94a4d80d697e3dbf3c3c9b52837e23450c9318eed7211d1f9c0528a2"` [INFO] [stdout] 0beec29d94a4d80d697e3dbf3c3c9b52837e23450c9318eed7211d1f9c0528a2 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 1ddad720607eb87c2438f0be23a06c4b21a1908dcdacf88a105c2c1f69d1a14a [INFO] running `"docker" "start" "-a" "1ddad720607eb87c2438f0be23a06c4b21a1908dcdacf88a105c2c1f69d1a14a"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [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 1.68s [INFO] running `"docker" "inspect" "1ddad720607eb87c2438f0be23a06c4b21a1908dcdacf88a105c2c1f69d1a14a"` [INFO] running `"docker" "rm" "-f" "1ddad720607eb87c2438f0be23a06c4b21a1908dcdacf88a105c2c1f69d1a14a"` [INFO] [stdout] 1ddad720607eb87c2438f0be23a06c4b21a1908dcdacf88a105c2c1f69d1a14a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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=forbid" "-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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 4555d42922e9d6daeb462e8f1339e15f3d5eb6362d07ac2885f62b54742903ea [INFO] running `"docker" "start" "-a" "4555d42922e9d6daeb462e8f1339e15f3d5eb6362d07ac2885f62b54742903ea"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/systemd_parser-778d19cc98a33b63 [INFO] [stdout] [INFO] [stdout] running 42 tests [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::categories::it_should_return_categories ... ok [INFO] [stdout] test items_test::systemd_unit::lookup_by_category::it_should_exists ... 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_key::it_should_return_none_when_inexistent ... ok [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::categories::it_should_skip_doubles_and_return_categories_once ... 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::new::it_should_err_when_not_starting_with_a_category ... 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_instantiate ... 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::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_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 parser_test::parse_comment::it_should_be_done_when_starting_with_hash_char ... 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_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_consume_the_directive_key_and_value ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_be_done ... ok [INFO] [stdout] test parser_test::parse_line::it_can_parse_category ... ok [INFO] [stdout] test parser_test::parse_line::it_can_parse_comment ... ok [INFO] [stdout] test parser_test::parse_line::it_can_parse_directive ... ok [INFO] [stdout] test parser_test::parse_line::it_is_present ... ok [INFO] [stdout] test parser_test::parse_unit::it_keep_line_numbers_in_errors ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_consume_path_in_values ... ok [INFO] [stdout] test parser_test::parse_unit::it_returns_a_vec_of_parsed_lines ... ok [INFO] [stdout] test parser_test::parse_unit::it_keep_line_numbers_in_errors2 ... 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_returns_an_error_in_case_of_parse_error ... ok [INFO] [stdout] test parser_test::parse_unit::it_works_with_the_dummy ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_accept_exotic_output ... ok [INFO] [stdout] test parser_test::take_whole_line::it_returns_whole_line ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_accept_directives_with_no_values ... ok [INFO] [stdout] test parser_test::parse_unit::it_skip_empty_lines ... ok [INFO] [stdout] test parser_test::parse_directive::it_should_reject_the_directive_with_no_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests systemd-parser [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" "4555d42922e9d6daeb462e8f1339e15f3d5eb6362d07ac2885f62b54742903ea"` [INFO] running `"docker" "rm" "-f" "4555d42922e9d6daeb462e8f1339e15f3d5eb6362d07ac2885f62b54742903ea"` [INFO] [stdout] 4555d42922e9d6daeb462e8f1339e15f3d5eb6362d07ac2885f62b54742903ea