[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] building MordecaiMalignatus/install-agent against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMordecaiMalignatus%2Finstall-agent" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MordecaiMalignatus/install-agent on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04370af30872668b39786ed440c68cb99f1ac7319fa6fbd0fc899f6b31ab0dd3 [INFO] running `Command { std: "docker" "start" "-a" "04370af30872668b39786ed440c68cb99f1ac7319fa6fbd0fc899f6b31ab0dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04370af30872668b39786ed440c68cb99f1ac7319fa6fbd0fc899f6b31ab0dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04370af30872668b39786ed440c68cb99f1ac7319fa6fbd0fc899f6b31ab0dd3", kill_on_drop: false }` [INFO] [stdout] 04370af30872668b39786ed440c68cb99f1ac7319fa6fbd0fc899f6b31ab0dd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02c074e776dea3bc6f8056d517ef99c51263903a4db0854115eb6e53c75d898b [INFO] running `Command { std: "docker" "start" "-a" "02c074e776dea3bc6f8056d517ef99c51263903a4db0854115eb6e53c75d898b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling anyhow v1.0.54 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.1.0 [INFO] [stderr] Compiling 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 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 { [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)]` 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 { [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] = note: `PList` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.59s [INFO] running `Command { std: "docker" "inspect" "02c074e776dea3bc6f8056d517ef99c51263903a4db0854115eb6e53c75d898b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c074e776dea3bc6f8056d517ef99c51263903a4db0854115eb6e53c75d898b", kill_on_drop: false }` [INFO] [stdout] 02c074e776dea3bc6f8056d517ef99c51263903a4db0854115eb6e53c75d898b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6b14dc5f112388a1bb3e4221474a18f0c35f9cdb291d012ef30bb6e7946ae5c [INFO] running `Command { std: "docker" "start" "-a" "e6b14dc5f112388a1bb3e4221474a18f0c35f9cdb291d012ef30bb6e7946ae5c", kill_on_drop: false }` [INFO] [stderr] Compiling 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 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 { [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)]` 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 { [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 }, [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 }, [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, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub day: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub weekday: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub hour: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | pub minute: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "e6b14dc5f112388a1bb3e4221474a18f0c35f9cdb291d012ef30bb6e7946ae5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b14dc5f112388a1bb3e4221474a18f0c35f9cdb291d012ef30bb6e7946ae5c", kill_on_drop: false }` [INFO] [stdout] e6b14dc5f112388a1bb3e4221474a18f0c35f9cdb291d012ef30bb6e7946ae5c