[INFO] cloning repository https://github.com/LuisCardosoOliveira/hammare [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LuisCardosoOliveira/hammare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuisCardosoOliveira%2Fhammare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuisCardosoOliveira%2Fhammare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a15659b429feef1d5f1fcd4502708a177cdeac4 [INFO] checking LuisCardosoOliveira/hammare 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%2FLuisCardosoOliveira%2Fhammare" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LuisCardosoOliveira/hammare [INFO] finished tweaking git repo https://github.com/LuisCardosoOliveira/hammare [INFO] tweaked toml for git repo https://github.com/LuisCardosoOliveira/hammare written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LuisCardosoOliveira/hammare 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/LuisCardosoOliveira/hammare 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8fa75aa494df8de7ff2f076351c6c8cd50961710112c05d0d5214eb61c4c0c00 [INFO] running `Command { std: "docker" "start" "-a" "8fa75aa494df8de7ff2f076351c6c8cd50961710112c05d0d5214eb61c4c0c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fa75aa494df8de7ff2f076351c6c8cd50961710112c05d0d5214eb61c4c0c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa75aa494df8de7ff2f076351c6c8cd50961710112c05d0d5214eb61c4c0c00", kill_on_drop: false }` [INFO] [stdout] 8fa75aa494df8de7ff2f076351c6c8cd50961710112c05d0d5214eb61c4c0c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4efbf0f352eeddfa69dc95ea8a724a829742cc81b6aeae88120f818843400124 [INFO] running `Command { std: "docker" "start" "-a" "4efbf0f352eeddfa69dc95ea8a724a829742cc81b6aeae88120f818843400124", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking hammare v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut offset = &mut self.offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | ... self.offset.y.saturating_add(self.terminal.size().height.try_into().expect("Failed while trying to convert terminal size to usize")), [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/editor.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | let width: usize = self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 185 | | .terminal [INFO] [stdout] 186 | | .size() [INFO] [stdout] 187 | | .width [INFO] [stdout] 188 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | / self.terminal [INFO] [stdout] 232 | | .size() [INFO] [stdout] 233 | | .width [INFO] [stdout] 234 | | .try_into() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | let width = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 290 | | .terminal [INFO] [stdout] 291 | | .size() [INFO] [stdout] 292 | | .width [INFO] [stdout] 293 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let height = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 296 | | .terminal [INFO] [stdout] 297 | | .size() [INFO] [stdout] 298 | | .height [INFO] [stdout] 299 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:317:31 [INFO] [stdout] | [INFO] [stdout] 317 | let terminal_height = self [INFO] [stdout] | _______________________________^ [INFO] [stdout] 318 | | .terminal [INFO] [stdout] 319 | | .size() [INFO] [stdout] 320 | | .height [INFO] [stdout] 321 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | let width: usize = self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 390 | | .terminal [INFO] [stdout] 391 | | .size() [INFO] [stdout] 392 | | .width [INFO] [stdout] 393 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | let width = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 408 | | .terminal [INFO] [stdout] 409 | | .size() [INFO] [stdout] 410 | | .width [INFO] [stdout] 411 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | / terminal_row [INFO] [stdout] 426 | | .try_into() [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hammare` (bin "hammare") due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/editor.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut offset = &mut self.offset; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | ... self.offset.y.saturating_add(self.terminal.size().height.try_into().expect("Failed while trying to convert terminal size to usize")), [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/editor.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | let width: usize = self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 185 | | .terminal [INFO] [stdout] 186 | | .size() [INFO] [stdout] 187 | | .width [INFO] [stdout] 188 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | / self.terminal [INFO] [stdout] 232 | | .size() [INFO] [stdout] 233 | | .width [INFO] [stdout] 234 | | .try_into() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:289:21 [INFO] [stdout] | [INFO] [stdout] 289 | let width = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 290 | | .terminal [INFO] [stdout] 291 | | .size() [INFO] [stdout] 292 | | .width [INFO] [stdout] 293 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let height = self [INFO] [stdout] | ______________________^ [INFO] [stdout] 296 | | .terminal [INFO] [stdout] 297 | | .size() [INFO] [stdout] 298 | | .height [INFO] [stdout] 299 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:317:31 [INFO] [stdout] | [INFO] [stdout] 317 | let terminal_height = self [INFO] [stdout] | _______________________________^ [INFO] [stdout] 318 | | .terminal [INFO] [stdout] 319 | | .size() [INFO] [stdout] 320 | | .height [INFO] [stdout] 321 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | let width: usize = self [INFO] [stdout] | ____________________________^ [INFO] [stdout] 390 | | .terminal [INFO] [stdout] 391 | | .size() [INFO] [stdout] 392 | | .width [INFO] [stdout] 393 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | let width = self [INFO] [stdout] | _____________________^ [INFO] [stdout] 408 | | .terminal [INFO] [stdout] 409 | | .size() [INFO] [stdout] 410 | | .width [INFO] [stdout] 411 | | .try_into() [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/editor.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | / terminal_row [INFO] [stdout] 426 | | .try_into() [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hammare` (bin "hammare" test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4efbf0f352eeddfa69dc95ea8a724a829742cc81b6aeae88120f818843400124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efbf0f352eeddfa69dc95ea8a724a829742cc81b6aeae88120f818843400124", kill_on_drop: false }` [INFO] [stdout] 4efbf0f352eeddfa69dc95ea8a724a829742cc81b6aeae88120f818843400124