[INFO] cloning repository https://github.com/luxluth/dsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luxluth/dsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluxluth%2Fdsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluxluth%2Fdsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cac5a8998b1d0f3862a8d477f7e520a8614d1a8 [INFO] checking luxluth/dsh 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%2Fluxluth%2Fdsh" "/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/luxluth/dsh [INFO] finished tweaking git repo https://github.com/luxluth/dsh [INFO] tweaked toml for git repo https://github.com/luxluth/dsh written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luxluth/dsh 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/luxluth/dsh 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] c1f89e9c4a680a597e368fc58aa6e943dc08b4e3170f1e4b8d69f7ddfc054cc2 [INFO] running `Command { std: "docker" "start" "-a" "c1f89e9c4a680a597e368fc58aa6e943dc08b4e3170f1e4b8d69f7ddfc054cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1f89e9c4a680a597e368fc58aa6e943dc08b4e3170f1e4b8d69f7ddfc054cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f89e9c4a680a597e368fc58aa6e943dc08b4e3170f1e4b8d69f7ddfc054cc2", kill_on_drop: false }` [INFO] [stdout] c1f89e9c4a680a597e368fc58aa6e943dc08b4e3170f1e4b8d69f7ddfc054cc2 [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] d95c39dd535f6966064544c56efa8286efb8e4f3346c3e6bc0f847da1b49191a [INFO] running `Command { std: "docker" "start" "-a" "d95c39dd535f6966064544c56efa8286efb8e4f3346c3e6bc0f847da1b49191a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Checking tinytoken v0.1.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking termion v4.0.3 [INFO] [stderr] Checking dsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CmdParser` is never constructed [INFO] [stdout] --> src/cmd.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct CmdParser; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cmd.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct Col(u32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Col` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/cmd.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 309 | impl CmdParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 310 | pub fn parse(line: &str) -> Result, CmdParsingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:272:72 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn tokenize(line: &str) -> Result, CmdParsingError> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 273 | | let mut it = line.chars().into_iter().peekable(); [INFO] [stdout] 274 | | let mut tokens = vec![]; [INFO] [stdout] 275 | | let mut col: u32 = 0; [INFO] [stdout] ... | [INFO] [stdout] 305 | | Ok(tokens) [INFO] [stdout] 306 | | } [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, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | Ok(tokens) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:310:67 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn parse(line: &str) -> Result, CmdParsingError> { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 311 | | let cmds = vec![]; [INFO] [stdout] 312 | | let _tokens = Token::tokenize(line)?; [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/cmd.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | let _tokens = Token::tokenize(line)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | let _tokens = Token::tokenize(line)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | let _tokens = Token::tokenize(line)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | Ok(cmds) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CmdParser` is never constructed [INFO] [stdout] --> src/cmd.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct CmdParser; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cmd.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct Col(u32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Col` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/cmd.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 309 | impl CmdParser { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 310 | pub fn parse(line: &str) -> Result, CmdParsingError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:272:72 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn tokenize(line: &str) -> Result, CmdParsingError> { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 273 | | let mut it = line.chars().into_iter().peekable(); [INFO] [stdout] 274 | | let mut tokens = vec![]; [INFO] [stdout] 275 | | let mut col: u32 = 0; [INFO] [stdout] ... | [INFO] [stdout] 305 | | Ok(tokens) [INFO] [stdout] 306 | | } [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, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | Ok(tokens) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:310:67 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn parse(line: &str) -> Result, CmdParsingError> { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 311 | | let cmds = vec![]; [INFO] [stdout] 312 | | let _tokens = Token::tokenize(line)?; [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/cmd.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | let _tokens = Token::tokenize(line)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | let _tokens = Token::tokenize(line)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | let _tokens = Token::tokenize(line)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, CmdParsingError> [INFO] [stdout] --> src/cmd.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | Ok(cmds) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dsh` (lib test) due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dsh` (lib) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d95c39dd535f6966064544c56efa8286efb8e4f3346c3e6bc0f847da1b49191a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95c39dd535f6966064544c56efa8286efb8e4f3346c3e6bc0f847da1b49191a", kill_on_drop: false }` [INFO] [stdout] d95c39dd535f6966064544c56efa8286efb8e4f3346c3e6bc0f847da1b49191a