[INFO] cloning repository https://github.com/brhoades/rusty-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brhoades/rusty-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77fed40c978f35cde5960f86584b6fdfebc4e9b4 [INFO] checking brhoades/rusty-dns/77fed40c978f35cde5960f86584b6fdfebc4e9b4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrhoades%2Frusty-dns" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brhoades/rusty-dns on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brhoades/rusty-dns [INFO] finished tweaking git repo https://github.com/brhoades/rusty-dns [INFO] tweaked toml for git repo https://github.com/brhoades/rusty-dns written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brhoades/rusty-dns 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded thiserror v1.0.11 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded nibble_vec v0.0.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.11 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded oorandom v11.1.0 [INFO] [stderr] Downloaded criterion-plot v0.4.1 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded async-trait v0.1.24 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded aho-corasick v0.7.8 [INFO] [stderr] Downloaded nom v5.1.0 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded criterion v0.3.1 [INFO] [stderr] Downloaded syn v1.0.14 [INFO] [stderr] Downloaded trust-dns-proto v0.19.2 [INFO] [stderr] Downloaded trust-dns-client v0.19.2 [INFO] [stderr] Downloaded radix_trie v0.1.6 [INFO] [stderr] Downloaded backtrace v0.3.44 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.2 [INFO] [stderr] Downloaded regex-syntax v0.6.14 [INFO] [stderr] Downloaded bstr v0.2.11 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded memchr v2.3.2 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded futures-executor v0.3.4 [INFO] [stderr] Downloaded enum-as-inner v0.3.0 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded data-encoding v2.1.2 [INFO] [stderr] Downloaded futures v0.3.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.8 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded futures-macro v0.3.4 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded plotters v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f70aaa4ff0d0536e4c9362a2887b5d5321259df5ecc6a6b76720b1858025bdb [INFO] running `Command { std: "docker" "start" "-a" "4f70aaa4ff0d0536e4c9362a2887b5d5321259df5ecc6a6b76720b1858025bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f70aaa4ff0d0536e4c9362a2887b5d5321259df5ecc6a6b76720b1858025bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f70aaa4ff0d0536e4c9362a2887b5d5321259df5ecc6a6b76720b1858025bdb", kill_on_drop: false }` [INFO] [stdout] 4f70aaa4ff0d0536e4c9362a2887b5d5321259df5ecc6a6b76720b1858025bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88fcacf7ab90bdc8c37a67c1322449a313b4c28de1ed403d8d9bc97d4b426f5b [INFO] running `Command { std: "docker" "start" "-a" "88fcacf7ab90bdc8c37a67c1322449a313b4c28de1ed403d8d9bc97d4b426f5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking data-encoding v2.1.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking nibble_vec v0.0.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking radix_trie v0.1.6 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:243:55 [INFO] [stdout] | [INFO] [stdout] 243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `usize & u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:243:53 [INFO] [stdout] | [INFO] [stdout] 243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^ no implementation for `usize & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `BitAnd`: [INFO] [stdout] `&'a usize` implements `BitAnd` [INFO] [stdout] `&usize` implements `BitAnd<&usize>` [INFO] [stdout] `usize` implements `BitAnd<&usize>` [INFO] [stdout] `usize` implements `BitAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `u32` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `ceil_divmod` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/util/num.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn ceil_divmod(self, y: Self) -> (Self, i32) { [INFO] [stdout] | ^^^^^^^^^^^ ------- [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 261 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/bigint.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/bigint.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&'a usize` implements `Div` [INFO] [stdout] `&usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1045:42 [INFO] [stdout] | [INFO] [stdout] 1045 | let mut count = index.saturating_mul(Limb::BITS); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/num/mod.rs:1260:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1045 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:28 [INFO] [stdout] | [INFO] [stdout] 1060 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] | ----------- ^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/num/mod.rs:1136:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1060 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1061:22 [INFO] [stdout] | [INFO] [stdout] 1061 | .map(|v| v - nlz) [INFO] [stdout] | ^^^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1061:20 [INFO] [stdout] | [INFO] [stdout] 1061 | .map(|v| v - nlz) [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1062:20 [INFO] [stdout] | [INFO] [stdout] 1062 | .unwrap_or(usize::max_value()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `usize` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1060 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1061 | | .map(|v| v - nlz) [INFO] [stdout] 1062 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |____________________------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:987:12 [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1062 | .unwrap_or(usize::max_value().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1056 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1060 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1061 | | .map(|v| v - nlz) [INFO] [stdout] 1062 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |______________________________________^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1062 | .unwrap_or(usize::max_value()).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1087:23 [INFO] [stdout] | [INFO] [stdout] 1087 | debug_assert!(n < bits && n != 0); [INFO] [stdout] | - ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1087 | debug_assert!(n < bits.try_into().unwrap() && n != 0); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1094:25 [INFO] [stdout] | [INFO] [stdout] 1094 | let lshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1094:23 [INFO] [stdout] | [INFO] [stdout] 1094 | let lshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&'a usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1136:19 [INFO] [stdout] | [INFO] [stdout] 1136 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1136:17 [INFO] [stdout] | [INFO] [stdout] 1136 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&'a usize` implements `Div` [INFO] [stdout] `&usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1192:23 [INFO] [stdout] | [INFO] [stdout] 1192 | debug_assert!(n < bits); [INFO] [stdout] | - ^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1192 | debug_assert!(n < bits.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1202:25 [INFO] [stdout] | [INFO] [stdout] 1202 | let rshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1202:23 [INFO] [stdout] | [INFO] [stdout] 1202 | let rshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot calculate the remainder of `usize` divided by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1254:17 [INFO] [stdout] | [INFO] [stdout] 1254 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Rem`: [INFO] [stdout] `&'a usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem<&usize>` [INFO] [stdout] `usize` implements `Rem>` [INFO] [stdout] `usize` implements `Rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1255:19 [INFO] [stdout] | [INFO] [stdout] 1255 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:1255:17 [INFO] [stdout] | [INFO] [stdout] 1255 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Div`: [INFO] [stdout] `&'a usize` implements `Div` [INFO] [stdout] `&usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div<&usize>` [INFO] [stdout] `usize` implements `Div>` [INFO] [stdout] `usize` implements `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:2066:27 [INFO] [stdout] | [INFO] [stdout] 2066 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.6/src/atof/algorithm/math.rs:2066:25 [INFO] [stdout] | [INFO] [stdout] 2066 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexical-core` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "88fcacf7ab90bdc8c37a67c1322449a313b4c28de1ed403d8d9bc97d4b426f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88fcacf7ab90bdc8c37a67c1322449a313b4c28de1ed403d8d9bc97d4b426f5b", kill_on_drop: false }` [INFO] [stdout] 88fcacf7ab90bdc8c37a67c1322449a313b4c28de1ed403d8d9bc97d4b426f5b