[INFO] fetching crate impc 0.2.2... [INFO] checking impc-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate impc 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate impc 0.2.2 [INFO] finished tweaking crates.io crate impc 0.2.2 [INFO] tweaked toml for crates.io crate impc 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate impc 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 impc 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] [stderr] Blocking waiting for file lock on package cache [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] ef152bf51051f817ef46d68adddebb33b14c3ebe7c3c763d8942cfab45a1920b [INFO] running `Command { std: "docker" "start" "-a" "ef152bf51051f817ef46d68adddebb33b14c3ebe7c3c763d8942cfab45a1920b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef152bf51051f817ef46d68adddebb33b14c3ebe7c3c763d8942cfab45a1920b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef152bf51051f817ef46d68adddebb33b14c3ebe7c3c763d8942cfab45a1920b", kill_on_drop: false }` [INFO] [stdout] ef152bf51051f817ef46d68adddebb33b14c3ebe7c3c763d8942cfab45a1920b [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] 66295535ce2c47c5a9aae644dc621f72e250f3bf077cfff9acdb8dcc1e142de9 [INFO] running `Command { std: "docker" "start" "-a" "66295535ce2c47c5a9aae644dc621f72e250f3bf077cfff9acdb8dcc1e142de9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Checking better-panic v0.3.0 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking impc v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/int.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | fn try_from(value: usize) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 116 | | value.try_into().map(Self) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 128 | imp_int_try_from_usize!(u8, u16, u32, u64, u128, BigUint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `imp_int_try_from_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/int.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | value.try_into().map(Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | imp_int_try_from_usize!(u8, u16, u32, u64, u128, BigUint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `imp_int_try_from_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/int.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | value.try_into().map(Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | imp_int_try_from_usize!(u8, u16, u32, u64, u128, BigUint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `imp_int_try_from_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:50:70 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn token<'tok, 'src, T, E>(t: &'tok T) -> impl Parser<&'src [T], &T, E> + Clone [INFO] [stdout] | ---- the lifetime is named here ^^ the same 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: consistently use `'tok` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn token<'tok, 'src, T, E>(t: &'tok T) -> impl Parser<&'src [T], &'tok T, E> + Clone [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `impc` (bin "impc") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/int.rs:115:68 [INFO] [stdout] | [INFO] [stdout] 115 | fn try_from(value: usize) -> Result { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 116 | | value.try_into().map(Self) [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 128 | imp_int_try_from_usize!(u8, u16, u32, u64, u128, BigUint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `imp_int_try_from_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/int.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | value.try_into().map(Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | imp_int_try_from_usize!(u8, u16, u32, u64, u128, BigUint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `imp_int_try_from_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/int.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | value.try_into().map(Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | imp_int_try_from_usize!(u8, u16, u32, u64, u128, BigUint); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `imp_int_try_from_usize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:50:70 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn token<'tok, 'src, T, E>(t: &'tok T) -> impl Parser<&'src [T], &T, E> + Clone [INFO] [stdout] | ---- the lifetime is named here ^^ the same 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: consistently use `'tok` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn token<'tok, 'src, T, E>(t: &'tok T) -> impl Parser<&'src [T], &'tok T, E> + Clone [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `impc` (bin "impc" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "66295535ce2c47c5a9aae644dc621f72e250f3bf077cfff9acdb8dcc1e142de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66295535ce2c47c5a9aae644dc621f72e250f3bf077cfff9acdb8dcc1e142de9", kill_on_drop: false }` [INFO] [stdout] 66295535ce2c47c5a9aae644dc621f72e250f3bf077cfff9acdb8dcc1e142de9