[INFO] cloning repository https://github.com/ryuma017/crabcan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryuma017/crabcan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryuma017%2Fcrabcan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryuma017%2Fcrabcan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 90c1b6aec3281f1912c08dec6263f944cb2aa297
[INFO] checking ryuma017/crabcan 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%2Fryuma017%2Fcrabcan" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ryuma017/crabcan
[INFO] finished tweaking git repo https://github.com/ryuma017/crabcan
[INFO] tweaked toml for git repo https://github.com/ryuma017/crabcan written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ryuma017/crabcan 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/ryuma017/crabcan 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a041f25a9c790e873111dc779c9920169cf0be0b1def02b471ac4ba085bba0e5
[INFO] running `Command { std: "docker" "start" "-a" "a041f25a9c790e873111dc779c9920169cf0be0b1def02b471ac4ba085bba0e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a041f25a9c790e873111dc779c9920169cf0be0b1def02b471ac4ba085bba0e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a041f25a9c790e873111dc779c9920169cf0be0b1def02b471ac4ba085bba0e5", kill_on_drop: false }`
[INFO] [stdout] a041f25a9c790e873111dc779c9920169cf0be0b1def02b471ac4ba085bba0e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 13cd881c780a1bb7cd3e8ab7c5bf3f1efde128c8982683587df5aa731cb5ca8a
[INFO] running `Command { std: "docker" "start" "-a" "13cd881c780a1bb7cd3e8ab7c5bf3f1efde128c8982683587df5aa731cb5ca8a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking os_str_bytes v6.3.0
[INFO] [stderr]     Checking once_cell v1.13.1
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking nix v0.22.3
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking scan_fmt v0.2.6
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.2.17
[INFO] [stderr]     Checking clap v3.2.17
[INFO] [stderr]     Checking crabcan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `ContainerOpts` is never constructed
[INFO] [stdout]  --> src/config.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ContainerOpts {
[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/config.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl ContainerOpts {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Container` is never constructed
[INFO] [stdout]  --> src/container.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Container {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create`, and `clean_exit` are never used
[INFO] [stdout]   --> src/container.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Container {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(args: Args) -> Result<Container, Errcode> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn create(&mut self) -> Result<(), Errcode> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn clean_exit(&mut self) -> Result<(), Errcode> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_linux_version` is never used
[INFO] [stdout]   --> src/container.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn check_linux_version() -> Result<(), Errcode> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start` is never used
[INFO] [stdout]   --> src/container.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn start(args: Args) -> Result<(), Errcode> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotSupported`, `SocketError`, and `ContainerError` are never constructed
[INFO] [stdout]   --> src/errors.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Errcode {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout]  7 |     ArgumentInvalid(&'static str),
[INFO] [stdout]  8 |     NotSupported(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  9 |     SocketError(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 10 |     ContainerError(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_socketpair` is never used
[INFO] [stdout]  --> src/ipc.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn generate_socketpair() -> Result<(RawFd, RawFd), Errcode> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_boolean` is never used
[INFO] [stdout]   --> src/ipc.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn send_boolean(fd: RawFd, boolean: bool) -> Result<(), Errcode> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recv_boolean` is never used
[INFO] [stdout]   --> src/ipc.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn recv_boolean(fd: RawFd) -> Result<bool, Errcode> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/cli.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub command: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crabcan` (bin "crabcan") due to 1 previous error; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `ContainerOpts` is never constructed
[INFO] [stdout]  --> src/config.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ContainerOpts {
[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/config.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl ContainerOpts {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Container` is never constructed
[INFO] [stdout]  --> src/container.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Container {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create`, and `clean_exit` are never used
[INFO] [stdout]   --> src/container.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Container {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(args: Args) -> Result<Container, Errcode> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn create(&mut self) -> Result<(), Errcode> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn clean_exit(&mut self) -> Result<(), Errcode> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_linux_version` is never used
[INFO] [stdout]   --> src/container.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn check_linux_version() -> Result<(), Errcode> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start` is never used
[INFO] [stdout]   --> src/container.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn start(args: Args) -> Result<(), Errcode> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotSupported`, `SocketError`, and `ContainerError` are never constructed
[INFO] [stdout]   --> src/errors.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Errcode {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout]  7 |     ArgumentInvalid(&'static str),
[INFO] [stdout]  8 |     NotSupported(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  9 |     SocketError(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 10 |     ContainerError(u8),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Errcode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_socketpair` is never used
[INFO] [stdout]  --> src/ipc.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn generate_socketpair() -> Result<(RawFd, RawFd), Errcode> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_boolean` is never used
[INFO] [stdout]   --> src/ipc.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn send_boolean(fd: RawFd, boolean: bool) -> Result<(), Errcode> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recv_boolean` is never used
[INFO] [stdout]   --> src/ipc.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn recv_boolean(fd: RawFd) -> Result<bool, Errcode> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/cli.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub command: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crabcan` (bin "crabcan" test) due to 1 previous error; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "13cd881c780a1bb7cd3e8ab7c5bf3f1efde128c8982683587df5aa731cb5ca8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13cd881c780a1bb7cd3e8ab7c5bf3f1efde128c8982683587df5aa731cb5ca8a", kill_on_drop: false }`
[INFO] [stdout] 13cd881c780a1bb7cd3e8ab7c5bf3f1efde128c8982683587df5aa731cb5ca8a
