[INFO] fetching crate pidl-core 0.1.1... [INFO] checking pidl-core-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pidl-core 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pidl-core 0.1.1 [INFO] finished tweaking crates.io crate pidl-core 0.1.1 [INFO] tweaked toml for crates.io crate pidl-core 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pidl-core 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [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] 2b5dbd1295b2182a9e50c8fe2679e58981a0f5c311c98b7ce749a4d0f18b10f2 [INFO] running `Command { std: "docker" "start" "-a" "2b5dbd1295b2182a9e50c8fe2679e58981a0f5c311c98b7ce749a4d0f18b10f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b5dbd1295b2182a9e50c8fe2679e58981a0f5c311c98b7ce749a4d0f18b10f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b5dbd1295b2182a9e50c8fe2679e58981a0f5c311c98b7ce749a4d0f18b10f2", kill_on_drop: false }` [INFO] [stdout] 2b5dbd1295b2182a9e50c8fe2679e58981a0f5c311c98b7ce749a4d0f18b10f2 [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] 805f6b2acd4dcbd5a4e4fc138b94bce0a5538f35fb02e167a1bcb3d7120a63be [INFO] running `Command { std: "docker" "start" "-a" "805f6b2acd4dcbd5a4e4fc138b94bce0a5538f35fb02e167a1bcb3d7120a63be", kill_on_drop: false }` [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking pidl-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `alpha1`, `combinator::opt`, `error::Error`, `is_not`, and `take` [INFO] [stdout] --> src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `combinator::opt`, `error::Error`, `is_not`, and `take` [INFO] [stdout] --> src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 129 | / match a.strip_prefix("R") { [INFO] [stdout] 130 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 163 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 129 | / match a.strip_prefix("R") { [INFO] [stdout] 130 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 163 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = write!(s, "{}", self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 32], Infallible> [INFO] [stdout] --> src/lib.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | return s.finalize().try_into().unwrap(); [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 `pidl-core` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = write!(s, "{}", self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 32], Infallible> [INFO] [stdout] --> src/lib.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | return s.finalize().try_into().unwrap(); [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 `pidl-core` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "805f6b2acd4dcbd5a4e4fc138b94bce0a5538f35fb02e167a1bcb3d7120a63be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805f6b2acd4dcbd5a4e4fc138b94bce0a5538f35fb02e167a1bcb3d7120a63be", kill_on_drop: false }` [INFO] [stdout] 805f6b2acd4dcbd5a4e4fc138b94bce0a5538f35fb02e167a1bcb3d7120a63be