[INFO] cloning repository https://github.com/nanotech/dhall-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nanotech/dhall-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanotech%2Fdhall-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanotech%2Fdhall-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5408abbbabd066f9ffbe030f9f0205dc56e5161c [INFO] checking nanotech/dhall-rs against master#5257aee7dd163d21d32fa904578d4fb0f4c91b79 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanotech%2Fdhall-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nanotech/dhall-rs on toolchain 5257aee7dd163d21d32fa904578d4fb0f4c91b79 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nanotech/dhall-rs [INFO] finished tweaking git repo https://github.com/nanotech/dhall-rs [INFO] tweaked toml for git repo https://github.com/nanotech/dhall-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nanotech/dhall-rs 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" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking nanotech/dhall-rs against try#d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanotech%2Fdhall-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nanotech/dhall-rs on toolchain d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nanotech/dhall-rs [INFO] finished tweaking git repo https://github.com/nanotech/dhall-rs [INFO] tweaked toml for git repo https://github.com/nanotech/dhall-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nanotech/dhall-rs 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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking nanotech/dhall-rs against try#d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanotech%2Fdhall-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nanotech/dhall-rs on toolchain d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nanotech/dhall-rs [INFO] finished tweaking git repo https://github.com/nanotech/dhall-rs [INFO] tweaked toml for git repo https://github.com/nanotech/dhall-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nanotech/dhall-rs 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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term-painter v0.2.4 [INFO] [stderr] Downloaded lalrpop-util v0.17.1 [INFO] [stderr] Downloaded ena v0.13.0 [INFO] [stderr] Downloaded diff v0.1.10 [INFO] [stderr] Downloaded fixedbitset v0.1.7 [INFO] [stderr] Downloaded lalrpop v0.17.1 [INFO] [stderr] Downloaded lexical-core v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc563c074b7df1bc40932853df1786eca71ec9fc88eadb46b6b1a27834ae37c4 [INFO] running `Command { std: "docker" "start" "-a" "cc563c074b7df1bc40932853df1786eca71ec9fc88eadb46b6b1a27834ae37c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc563c074b7df1bc40932853df1786eca71ec9fc88eadb46b6b1a27834ae37c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc563c074b7df1bc40932853df1786eca71ec9fc88eadb46b6b1a27834ae37c4", kill_on_drop: false }` [INFO] [stdout] cc563c074b7df1bc40932853df1786eca71ec9fc88eadb46b6b1a27834ae37c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e75fbed4b8ef27819279fa0be8afa55916e4822fd5ee245cfc2fa5277c063926 [INFO] running `Command { std: "docker" "start" "-a" "e75fbed4b8ef27819279fa0be8afa55916e4822fd5ee245cfc2fa5277c063926", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.7 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fixedbitset v0.1.7 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling stackvector v1.0.6 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling lexical-core v0.4.2 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling diff v0.1.10 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lalrpop-util v0.17.1 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking bytecount v0.5.1 [INFO] [stderr] Compiling nom v5.0.0 [INFO] [stderr] Checking term-painter v0.2.4 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.2/src/atof/algorithm/bigcomp.rs:242:55 [INFO] [stdout] | [INFO] [stdout] 242 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sha2 v0.8.0 [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.2/src/atof/algorithm/bigcomp.rs:242:53 [INFO] [stdout] | [INFO] [stdout] 242 | 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] [INFO] [stdout] > [INFO] [stdout] <&'a usize as BitAnd> [INFO] [stdout] <&usize as BitAnd<&usize>> [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.2/src/atof/algorithm/bigcomp.rs:260:40 [INFO] [stdout] | [INFO] [stdout] 260 | 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.2/src/atof/algorithm/bigcomp.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | 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.2/src/util/num.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | 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] 260 | 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.2/src/atof/algorithm/bigint.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | 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.2/src/atof/algorithm/bigint.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | 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] [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] <&'a usize as Div> [INFO] [stdout] <&usize as Div<&usize>> [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.2/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/d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8/library/core/src/num/mod.rs:1281: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] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lexical-core-0.4.2/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/d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8/library/core/src/num/mod.rs:1157: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.2/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.2/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] [INFO] [stdout] > [INFO] [stdout] <&'a u32 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [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.2/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.2/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/d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8/library/core/src/option.rs:953: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.2/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.2/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.2/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.2/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] [INFO] [stdout] > [INFO] [stdout] <&'a u32 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [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.2/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.2/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] [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] <&'a usize as Rem> [INFO] [stdout] <&usize as Rem<&usize>> [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.2/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.2/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] [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] <&'a usize as Div> [INFO] [stdout] <&usize as Div<&usize>> [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.2/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.2/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.2/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] [INFO] [stdout] > [INFO] [stdout] <&'a u32 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [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.2/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.2/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] [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] <&'a usize as Rem> [INFO] [stdout] <&usize as Rem<&usize>> [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.2/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.2/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] [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] <&'a usize as Div> [INFO] [stdout] <&usize as Div<&usize>> [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.2/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.2/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] [INFO] [stdout] > [INFO] [stdout] <&'a u32 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [INFO] [stdout] [INFO] [stdout] [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" "e75fbed4b8ef27819279fa0be8afa55916e4822fd5ee245cfc2fa5277c063926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75fbed4b8ef27819279fa0be8afa55916e4822fd5ee245cfc2fa5277c063926", kill_on_drop: false }` [INFO] [stdout] e75fbed4b8ef27819279fa0be8afa55916e4822fd5ee245cfc2fa5277c063926