[INFO] fetching crate flexint 0.1.0... [INFO] testing flexint-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate flexint 0.1.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flexint 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 124 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aaf3513e694a928c6163c97f6cb066f0f5074b25ee4170c4a0a04dcb482a39c [INFO] running `Command { std: "docker" "start" "-a" "8aaf3513e694a928c6163c97f6cb066f0f5074b25ee4170c4a0a04dcb482a39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aaf3513e694a928c6163c97f6cb066f0f5074b25ee4170c4a0a04dcb482a39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aaf3513e694a928c6163c97f6cb066f0f5074b25ee4170c4a0a04dcb482a39c", kill_on_drop: false }` [INFO] [stdout] 8aaf3513e694a928c6163c97f6cb066f0f5074b25ee4170c4a0a04dcb482a39c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e089d0add84f2bcb0b7e9ad7a3f41dac1166631e98e39e85738ce1d78459c92 [INFO] running `Command { std: "docker" "start" "-a" "8e089d0add84f2bcb0b7e9ad7a3f41dac1166631e98e39e85738ce1d78459c92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling trait-tactics-macros v0.1.0 [INFO] [stderr] Compiling trait-tactics v0.1.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.59s [INFO] running `Command { std: "docker" "inspect" "8e089d0add84f2bcb0b7e9ad7a3f41dac1166631e98e39e85738ce1d78459c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e089d0add84f2bcb0b7e9ad7a3f41dac1166631e98e39e85738ce1d78459c92", kill_on_drop: false }` [INFO] [stdout] 8e089d0add84f2bcb0b7e9ad7a3f41dac1166631e98e39e85738ce1d78459c92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 111353f0383b48c5f652793e88e236acb9d543e89a37b83fc081ff5ae1e2ef93 [INFO] running `Command { std: "docker" "start" "-a" "111353f0383b48c5f652793e88e236acb9d543e89a37b83fc081ff5ae1e2ef93", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling trait-tactics-macros v0.1.0 [INFO] [stderr] Compiling trait-tactics v0.1.0 [INFO] [stderr] Compiling flexint v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.219 [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] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.18s [INFO] running `Command { std: "docker" "inspect" "111353f0383b48c5f652793e88e236acb9d543e89a37b83fc081ff5ae1e2ef93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111353f0383b48c5f652793e88e236acb9d543e89a37b83fc081ff5ae1e2ef93", kill_on_drop: false }` [INFO] [stdout] 111353f0383b48c5f652793e88e236acb9d543e89a37b83fc081ff5ae1e2ef93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0aa47978d522e9aa560aedc67dcc7fb6dedfc869d14e5866d88f633d431b43a [INFO] running `Command { std: "docker" "start" "-a" "d0aa47978d522e9aa560aedc67dcc7fb6dedfc869d14e5866d88f633d431b43a", kill_on_drop: false }` [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/lib.rs:255:24 [INFO] [stderr] | [INFO] [stderr] 255 | if let Ok(n) = <$Small>::try_from(n) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 505 | / flex_type!( [INFO] [stderr] 506 | | FlexUint, u64, BigUint, [INFO] [stderr] 507 | | desc = "unsigned", [INFO] [stderr] 508 | | from = [u8 u16 u32 u128 usize], [INFO] [stderr] 509 | | try_from = [i8 i16 i32 i64 i128 isize], [INFO] [stderr] 510 | | cmp_small_big = |_| Ordering::Greater, [INFO] [stderr] 511 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] = note: this warning originates in the macro `flex_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/lib.rs:255:24 [INFO] [stderr] | [INFO] [stderr] 255 | if let Ok(n) = <$Small>::try_from(n) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 513 | / flex_type!( [INFO] [stderr] 514 | | FlexInt, i64, BigInt, [INFO] [stderr] 515 | | desc = "signed", [INFO] [stderr] 516 | | from = [u8 u16 u32 u64 u128 usize i8 i16 i32 i128 isize], [INFO] [stderr] 517 | | try_from = [], [INFO] [stderr] 518 | | cmp_small_big = |big| Sign::NoSign.cmp(&big.sign()), [INFO] [stderr] 519 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: this warning originates in the macro `flex_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `flexint` (lib) generated 2 warnings [INFO] [stderr] warning: `flexint` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flexint-2874d121bcdac047) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_checked_pow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests flexint [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0aa47978d522e9aa560aedc67dcc7fb6dedfc869d14e5866d88f633d431b43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0aa47978d522e9aa560aedc67dcc7fb6dedfc869d14e5866d88f633d431b43a", kill_on_drop: false }` [INFO] [stdout] d0aa47978d522e9aa560aedc67dcc7fb6dedfc869d14e5866d88f633d431b43a