[INFO] cloning repository https://github.com/MordecaiMalignatus/install-agent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MordecaiMalignatus/install-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordecaiMalignatus%2Finstall-agent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordecaiMalignatus%2Finstall-agent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6d7b49658d53097f2c02771dd0317b2b87f02c1a
[INFO] checking MordecaiMalignatus/install-agent against 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordecaiMalignatus%2Finstall-agent" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MordecaiMalignatus/install-agent
[INFO] finished tweaking git repo https://github.com/MordecaiMalignatus/install-agent
[INFO] tweaked toml for git repo https://github.com/MordecaiMalignatus/install-agent written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MordecaiMalignatus/install-agent on toolchain 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MordecaiMalignatus/install-agent 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" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.54
[INFO] [stderr]   Downloaded clap v3.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5
[INFO] running `Command { std: "docker" "start" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling anyhow v1.0.54
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking textwrap v0.14.2
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v3.1.0
[INFO] [stderr]     Checking install-agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/plists.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn from_args(args: &clap::ArgMatches) -> Result<Agent> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agentspec`
[INFO] [stdout]   --> src/plists.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn from_agent(agentspec: &Agent) -> Result<PList> {
[INFO] [stdout]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agentspec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout]   --> src/main.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn cmd_list_agents(matches: &ArgMatches) -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/main.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn launch_editor(file: &Path) -> Result<()> {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmd_install_agent` is never used
[INFO] [stdout]   --> src/main.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmd_install_agent(args: &clap::ArgMatches) -> Result<()> {
[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 `write_agent` is never used
[INFO] [stdout]   --> src/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn write_agent(filename: PathBuf, content: PList) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `launch_editor` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn launch_editor(file: &Path) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `label`, `command`, and `launch_type` are never read
[INFO] [stdout]  --> src/plists.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 6 |     pub label: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 7 |     pub command: AgentCommand,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 8 |     pub launch_type: LaunchType,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_args` is never used
[INFO] [stdout]   --> src/plists.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Agent {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn from_args(args: &clap::ArgMatches) -> Result<Agent> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/plists.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SimpleCommand { path: PathBuf },
[INFO] [stdout]    |     -------------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CommandWithArgs` is never constructed
[INFO] [stdout]   --> src/plists.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum AgentCommand {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] 18 |     SimpleCommand { path: PathBuf },
[INFO] [stdout] 19 |     CommandWithArgs { path: PathBuf, args: Vec<String> },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Interval` and `ScheduledIntervals` are never constructed
[INFO] [stdout]   --> src/plists.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum LaunchType {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 23 |     OnLoad,
[INFO] [stdout] 24 |     Interval { seconds: u32 },
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 25 |     ScheduledIntervals { intervals: Vec<Interval> },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `month`, `day`, `weekday`, `hour`, and `minute` are never read
[INFO] [stdout]   --> src/plists.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Interval {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 29 |     pub month: Option<u32>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 30 |     pub day: Option<u32>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 31 |     pub weekday: Option<u32>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 32 |     pub hour: Option<u32>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |     pub minute: Option<u32>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/plists.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn from_args(args: &clap::ArgMatches) -> Result<Agent> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `agentspec`
[INFO] [stdout]   --> src/plists.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn from_agent(agentspec: &Agent) -> Result<PList> {
[INFO] [stdout]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_agentspec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout]   --> src/main.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn cmd_list_agents(matches: &ArgMatches) -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/main.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn launch_editor(file: &Path) -> Result<()> {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmd_install_agent` is never used
[INFO] [stdout]   --> src/main.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmd_install_agent(args: &clap::ArgMatches) -> Result<()> {
[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 `write_agent` is never used
[INFO] [stdout]   --> src/main.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn write_agent(filename: PathBuf, content: PList) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `launch_editor` is never used
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn launch_editor(file: &Path) -> Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]  --> src/plists.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_args` is never used
[INFO] [stdout]   --> src/plists.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Agent {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn from_args(args: &clap::ArgMatches) -> Result<Agent> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AgentCommand` is never used
[INFO] [stdout]   --> src/plists.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum AgentCommand {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LaunchType` is never used
[INFO] [stdout]   --> src/plists.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum LaunchType {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Interval` is never constructed
[INFO] [stdout]   --> src/plists.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Interval {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PList` is never constructed
[INFO] [stdout]   --> src/plists.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct PList(pub String);
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_agent` is never used
[INFO] [stdout]   --> src/plists.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl PList {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 40 |     pub fn from_agent(agentspec: &Agent) -> Result<PList> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s
[INFO] running `Command { std: "docker" "inspect" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5", kill_on_drop: false }`
[INFO] [stdout] b98335e78cdc246ea41de485aa1400f13c5ef77476a3dc21a8a35e2143218df5
