[INFO] fetching crate systemd-parser 0.1.3... [INFO] checking systemd-parser-0.1.3 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate systemd-parser 0.1.3 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate systemd-parser 0.1.3 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate systemd-parser 0.1.3 [INFO] finished tweaking crates.io crate systemd-parser 0.1.3 [INFO] tweaked toml for crates.io crate systemd-parser 0.1.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.5.10 (available: v0.14.0) [INFO] [stderr] Adding nom v2.2.1 (available: v7.1.3) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb96ec6ebfa7e3aeec2289418707352e163b645dcc57cd949f08ccff77ab928d [INFO] running `Command { std: "docker" "start" "-a" "eb96ec6ebfa7e3aeec2289418707352e163b645dcc57cd949f08ccff77ab928d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb96ec6ebfa7e3aeec2289418707352e163b645dcc57cd949f08ccff77ab928d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb96ec6ebfa7e3aeec2289418707352e163b645dcc57cd949f08ccff77ab928d", kill_on_drop: false }` [INFO] [stdout] eb96ec6ebfa7e3aeec2289418707352e163b645dcc57cd949f08ccff77ab928d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f71b3c7b56fc631518ab247a579d239a1ea0702e7b349dd6f17cf3c5a029b557 [INFO] running `Command { std: "docker" "start" "-a" "f71b3c7b56fc631518ab247a579d239a1ea0702e7b349dd6f17cf3c5a029b557", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking systemd-parser v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cat = try!(UnitDirective::get_first_category(unit_items)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let directives = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | let directives_hash = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | try!(SystemdUnit::validate_many(&vecs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/parser.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | (SystemdItem::Directive(key, (if value.is_empty() { None } else { Some(value) }))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - (SystemdItem::Directive(key, (if value.is_empty() { None } else { Some(value) }))) [INFO] [stdout] 57 + (SystemdItem::Directive(key, if value.is_empty() { None } else { Some(value) })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let units = try!(parser::parse_unit(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let systemd_unit = try!(items::SystemdUnit::new(&units)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cat = try!(UnitDirective::get_first_category(unit_items)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let directives = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | let directives_hash = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/items.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | try!(SystemdUnit::validate_many(&vecs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/parser.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | (SystemdItem::Directive(key, (if value.is_empty() { None } else { Some(value) }))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - (SystemdItem::Directive(key, (if value.is_empty() { None } else { Some(value) }))) [INFO] [stdout] 57 + (SystemdItem::Directive(key, if value.is_empty() { None } else { Some(value) })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let units = try!(parser::parse_unit(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let systemd_unit = try!(items::SystemdUnit::new(&units)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | display(error) -> ("{}, errors:\n{}", error.description(), helper_format(errors)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | display(error) -> ("{}: {}", error.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:35:57 [INFO] [stdout] | [INFO] [stdout] 35 | display(error) -> ("{}, errors:\n{}", error.description(), helper_format(errors)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | display(error) -> ("{}: {}", error.description(), err) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_comment` and `is_category` are never used [INFO] [stdout] --> src/items.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> SystemdItem<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 12 | fn is_comment(&self) -> bool { match *self { SystemdItem::Comment(_) => true, _ => false } } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | fn is_category(&self) -> bool { match *self { SystemdItem::Category(_) => true, _ => false } } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_comment` and `is_category` are never used [INFO] [stdout] --> src/items.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> SystemdItem<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 12 | fn is_comment(&self) -> bool { match *self { SystemdItem::Comment(_) => true, _ => false } } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | fn is_category(&self) -> bool { match *self { SystemdItem::Category(_) => true, _ => false } } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | let expected = UnitDirective::new("Unit".into(), "Description".into(), Some("plop".into())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:27:62 [INFO] [stdout] | [INFO] [stdout] 27 | let expected = UnitDirective::new("Unit".into(), "Description".into(), Some("plop".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:27:89 [INFO] [stdout] | [INFO] [stdout] 27 | let expected = UnitDirective::new("Unit".into(), "Description".into(), Some("plop".into())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | let expected = UnitDirective::new("Unit".into(), "Wants".into(), Some("boot.target".into())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | let expected = UnitDirective::new("Unit".into(), "Wants".into(), Some("boot.target".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:41:83 [INFO] [stdout] | [INFO] [stdout] 41 | let expected = UnitDirective::new("Unit".into(), "Wants".into(), Some("boot.target".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | let expected = UnitDirective::new("Service".into(), "ExecStart".into(), Some("/usr/bin/true".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | let expected = UnitDirective::new("Service".into(), "ExecStart".into(), Some("/usr/bin/true".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:56:90 [INFO] [stdout] | [INFO] [stdout] 56 | let expected = UnitDirective::new("Service".into(), "ExecStart".into(), Some("/usr/bin/true".into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:94:36 [INFO] [stdout] | [INFO] [stdout] 94 | UnitDirective::new("Unit".into(), "Description".into(), Some("Some HTTP server".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:94:51 [INFO] [stdout] | [INFO] [stdout] 94 | UnitDirective::new("Unit".into(), "Description".into(), Some("Some HTTP server".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:94:78 [INFO] [stdout] | [INFO] [stdout] 94 | UnitDirective::new("Unit".into(), "Description".into(), Some("Some HTTP server".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | UnitDirective::new("Unit".into(), "After".into(), Some("remote-fs.target sqldb.service memcached.service".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:95:51 [INFO] [stdout] | [INFO] [stdout] 95 | UnitDirective::new("Unit".into(), "After".into(), Some("remote-fs.target sqldb.service memcached.service".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:95:72 [INFO] [stdout] | [INFO] [stdout] 95 | UnitDirective::new("Unit".into(), "After".into(), Some("remote-fs.target sqldb.service memcached.service".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | UnitDirective::new("Unit".into(), "Requires".into(), None), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | UnitDirective::new("Unit".into(), "Requires".into(), None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | UnitDirective::new("Unit".into(), "Requires".into(),"sqldb.service memcached.service".into()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:97:51 [INFO] [stdout] | [INFO] [stdout] 97 | UnitDirective::new("Unit".into(), "Requires".into(),"sqldb.service memcached.service".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | UnitDirective::new("Unit".into(), "AssertPathExists".into(),"/srv/www".into()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | UnitDirective::new("Unit".into(), "AssertPathExists".into(),"/srv/www".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | UnitDirective::new("Service".into(), "Type".into(), Some("notify".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:99:54 [INFO] [stdout] | [INFO] [stdout] 99 | UnitDirective::new("Service".into(), "Type".into(), Some("notify".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:99:74 [INFO] [stdout] | [INFO] [stdout] 99 | UnitDirective::new("Service".into(), "Type".into(), Some("notify".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | UnitDirective::new("Service".into(), "ExecStart".into(), Some("/usr/sbin/some-fancy-httpd-server".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:100:54 [INFO] [stdout] | [INFO] [stdout] 100 | UnitDirective::new("Service".into(), "ExecStart".into(), Some("/usr/sbin/some-fancy-httpd-server".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:100:79 [INFO] [stdout] | [INFO] [stdout] 100 | UnitDirective::new("Service".into(), "ExecStart".into(), Some("/usr/sbin/some-fancy-httpd-server".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | UnitDirective::new("Service".into(), "Nice".into(), Some("0".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | UnitDirective::new("Service".into(), "Nice".into(), Some("0".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:101:74 [INFO] [stdout] | [INFO] [stdout] 101 | UnitDirective::new("Service".into(), "Nice".into(), Some("0".into())), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:102:36 [INFO] [stdout] | [INFO] [stdout] 102 | UnitDirective::new("Service".into(), "PrivateTmp".into(), Some("yes".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | UnitDirective::new("Service".into(), "PrivateTmp".into(), Some("yes".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:102:80 [INFO] [stdout] | [INFO] [stdout] 102 | UnitDirective::new("Service".into(), "PrivateTmp".into(), Some("yes".into())), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | UnitDirective::new("Install".into(), "WantedBy".into(), Some("multi-user.target".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | UnitDirective::new("Install".into(), "WantedBy".into(), Some("multi-user.target".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/items_test.rs:103:78 [INFO] [stdout] | [INFO] [stdout] 103 | UnitDirective::new("Install".into(), "WantedBy".into(), Some("multi-user.target".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `systemd-parser` (lib test) due to 36 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f71b3c7b56fc631518ab247a579d239a1ea0702e7b349dd6f17cf3c5a029b557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71b3c7b56fc631518ab247a579d239a1ea0702e7b349dd6f17cf3c5a029b557", kill_on_drop: false }` [INFO] [stdout] f71b3c7b56fc631518ab247a579d239a1ea0702e7b349dd6f17cf3c5a029b557