[INFO] fetching crate xidlehook 0.10.0... [INFO] checking xidlehook-0.10.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate xidlehook 0.10.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate xidlehook 0.10.0 [INFO] finished tweaking crates.io crate xidlehook 0.10.0 [INFO] tweaked toml for crates.io crate xidlehook 0.10.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xidlehook 0.10.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 xidlehook 0.10.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 48d9b6ae9d0964923bcad37c9f4e026aa39483ce046bfd71a09222bf6df56919 [INFO] running `Command { std: "docker" "start" "-a" "48d9b6ae9d0964923bcad37c9f4e026aa39483ce046bfd71a09222bf6df56919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48d9b6ae9d0964923bcad37c9f4e026aa39483ce046bfd71a09222bf6df56919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d9b6ae9d0964923bcad37c9f4e026aa39483ce046bfd71a09222bf6df56919", kill_on_drop: false }` [INFO] [stdout] 48d9b6ae9d0964923bcad37c9f4e026aa39483ce046bfd71a09222bf6df56919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 95cfe69d23cdd0ee91564d252a6a96abadc9fdc339b4c818b18bbd959f701d98 [INFO] running `Command { std: "docker" "start" "-a" "95cfe69d23cdd0ee91564d252a6a96abadc9fdc339b4c818b18bbd959f701d98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.2.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libpulse-sys v1.18.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking libpulse-binding v2.23.0 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking xidlehook-core v0.3.0 [INFO] [stderr] Checking xidlehook v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | if let Err(err) = socket::main_loop(&address, socket_tx).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/xidlehook-client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Listen to a unix socket at this address for events. [INFO] [stdout] 27 | | /// Each event is one line of JSON data. [INFO] [stdout] 28 | | #[structopt(long)] [INFO] [stdout] 29 | | socket: 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/bin/xidlehook-client.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / /// The shell command to run on activation, *not* passed to [INFO] [stdout] 48 | | /// "sh -c" (unlike the regular application) [INFO] [stdout] 49 | | #[structopt(long, value_terminator = ";", allow_hyphen_values = true)] [INFO] [stdout] 50 | | activation: Vec, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/xidlehook-client.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / /// The shell command to run on abortion/cancellation (when [INFO] [stdout] 52 | | /// the users stops being idle before the timer was [INFO] [stdout] 53 | | /// deactivated) [INFO] [stdout] 54 | | #[structopt(long, value_terminator = ";", allow_hyphen_values = true)] [INFO] [stdout] 55 | | abortion: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/xidlehook-client.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The shell command to run when the next timer was activated [INFO] [stdout] 57 | | /// instead. Not present in the regular application as it is [INFO] [stdout] 58 | | /// not needed when you can control all the timers (my [INFO] [stdout] 59 | | /// deactivation = next timer's activation basically) [INFO] [stdout] 60 | | #[structopt(long, value_terminator = ";", allow_hyphen_values = true)] [INFO] [stdout] 61 | | deactivation: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xidlehook` (bin "xidlehook-client" test) due to 4 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/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / /// The duration is the number of seconds of inactivity which [INFO] [stdout] 62 | | /// should trigger this timer. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// The command is what is invoked when the idle duration is [INFO] [stdout] ... | [INFO] [stdout] 70 | | #[structopt(long, conflicts_with("print"), required_unless("print"), value_names = &["duration", "command", "canceller"])] [INFO] [stdout] 71 | | pub timer: Vec, [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:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / /// Listen to a unix socket at this address for events. [INFO] [stdout] 74 | | /// Each event is one line of JSON data. [INFO] [stdout] 75 | | #[structopt(long, conflicts_with("print"))] [INFO] [stdout] 76 | | pub socket: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xidlehook` (bin "xidlehook" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | if let Err(err) = socket::main_loop(&address, socket_tx).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/xidlehook-client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Listen to a unix socket at this address for events. [INFO] [stdout] 27 | | /// Each event is one line of JSON data. [INFO] [stdout] 28 | | #[structopt(long)] [INFO] [stdout] 29 | | socket: 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/bin/xidlehook-client.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / /// The shell command to run on activation, *not* passed to [INFO] [stdout] 48 | | /// "sh -c" (unlike the regular application) [INFO] [stdout] 49 | | #[structopt(long, value_terminator = ";", allow_hyphen_values = true)] [INFO] [stdout] 50 | | activation: Vec, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/xidlehook-client.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / /// The shell command to run on abortion/cancellation (when [INFO] [stdout] 52 | | /// the users stops being idle before the timer was [INFO] [stdout] 53 | | /// deactivated) [INFO] [stdout] 54 | | #[structopt(long, value_terminator = ";", allow_hyphen_values = true)] [INFO] [stdout] 55 | | abortion: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/xidlehook-client.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The shell command to run when the next timer was activated [INFO] [stdout] 57 | | /// instead. Not present in the regular application as it is [INFO] [stdout] 58 | | /// not needed when you can control all the timers (my [INFO] [stdout] 59 | | /// deactivation = next timer's activation basically) [INFO] [stdout] 60 | | #[structopt(long, value_terminator = ";", allow_hyphen_values = true)] [INFO] [stdout] 61 | | deactivation: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xidlehook` (bin "xidlehook-client") due to 4 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / /// The duration is the number of seconds of inactivity which [INFO] [stdout] 62 | | /// should trigger this timer. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// The command is what is invoked when the idle duration is [INFO] [stdout] ... | [INFO] [stdout] 70 | | #[structopt(long, conflicts_with("print"), required_unless("print"), value_names = &["duration", "command", "canceller"])] [INFO] [stdout] 71 | | pub timer: Vec, [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:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / /// Listen to a unix socket at this address for events. [INFO] [stdout] 74 | | /// Each event is one line of JSON data. [INFO] [stdout] 75 | | #[structopt(long, conflicts_with("print"))] [INFO] [stdout] 76 | | pub socket: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xidlehook` (bin "xidlehook") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "95cfe69d23cdd0ee91564d252a6a96abadc9fdc339b4c818b18bbd959f701d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cfe69d23cdd0ee91564d252a6a96abadc9fdc339b4c818b18bbd959f701d98", kill_on_drop: false }` [INFO] [stdout] 95cfe69d23cdd0ee91564d252a6a96abadc9fdc339b4c818b18bbd959f701d98