[INFO] cloning repository https://github.com/portal-co/pit-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/pit-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpit-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpit-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bcffdc922ac44539012bbf9ae304c4cd16470d7 [INFO] checking portal-co/pit-core 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%2Fportal-co%2Fpit-core" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/portal-co/pit-core [INFO] finished tweaking git repo https://github.com/portal-co/pit-core [INFO] tweaked toml for git repo https://github.com/portal-co/pit-core written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/pit-core 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/portal-co/pit-core 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 982afe03e8fd57a71afac3d952e6fb7d4e5e32314ddcc2f3a4836a6f054c17dd [INFO] running `Command { std: "docker" "start" "-a" "982afe03e8fd57a71afac3d952e6fb7d4e5e32314ddcc2f3a4836a6f054c17dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "982afe03e8fd57a71afac3d952e6fb7d4e5e32314ddcc2f3a4836a6f054c17dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982afe03e8fd57a71afac3d952e6fb7d4e5e32314ddcc2f3a4836a6f054c17dd", kill_on_drop: false }` [INFO] [stdout] 982afe03e8fd57a71afac3d952e6fb7d4e5e32314ddcc2f3a4836a6f054c17dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9373cc33c4176c2973630bbf2575e98180fe72d4e6bbcdd6ee461967e2ef44a2 [INFO] running `Command { std: "docker" "start" "-a" "9373cc33c4176c2973630bbf2575e98180fe72d4e6bbcdd6ee461967e2ef44a2", kill_on_drop: false }` [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking pit-core v0.4.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use derive_more::Display; [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` and `is_not` [INFO] [stdout] --> src/lib.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | character::complete::{alpha1, char, multispace0, none_of, space0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num` [INFO] [stdout] --> src/generics.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{fmt::Formatter, num}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `number` [INFO] [stdout] --> src/generics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::_pcode::*` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | pub use crate::_pcode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::_generics::*` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub use crate::_generics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use derive_more::Display; [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` and `is_not` [INFO] [stdout] --> src/lib.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | character::complete::{alpha1, char, multispace0, none_of, space0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num` [INFO] [stdout] --> src/generics.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{fmt::Formatter, num}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `number` [INFO] [stdout] --> src/generics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::_pcode::*` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | pub use crate::_pcode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::_generics::*` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub use crate::_generics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 351 | / match a.strip_prefix("R") { [INFO] [stdout] 352 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 390 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 391 | 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 variable: `a` [INFO] [stdout] --> src/generics.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | to_fill: (0..j).filter_map(|a| stack.pop()).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/generics.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | to_fill: (0..b).filter_map(|a| stack.pop()).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 351 | / match a.strip_prefix("R") { [INFO] [stdout] 352 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 390 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 391 | 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 variable: `a` [INFO] [stdout] --> src/generics.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | to_fill: (0..j).filter_map(|a| stack.pop()).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/generics.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | to_fill: (0..b).filter_map(|a| stack.pop()).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARITY_KEY` is never used [INFO] [stdout] --> src/generics.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ARITY_KEY: &'static str = "generic_params.modern"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERIC_KEY` is never used [INFO] [stdout] --> src/generics.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENERIC_KEY: &'static str = "generics.modern"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Mangle` is never used [INFO] [stdout] --> src/generics.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Mangle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mangled` is never constructed [INFO] [stdout] --> src/generics.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Mangled<'a>(pub &'a (dyn Mangle + 'a)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Param` is never used [INFO] [stdout] --> src/generics.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Param { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PExpr` is never used [INFO] [stdout] --> src/pcode.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PExpr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pat` is never constructed [INFO] [stdout] --> src/pcode.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Pat { [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:529:16 [INFO] [stdout] | [INFO] [stdout] 529 | 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 `pit-core` (lib) due to 1 previous error; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `ARITY_KEY` is never used [INFO] [stdout] --> src/generics.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ARITY_KEY: &'static str = "generic_params.modern"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERIC_KEY` is never used [INFO] [stdout] --> src/generics.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const GENERIC_KEY: &'static str = "generics.modern"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Mangle` is never used [INFO] [stdout] --> src/generics.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Mangle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mangled` is never constructed [INFO] [stdout] --> src/generics.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Mangled<'a>(pub &'a (dyn Mangle + 'a)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Param` is never used [INFO] [stdout] --> src/generics.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Param { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PExpr` is never used [INFO] [stdout] --> src/pcode.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PExpr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pat` is never constructed [INFO] [stdout] --> src/pcode.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Pat { [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:529:16 [INFO] [stdout] | [INFO] [stdout] 529 | 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 `pit-core` (lib test) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9373cc33c4176c2973630bbf2575e98180fe72d4e6bbcdd6ee461967e2ef44a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9373cc33c4176c2973630bbf2575e98180fe72d4e6bbcdd6ee461967e2ef44a2", kill_on_drop: false }` [INFO] [stdout] 9373cc33c4176c2973630bbf2575e98180fe72d4e6bbcdd6ee461967e2ef44a2