[INFO] cloning repository https://github.com/ThatOnePizza/gpt_explorer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThatOnePizza/gpt_explorer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatOnePizza%2Fgpt_explorer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatOnePizza%2Fgpt_explorer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c9ec72ed0266eeade965f55fe7ed3fa6dc29c4f [INFO] checking ThatOnePizza/gpt_explorer 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%2FThatOnePizza%2Fgpt_explorer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThatOnePizza/gpt_explorer [INFO] finished tweaking git repo https://github.com/ThatOnePizza/gpt_explorer [INFO] tweaked toml for git repo https://github.com/ThatOnePizza/gpt_explorer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThatOnePizza/gpt_explorer 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/ThatOnePizza/gpt_explorer 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 716bd46e5dbb4d7404480a27f12f45226c0cbdca06bdc975a228582ae6e3e82e [INFO] running `Command { std: "docker" "start" "-a" "716bd46e5dbb4d7404480a27f12f45226c0cbdca06bdc975a228582ae6e3e82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "716bd46e5dbb4d7404480a27f12f45226c0cbdca06bdc975a228582ae6e3e82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716bd46e5dbb4d7404480a27f12f45226c0cbdca06bdc975a228582ae6e3e82e", kill_on_drop: false }` [INFO] [stdout] 716bd46e5dbb4d7404480a27f12f45226c0cbdca06bdc975a228582ae6e3e82e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9ae40c52fd1c50fc48cf6f99d4364c6842179759146aba2031ef582f9bea0775 [INFO] running `Command { std: "docker" "start" "-a" "9ae40c52fd1c50fc48cf6f99d4364c6842179759146aba2031ef582f9bea0775", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking gpt_explorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gpt.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GptHeader<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 22 | pub signature: Box<&'a [u8]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub revision: Box<&'a [u8]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub head_crc32: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | // 4 null bytes [INFO] [stdout] 27 | pub my_lba: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub alt_lba: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub first_usable_lba: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub last_usable_lba: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub guid: Box<&'a [u8]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub part_crc32: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpt.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_gpt_header(buff: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_gpt_header(buff: &Vec) -> Result, GPTError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/gpt.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | signature: Box::new(sign.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/gpt.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / buff[table_addr..table_end] [INFO] [stdout] 120 | | .try_into() [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 `gpt_explorer` (bin "gpt_explorer" test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gpt.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct GptHeader<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 22 | pub signature: Box<&'a [u8]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub revision: Box<&'a [u8]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub head_crc32: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | // 4 null bytes [INFO] [stdout] 27 | pub my_lba: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub alt_lba: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | pub first_usable_lba: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub last_usable_lba: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub guid: Box<&'a [u8]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub part_crc32: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpt.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_gpt_header(buff: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_gpt_header(buff: &Vec) -> Result, GPTError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/gpt.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | signature: Box::new(sign.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/gpt.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / buff[table_addr..table_end] [INFO] [stdout] 120 | | .try_into() [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 `gpt_explorer` (bin "gpt_explorer") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9ae40c52fd1c50fc48cf6f99d4364c6842179759146aba2031ef582f9bea0775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae40c52fd1c50fc48cf6f99d4364c6842179759146aba2031ef582f9bea0775", kill_on_drop: false }` [INFO] [stdout] 9ae40c52fd1c50fc48cf6f99d4364c6842179759146aba2031ef582f9bea0775