[INFO] cloning repository https://github.com/wangxuesong/llua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangxuesong/llua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangxuesong%2Fllua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangxuesong%2Fllua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb4cb5b245b55b9c4fccdcb366a6596de2cbe6df [INFO] checking wangxuesong/llua against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangxuesong%2Fllua" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wangxuesong/llua [INFO] finished tweaking git repo https://github.com/wangxuesong/llua [INFO] tweaked toml for git repo https://github.com/wangxuesong/llua written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wangxuesong/llua on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wangxuesong/llua 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v2.3.2 [INFO] [stderr] Downloaded indexmap v1.5.1 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.1 [INFO] [stderr] Downloaded anyhow v1.0.32 [INFO] [stderr] Downloaded clap v3.0.0-beta.1 [INFO] [stderr] Downloaded hashbrown v0.8.2 [INFO] [stderr] Downloaded nom-derive v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e05ef1a5b34475ec20836d36ff713f769636094fea6e7e73a763884d269e5ceb [INFO] running `Command { std: "docker" "start" "-a" "e05ef1a5b34475ec20836d36ff713f769636094fea6e7e73a763884d269e5ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e05ef1a5b34475ec20836d36ff713f769636094fea6e7e73a763884d269e5ceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05ef1a5b34475ec20836d36ff713f769636094fea6e7e73a763884d269e5ceb", kill_on_drop: false }` [INFO] [stdout] e05ef1a5b34475ec20836d36ff713f769636094fea6e7e73a763884d269e5ceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9e9e38a0b1a52f7cbd14264401c9efb39cc92df1eeb641fa5bee5dfd6bcda6f [INFO] running `Command { std: "docker" "start" "-a" "b9e9e38a0b1a52f7cbd14264401c9efb39cc92df1eeb641fa5bee5dfd6bcda6f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling llua v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] error: failed to run custom build command for `llua v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/llua-d740cb73044b841e/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at build.rs:11:14: [INFO] [stderr] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5a91545c83f2 - std::backtrace_rs::backtrace::libunwind::trace::h78562a013ab6f1d1 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5a91545c83f2 - std::backtrace_rs::backtrace::trace_unsynchronized::h77ced773b5be47e3 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5a91545c83f2 - std::sys::backtrace::_print_fmt::hd8554b653175eb90 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5a91545c83f2 - ::fmt::h0ee684fa48ea65a9 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5a91545e7803 - core::fmt::rt::Argument::fmt::h97dc4aa34475380b [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5a91545e7803 - core::fmt::write::ha7e9dac23b0574fc [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stderr] 6: 0x5a91545c6013 - std::io::default_write_fmt::hdebc07c8b1ed24d8 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5a91545c6013 - std::io::Write::write_fmt::h74c2ee93ac2161e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5a91545c8242 - std::sys::backtrace::BacktraceLock::print::h5d2ec0ae212b38da [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5a91545c92b6 - std::panicking::default_hook::{{closure}}::h919f804d261dd9ce [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x5a91545c90b9 - std::panicking::default_hook::h96273494815ab2d6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x5a91545c9b82 - std::panicking::rust_panic_with_hook::hd760048b5d2d6151 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x5a91545c9a1a - std::panicking::begin_panic_handler::{{closure}}::h040646f2e9c9f682 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x5a91545c88e9 - std::sys::backtrace::__rust_end_short_backtrace::h6a810defc53f5213 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x5a91545c96ad - __rustc[d0903a379a499752]::rust_begin_unwind [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x5a91545e6a50 - core::panicking::panic_fmt::hdb4e2ff26c68ec1f [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x5a91545e6e66 - core::result::unwrap_failed::h56d5f7e14f636e03 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/result.rs:1761:5 [INFO] [stderr] 17: 0x5a91545a381b - build_script_build::main::h4ad0936211e94245 [INFO] [stderr] 18: 0x5a915459f633 - core::ops::function::FnOnce::call_once::h35ff299dbe8a68b4 [INFO] [stderr] 19: 0x5a915459f276 - std::sys::backtrace::__rust_begin_short_backtrace::h8879f5bc0709b560 [INFO] [stderr] 20: 0x5a915459f159 - std::rt::lang_start::{{closure}}::h22c04f0c1efae924 [INFO] [stderr] 21: 0x5a91545c36b0 - core::ops::function::impls:: for &F>::call_once::hc0a003771d36ce49 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 22: 0x5a91545c36b0 - std::panicking::catch_unwind::do_call::h9858643921646d98 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 23: 0x5a91545c36b0 - std::panicking::catch_unwind::h8c86187d9aa365e4 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 24: 0x5a91545c36b0 - std::panic::catch_unwind::h7fb0f60cd1f7dbc8 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panic.rs:359:14 [INFO] [stderr] 25: 0x5a91545c36b0 - std::rt::lang_start_internal::{{closure}}::he8bf7dae0379adc7 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/rt.rs:175:24 [INFO] [stderr] 26: 0x5a91545c36b0 - std::panicking::catch_unwind::do_call::h14a6a5289a8309e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 27: 0x5a91545c36b0 - std::panicking::catch_unwind::h324e7e057c6492a0 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 28: 0x5a91545c36b0 - std::panic::catch_unwind::h707fe61980e924ea [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panic.rs:359:14 [INFO] [stderr] 29: 0x5a91545c36b0 - std::rt::lang_start_internal::hc492c42d25e8d5e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/rt.rs:171:5 [INFO] [stderr] 30: 0x5a915459f141 - std::rt::lang_start::h9656ecd061fa785a [INFO] [stderr] 31: 0x5a91545a38a5 - main [INFO] [stderr] 32: 0x79ab8e9a21ca - [INFO] [stderr] 33: 0x79ab8e9a228b - __libc_start_main [INFO] [stderr] 34: 0x5a915459e1d5 - _start [INFO] [stderr] 35: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 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] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55 [INFO] [stdout] | [INFO] [stdout] 157 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | 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] `&usize` implements `BitAnd` [INFO] [stdout] `&usize` implements `BitAnd` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/util/num.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | 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] 175 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1043:42 [INFO] [stdout] | [INFO] [stdout] 1043 | 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/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/num/mod.rs:1248: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] 1043 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:28 [INFO] [stdout] | [INFO] [stdout] 1058 | 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/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/num/mod.rs:1128: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] 1058 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:22 [INFO] [stdout] | [INFO] [stdout] 1059 | .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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:20 [INFO] [stdout] | [INFO] [stdout] 1059 | .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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1060:20 [INFO] [stdout] | [INFO] [stdout] 1060 | .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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .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/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/option.rs:1025: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] 1060 | .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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .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] 1060 | .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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1085:23 [INFO] [stdout] | [INFO] [stdout] 1085 | 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] 1085 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:25 [INFO] [stdout] | [INFO] [stdout] 1092 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:23 [INFO] [stdout] | [INFO] [stdout] 1092 | 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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:17 [INFO] [stdout] | [INFO] [stdout] 1134 | 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] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | 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] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1191:23 [INFO] [stdout] | [INFO] [stdout] 1191 | 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] 1191 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:25 [INFO] [stdout] | [INFO] [stdout] 1201 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:23 [INFO] [stdout] | [INFO] [stdout] 1201 | 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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1253 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:17 [INFO] [stdout] | [INFO] [stdout] 1253 | 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] `&usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:17 [INFO] [stdout] | [INFO] [stdout] 1254 | 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] `&usize` implements `Div` [INFO] [stdout] `&usize` implements `Div` [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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:27 [INFO] [stdout] | [INFO] [stdout] 2065 | 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-1949cf8c6b5b557f/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25 [INFO] [stdout] | [INFO] [stdout] 2065 | 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] `&u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [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 27 previous errors [INFO] running `Command { std: "docker" "inspect" "b9e9e38a0b1a52f7cbd14264401c9efb39cc92df1eeb641fa5bee5dfd6bcda6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e9e38a0b1a52f7cbd14264401c9efb39cc92df1eeb641fa5bee5dfd6bcda6f", kill_on_drop: false }` [INFO] [stdout] b9e9e38a0b1a52f7cbd14264401c9efb39cc92df1eeb641fa5bee5dfd6bcda6f