[INFO] fetching crate flexint 0.1.0... [INFO] checking flexint-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate flexint 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate flexint 0.1.0 [INFO] finished tweaking crates.io crate flexint 0.1.0 [INFO] tweaked toml for crates.io crate flexint 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flexint 0.1.0 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 107 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9cdaed8c91ae60b7bc034e9cbc481b856503635af2b14a1ad5907a16d952defc [INFO] running `Command { std: "docker" "start" "-a" "9cdaed8c91ae60b7bc034e9cbc481b856503635af2b14a1ad5907a16d952defc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cdaed8c91ae60b7bc034e9cbc481b856503635af2b14a1ad5907a16d952defc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cdaed8c91ae60b7bc034e9cbc481b856503635af2b14a1ad5907a16d952defc", kill_on_drop: false }` [INFO] [stdout] 9cdaed8c91ae60b7bc034e9cbc481b856503635af2b14a1ad5907a16d952defc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 21614273f89b7bf0aa0090b09e9ec821c9a13d05bd1fdb0cf5857ba67db57204 [INFO] running `Command { std: "docker" "start" "-a" "21614273f89b7bf0aa0090b09e9ec821c9a13d05bd1fdb0cf5857ba67db57204", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling trait-tactics-macros v0.1.0 [INFO] [stderr] Checking trait-tactics v0.1.0 [INFO] [stderr] Checking flexint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(n) = <$Small>::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | / flex_type!( [INFO] [stdout] 506 | | FlexUint, u64, BigUint, [INFO] [stdout] 507 | | desc = "unsigned", [INFO] [stdout] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stdout] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stdout] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stdout] 511 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `flex_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/lib.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(n) = <$Small>::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: this warning originates in the macro `flex_type` (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/lib.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(n) = <$Small>::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | / flex_type!( [INFO] [stdout] 506 | | FlexUint, u64, BigUint, [INFO] [stdout] 507 | | desc = "unsigned", [INFO] [stdout] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stdout] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stdout] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stdout] 511 | | ); [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 `flex_type` (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/lib.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | Self::try_from(n).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | / flex_type!( [INFO] [stdout] 506 | | FlexUint, u64, BigUint, [INFO] [stdout] 507 | | desc = "unsigned", [INFO] [stdout] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stdout] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stdout] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stdout] 511 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | Self::try_from(n).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | / flex_type!( [INFO] [stdout] 506 | | FlexUint, u64, BigUint, [INFO] [stdout] 507 | | desc = "unsigned", [INFO] [stdout] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stdout] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stdout] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stdout] 511 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | self.to_big().into_owned().try_into().ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | / flex_type!( [INFO] [stdout] 506 | | FlexUint, u64, BigUint, [INFO] [stdout] 507 | | desc = "unsigned", [INFO] [stdout] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stdout] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stdout] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stdout] 511 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | self.to_big().into_owned().try_into().ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | / flex_type!( [INFO] [stdout] 506 | | FlexUint, u64, BigUint, [INFO] [stdout] 507 | | desc = "unsigned", [INFO] [stdout] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stdout] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stdout] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stdout] 511 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(n) = <$Small>::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | Self::try_from(n).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | Self::try_from(n).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | Self::try_from(n).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | Self::try_from(n).ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (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/lib.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | self.to_big().into_owned().try_into().ok() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | / flex_type!( [INFO] [stdout] 514 | | FlexInt, i64, BigInt, [INFO] [stdout] 515 | | desc = "signed", [INFO] [stdout] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stdout] 517 | | try_from = [], [INFO] [stdout] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stdout] 519 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `flex_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flexint` (lib) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "21614273f89b7bf0aa0090b09e9ec821c9a13d05bd1fdb0cf5857ba67db57204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21614273f89b7bf0aa0090b09e9ec821c9a13d05bd1fdb0cf5857ba67db57204", kill_on_drop: false }` [INFO] [stdout] 21614273f89b7bf0aa0090b09e9ec821c9a13d05bd1fdb0cf5857ba67db57204