[INFO] cloning repository https://github.com/JanKanis/streamsplit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanKanis/streamsplit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanKanis%2Fstreamsplit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanKanis%2Fstreamsplit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d90e1e11d53df0e6b5ac3023464401c644418e72 [INFO] checking JanKanis/streamsplit against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanKanis%2Fstreamsplit" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JanKanis/streamsplit [INFO] finished tweaking git repo https://github.com/JanKanis/streamsplit [INFO] tweaked toml for git repo https://github.com/JanKanis/streamsplit written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JanKanis/streamsplit 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 git repo https://github.com/JanKanis/streamsplit 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8f082fdc334d1784ce460ed01ba191d837f4b676d19bb6c98be7e532cac9b7de [INFO] running `Command { std: "docker" "start" "-a" "8f082fdc334d1784ce460ed01ba191d837f4b676d19bb6c98be7e532cac9b7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f082fdc334d1784ce460ed01ba191d837f4b676d19bb6c98be7e532cac9b7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f082fdc334d1784ce460ed01ba191d837f4b676d19bb6c98be7e532cac9b7de", kill_on_drop: false }` [INFO] [stdout] 8f082fdc334d1784ce460ed01ba191d837f4b676d19bb6c98be7e532cac9b7de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b88159b529234709b6c7c56cd00267bba075544fbbe7b5660c3b1e16f5a5cc3e [INFO] running `Command { std: "docker" "start" "-a" "b88159b529234709b6c7c56cd00267bba075544fbbe7b5660c3b1e16f5a5cc3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking streamsplit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transfer.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(err_context: &str, verbose: bool) -> Transfer { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 21 | pub fn new(err_context: &str, verbose: bool) -> Transfer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transfer.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(err_context: &str, verbose: bool) -> Transfer { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 21 | pub fn new(err_context: &str, verbose: bool) -> Transfer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / /// The shell used to interpret commands. Defaults to /bin/sh. [INFO] [stdout] 54 | | #[structopt(long, default_value = "/bin/sh")] [INFO] [stdout] 55 | | sh: String, [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 [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / /// input file. If not specified, stdin is used [INFO] [stdout] 115 | | #[structopt(short, long)] [INFO] [stdout] 116 | | input: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / /// Output file for the merged stream. If not used, the merged stream will be written to the [INFO] [stdout] 140 | | /// leading process's SUBCOMMAND or standard out. [INFO] [stdout] 141 | | #[structopt(short, long)] [INFO] [stdout] 142 | | output: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / /// The directory to create the merging socket. Defaults to $XDG_RUNTIME_DIR or /tmp if that is not set. [INFO] [stdout] 145 | | #[structopt(long, env = "XDG_RUNTIME_DIR", default_value = "/tmp")] [INFO] [stdout] 146 | | socket_dir: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | usize::try_from(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `streamsplit` (bin "streamsplit") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/fastcat.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// input file. If not specified, stdin is used [INFO] [stdout] 17 | | input: Option, [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 [INFO] [stdout] --> src/bin/fastcat.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Output file. If not specified stdout is used [INFO] [stdout] 20 | | #[structopt(short, long)] [INFO] [stdout] 21 | | output: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `streamsplit` (bin "fastcat") due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/fastcat.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// input file. If not specified, stdin is used [INFO] [stdout] 17 | | input: Option, [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 [INFO] [stdout] --> src/bin/fastcat.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Output file. If not specified stdout is used [INFO] [stdout] 20 | | #[structopt(short, long)] [INFO] [stdout] 21 | | output: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `streamsplit` (bin "fastcat" test) due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / /// The shell used to interpret commands. Defaults to /bin/sh. [INFO] [stdout] 54 | | #[structopt(long, default_value = "/bin/sh")] [INFO] [stdout] 55 | | sh: String, [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 [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / /// input file. If not specified, stdin is used [INFO] [stdout] 115 | | #[structopt(short, long)] [INFO] [stdout] 116 | | input: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / /// Output file for the merged stream. If not used, the merged stream will be written to the [INFO] [stdout] 140 | | /// leading process's SUBCOMMAND or standard out. [INFO] [stdout] 141 | | #[structopt(short, long)] [INFO] [stdout] 142 | | output: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / /// The directory to create the merging socket. Defaults to $XDG_RUNTIME_DIR or /tmp if that is not set. [INFO] [stdout] 145 | | #[structopt(long, env = "XDG_RUNTIME_DIR", default_value = "/tmp")] [INFO] [stdout] 146 | | socket_dir: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | usize::try_from(self).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `streamsplit` (bin "streamsplit" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b88159b529234709b6c7c56cd00267bba075544fbbe7b5660c3b1e16f5a5cc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88159b529234709b6c7c56cd00267bba075544fbbe7b5660c3b1e16f5a5cc3e", kill_on_drop: false }` [INFO] [stdout] b88159b529234709b6c7c56cd00267bba075544fbbe7b5660c3b1e16f5a5cc3e