[INFO] fetching crate process-image 0.2.2... [INFO] checking process-image-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate process-image 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate process-image 0.2.2 [INFO] finished tweaking crates.io crate process-image 0.2.2 [INFO] tweaked toml for crates.io crate process-image 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate process-image 0.2.2 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 process-image 0.2.2 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] 07a5e651e831ac0e5bb6dd837c5bb03d2e49d232affb0e50272c3b5ec1c6d593 [INFO] running `Command { std: "docker" "start" "-a" "07a5e651e831ac0e5bb6dd837c5bb03d2e49d232affb0e50272c3b5ec1c6d593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07a5e651e831ac0e5bb6dd837c5bb03d2e49d232affb0e50272c3b5ec1c6d593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a5e651e831ac0e5bb6dd837c5bb03d2e49d232affb0e50272c3b5ec1c6d593", kill_on_drop: false }` [INFO] [stdout] 07a5e651e831ac0e5bb6dd837c5bb03d2e49d232affb0e50272c3b5ec1c6d593 [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] 9a3e9210bf0dc49418985d956b73fe1f0adb4075bb24462573a63611fdc4c10e [INFO] running `Command { std: "docker" "start" "-a" "9a3e9210bf0dc49418985d956b73fe1f0adb4075bb24462573a63611fdc4c10e", kill_on_drop: false }` [INFO] [stderr] Checking process-image v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:787:18 [INFO] [stdout] | [INFO] [stdout] 787 | let pi = TestPi::try_from(&pi_buffer).unwrap(); [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, Infallible> [INFO] [stdout] --> src/lib.rs:794:22 [INFO] [stdout] | [INFO] [stdout] 794 | let mut pi = TestPiMut::try_from(&mut pi_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:807:18 [INFO] [stdout] | [INFO] [stdout] 807 | let pi = TestPi::try_from(&pi_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:670:27 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn as_mut(&mut self) -> $ProcessImageMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 819 | / process_image_owned! { [INFO] [stdout] 820 | | pub struct TestPiOwned, mut TestPiOwnedMut: 4 { [INFO] [stdout] 821 | | pub btn_start: (X, 1, 0), [INFO] [stdout] 822 | | pub btn_stop: (1, 1), [INFO] [stdout] ... | [INFO] [stdout] 827 | | } [INFO] [stdout] | |_____- in this macro invocation [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] = note: this warning originates in the macro `process_image_owned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | pub fn as_mut(&mut self) -> $ProcessImageMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:847:22 [INFO] [stdout] | [INFO] [stdout] 847 | let mut pi = TestPiOwned::try_from(&pi_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:670:27 [INFO] [stdout] | [INFO] [stdout] 670 | pub fn as_mut(&mut self) -> $ProcessImageMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 898 | / process_image_owned! { [INFO] [stdout] 899 | | pub struct TestPiPanic, mut TestPiPanicMut: 12 { [INFO] [stdout] 900 | | pub unaligned_word: (W, 1), [INFO] [stdout] 901 | | pub unaligned_dword: (D, 2), [INFO] [stdout] ... | [INFO] [stdout] 904 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `process_image_owned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 670 | pub fn as_mut(&mut self) -> $ProcessImageMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:912:18 [INFO] [stdout] | [INFO] [stdout] 912 | let pi = TestPiPanic::try_from(&[ [INFO] [stdout] | __________________^ [INFO] [stdout] 913 | | 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, [INFO] [stdout] 914 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:925:22 [INFO] [stdout] | [INFO] [stdout] 925 | let mut pi = TestPiPanic::try_from(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 926 | | 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, [INFO] [stdout] 927 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:939:18 [INFO] [stdout] | [INFO] [stdout] 939 | let pi = TestPiPanic::try_from(&[ [INFO] [stdout] | __________________^ [INFO] [stdout] 940 | | 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, [INFO] [stdout] 941 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:952:22 [INFO] [stdout] | [INFO] [stdout] 952 | let mut pi = TestPiPanic::try_from(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 953 | | 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, [INFO] [stdout] 954 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:966:18 [INFO] [stdout] | [INFO] [stdout] 966 | let pi = TestPiPanic::try_from(&[ [INFO] [stdout] | __________________^ [INFO] [stdout] 967 | | 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, [INFO] [stdout] 968 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:979:22 [INFO] [stdout] | [INFO] [stdout] 979 | let mut pi = TestPiPanic::try_from(&[ [INFO] [stdout] | ______________________^ [INFO] [stdout] 980 | | 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, 0xde, 0xad, 0xbe, 0xef, [INFO] [stdout] 981 | | ]) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `process-image` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a3e9210bf0dc49418985d956b73fe1f0adb4075bb24462573a63611fdc4c10e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3e9210bf0dc49418985d956b73fe1f0adb4075bb24462573a63611fdc4c10e", kill_on_drop: false }` [INFO] [stdout] 9a3e9210bf0dc49418985d956b73fe1f0adb4075bb24462573a63611fdc4c10e