[INFO] fetching crate topcat 0.1.0...
[INFO] checking topcat-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate topcat 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate topcat 0.1.0
[INFO] finished tweaking crates.io crate topcat 0.1.0
[INFO] tweaked toml for crates.io crate topcat 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate topcat 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate topcat 0.1.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb97fb92bff645662b82151cee0da2766985b1962a8cd2133f0f54f435de5a57
[INFO] running `Command { std: "docker" "start" "-a" "eb97fb92bff645662b82151cee0da2766985b1962a8cd2133f0f54f435de5a57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb97fb92bff645662b82151cee0da2766985b1962a8cd2133f0f54f435de5a57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb97fb92bff645662b82151cee0da2766985b1962a8cd2133f0f54f435de5a57", kill_on_drop: false }`
[INFO] [stdout] eb97fb92bff645662b82151cee0da2766985b1962a8cd2133f0f54f435de5a57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ade154005d7e66fea2762d636c2c354f94e3b041b88ab80cda24a97445536344
[INFO] running `Command { std: "docker" "start" "-a" "ade154005d7e66fea2762d636c2c354f94e3b041b88ab80cda24a97445536344", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking petgraph v0.6.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking topcat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `MockFileSystem` is never constructed
[INFO] [stdout]   --> src/fs.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct MockFileSystem {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fs.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl MockFileSystem {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(files: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | /     #[structopt(
[INFO] [stdout] 27 | |         short = "i",
[INFO] [stdout] 28 | |         long = "input_dir",
[INFO] [stdout] 29 | |         help = "Path to directory containing files to be concatenated",
[INFO] [stdout] 30 | |         value_name = "DIR"
[INFO] [stdout] 31 | |     )]
[INFO] [stdout] 32 | |     input_dirs: Vec<PathBuf>,
[INFO] [stdout]    | |____________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     #[structopt(
[INFO] [stdout] 35 | |         short = "n",
[INFO] [stdout] 36 | |         long = "include",
[INFO] [stdout] 37 | |         help = "Only include files matching glob pattern",
[INFO] [stdout] 38 | |         value_name = "PATTERN"
[INFO] [stdout] 39 | |     )]
[INFO] [stdout] 40 | |     include_globs: Option<Vec<String>>,
[INFO] [stdout]    | |______________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     #[structopt(
[INFO] [stdout] 43 | |         short = "x",
[INFO] [stdout] 44 | |         long = "exclude",
[INFO] [stdout] 45 | |         help = "Exclude files matching given glob pattern",
[INFO] [stdout] 46 | |         value_name = "PATTERN"
[INFO] [stdout] 47 | |     )]
[INFO] [stdout] 48 | |     exclude_globs: Option<Vec<String>>,
[INFO] [stdout]    | |______________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | /     #[structopt(
[INFO] [stdout] 51 | |         short = "o",
[INFO] [stdout] 52 | |         long = "output",
[INFO] [stdout] 53 | |         help = "Path to generate combined output file",
[INFO] [stdout] 54 | |         value_name = "FILE"
[INFO] [stdout] 55 | |     )]
[INFO] [stdout] 56 | |     output: PathBuf,
[INFO] [stdout]    | |___________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | /     #[structopt(
[INFO] [stdout] 59 | |         long = "comment-str",
[INFO] [stdout] 60 | |         help = "The string used to denote a comment. eg '--'",
[INFO] [stdout] 61 | |         default_value = "--"
[INFO] [stdout] 62 | |     )]
[INFO] [stdout] 63 | |     comment_str: String,
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | /     #[structopt(
[INFO] [stdout] 66 | |         long = "file-separator-str",
[INFO] [stdout] 67 | |         help = "Add this between each concatenated file in the output. eg '---'",
[INFO] [stdout] 68 | |         default_value = "----------------------------------------------------------------------------------------------------------------...
[INFO] [stdout] 69 | |     )]
[INFO] [stdout] 70 | |     file_separator_str: String,
[INFO] [stdout]    | |______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | /     #[structopt(
[INFO] [stdout] 73 | |         long = "ensure-each-file-ends-with",
[INFO] [stdout] 74 | |         help = "Add this string to the end of files if it does not exist. eg ';'",
[INFO] [stdout] 75 | |         default_value = ";"
[INFO] [stdout] 76 | |     )]
[INFO] [stdout] 77 | |     ensure_each_file_ends_with_str: String,
[INFO] [stdout]    | |__________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/file_dag.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 206 |         graph_type: TCGraphType,
[INFO] [stdout] 207 |     ) -> Result<Dot<&DiGraph<FileNode, ()>>, TopCatError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |   |
[INFO] [stdout]     |                 |   the same lifetime is elided here
[INFO] [stdout]     |                 the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 207 |     ) -> Result<Dot<'_, &DiGraph<FileNode, ()>>, TopCatError> {
[INFO] [stdout]     |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `topcat` (bin "topcat") due to 7 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `MockFileSystem` is never constructed
[INFO] [stdout]   --> src/fs.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct MockFileSystem {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fs.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl MockFileSystem {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(files: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | /     #[structopt(
[INFO] [stdout] 27 | |         short = "i",
[INFO] [stdout] 28 | |         long = "input_dir",
[INFO] [stdout] 29 | |         help = "Path to directory containing files to be concatenated",
[INFO] [stdout] 30 | |         value_name = "DIR"
[INFO] [stdout] 31 | |     )]
[INFO] [stdout] 32 | |     input_dirs: Vec<PathBuf>,
[INFO] [stdout]    | |____________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     #[structopt(
[INFO] [stdout] 35 | |         short = "n",
[INFO] [stdout] 36 | |         long = "include",
[INFO] [stdout] 37 | |         help = "Only include files matching glob pattern",
[INFO] [stdout] 38 | |         value_name = "PATTERN"
[INFO] [stdout] 39 | |     )]
[INFO] [stdout] 40 | |     include_globs: Option<Vec<String>>,
[INFO] [stdout]    | |______________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     #[structopt(
[INFO] [stdout] 43 | |         short = "x",
[INFO] [stdout] 44 | |         long = "exclude",
[INFO] [stdout] 45 | |         help = "Exclude files matching given glob pattern",
[INFO] [stdout] 46 | |         value_name = "PATTERN"
[INFO] [stdout] 47 | |     )]
[INFO] [stdout] 48 | |     exclude_globs: Option<Vec<String>>,
[INFO] [stdout]    | |______________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | /     #[structopt(
[INFO] [stdout] 51 | |         short = "o",
[INFO] [stdout] 52 | |         long = "output",
[INFO] [stdout] 53 | |         help = "Path to generate combined output file",
[INFO] [stdout] 54 | |         value_name = "FILE"
[INFO] [stdout] 55 | |     )]
[INFO] [stdout] 56 | |     output: PathBuf,
[INFO] [stdout]    | |___________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | /     #[structopt(
[INFO] [stdout] 59 | |         long = "comment-str",
[INFO] [stdout] 60 | |         help = "The string used to denote a comment. eg '--'",
[INFO] [stdout] 61 | |         default_value = "--"
[INFO] [stdout] 62 | |     )]
[INFO] [stdout] 63 | |     comment_str: String,
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | /     #[structopt(
[INFO] [stdout] 66 | |         long = "file-separator-str",
[INFO] [stdout] 67 | |         help = "Add this between each concatenated file in the output. eg '---'",
[INFO] [stdout] 68 | |         default_value = "----------------------------------------------------------------------------------------------------------------...
[INFO] [stdout] 69 | |     )]
[INFO] [stdout] 70 | |     file_separator_str: String,
[INFO] [stdout]    | |______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | /     #[structopt(
[INFO] [stdout] 73 | |         long = "ensure-each-file-ends-with",
[INFO] [stdout] 74 | |         help = "Add this string to the end of files if it does not exist. eg ';'",
[INFO] [stdout] 75 | |         default_value = ";"
[INFO] [stdout] 76 | |     )]
[INFO] [stdout] 77 | |     ensure_each_file_ends_with_str: String,
[INFO] [stdout]    | |__________________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/file_dag.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 206 |         graph_type: TCGraphType,
[INFO] [stdout] 207 |     ) -> Result<Dot<&DiGraph<FileNode, ()>>, TopCatError> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |   |
[INFO] [stdout]     |                 |   the same lifetime is elided here
[INFO] [stdout]     |                 the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 207 |     ) -> Result<Dot<'_, &DiGraph<FileNode, ()>>, TopCatError> {
[INFO] [stdout]     |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `topcat` (bin "topcat" test) due to 7 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ade154005d7e66fea2762d636c2c354f94e3b041b88ab80cda24a97445536344", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ade154005d7e66fea2762d636c2c354f94e3b041b88ab80cda24a97445536344", kill_on_drop: false }`
[INFO] [stdout] ade154005d7e66fea2762d636c2c354f94e3b041b88ab80cda24a97445536344
