[INFO] fetching crate rust_transit_rabbit 0.1.0... [INFO] building rust_transit_rabbit-0.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rust_transit_rabbit 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rust_transit_rabbit 0.1.0 [INFO] finished tweaking crates.io crate rust_transit_rabbit 0.1.0 [INFO] tweaked toml for crates.io crate rust_transit_rabbit 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_transit_rabbit 0.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust_transit_rabbit 0.1.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a4c0a3c1f44a3b3dc8d9ffc758a8cb3e8feca8b0ebfa3e5f8ac0100aa254516 [INFO] running `Command { std: "docker" "start" "-a" "5a4c0a3c1f44a3b3dc8d9ffc758a8cb3e8feca8b0ebfa3e5f8ac0100aa254516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a4c0a3c1f44a3b3dc8d9ffc758a8cb3e8feca8b0ebfa3e5f8ac0100aa254516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4c0a3c1f44a3b3dc8d9ffc758a8cb3e8feca8b0ebfa3e5f8ac0100aa254516", kill_on_drop: false }` [INFO] [stdout] 5a4c0a3c1f44a3b3dc8d9ffc758a8cb3e8feca8b0ebfa3e5f8ac0100aa254516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db1a603c28661b1e1fa263015bcc9bd4285e73995e6c8b5079476fe3fe476aa5 [INFO] running `Command { std: "docker" "start" "-a" "db1a603c28661b1e1fa263015bcc9bd4285e73995e6c8b5079476fe3fe476aa5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling cookie-factory v0.3.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.2/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.6.2/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.6.2/src/atof/algorithm/bigcomp.rs:158:55 [INFO] [stdout] | [INFO] [stdout] 158 | 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.6.2/src/atof/algorithm/bigcomp.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | 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] [stderr] Compiling idna v0.2.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-core-0.6.2/src/atof/algorithm/bigcomp.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 176 | 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.6.2/src/atof/algorithm/bigcomp.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | 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.6.2/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] 176 | 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.6.2/src/atof/algorithm/math.rs:1049:42 [INFO] [stdout] | [INFO] [stdout] 1049 | 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/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/num/mod.rs:1269: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] 1049 | 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.6.2/src/atof/algorithm/math.rs:1064:28 [INFO] [stdout] | [INFO] [stdout] 1064 | 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/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/num/mod.rs:1134: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] 1064 | 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.6.2/src/atof/algorithm/math.rs:1065:22 [INFO] [stdout] | [INFO] [stdout] 1065 | .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.6.2/src/atof/algorithm/math.rs:1065:20 [INFO] [stdout] | [INFO] [stdout] 1065 | .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.6.2/src/atof/algorithm/math.rs:1066:20 [INFO] [stdout] | [INFO] [stdout] 1066 | .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.6.2/src/atof/algorithm/math.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1064 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1065 | | .map(|v| v - nlz) [INFO] [stdout] 1066 | | .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/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/option.rs:1032:18 [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1066 | .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.6.2/src/atof/algorithm/math.rs:1064:5 [INFO] [stdout] | [INFO] [stdout] 1060 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1064 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1065 | | .map(|v| v - nlz) [INFO] [stdout] 1066 | | .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] 1066 | .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.6.2/src/atof/algorithm/math.rs:1091:23 [INFO] [stdout] | [INFO] [stdout] 1091 | 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] 1091 | 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.6.2/src/atof/algorithm/math.rs:1098:25 [INFO] [stdout] | [INFO] [stdout] 1098 | 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.6.2/src/atof/algorithm/math.rs:1098:23 [INFO] [stdout] | [INFO] [stdout] 1098 | 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.6.2/src/atof/algorithm/math.rs:1140:19 [INFO] [stdout] | [INFO] [stdout] 1140 | 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.6.2/src/atof/algorithm/math.rs:1140:17 [INFO] [stdout] | [INFO] [stdout] 1140 | 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.6.2/src/atof/algorithm/math.rs:1141:19 [INFO] [stdout] | [INFO] [stdout] 1141 | 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.6.2/src/atof/algorithm/math.rs:1141:17 [INFO] [stdout] | [INFO] [stdout] 1141 | 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.6.2/src/atof/algorithm/math.rs:1197:23 [INFO] [stdout] | [INFO] [stdout] 1197 | 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] 1197 | 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.6.2/src/atof/algorithm/math.rs:1207:25 [INFO] [stdout] | [INFO] [stdout] 1207 | 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.6.2/src/atof/algorithm/math.rs:1207:23 [INFO] [stdout] | [INFO] [stdout] 1207 | 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.6.2/src/atof/algorithm/math.rs:1259:19 [INFO] [stdout] | [INFO] [stdout] 1259 | 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.6.2/src/atof/algorithm/math.rs:1259:17 [INFO] [stdout] | [INFO] [stdout] 1259 | 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.6.2/src/atof/algorithm/math.rs:1260:19 [INFO] [stdout] | [INFO] [stdout] 1260 | 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.6.2/src/atof/algorithm/math.rs:1260:17 [INFO] [stdout] | [INFO] [stdout] 1260 | 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.6.2/src/atof/algorithm/math.rs:2071:27 [INFO] [stdout] | [INFO] [stdout] 2071 | 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.6.2/src/atof/algorithm/math.rs:2071:25 [INFO] [stdout] | [INFO] [stdout] 2071 | 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] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: openssl-sys@0.9.54: build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token [INFO] [stderr] warning: openssl-sys@0.9.54: 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v [INFO] [stderr] warning: openssl-sys@0.9.54: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.54: build/expando.c:5:23: note: in expansion of macro 'VERSION2' [INFO] [stderr] warning: openssl-sys@0.9.54: 5 | #define VERSION(n, v) VERSION2(n, v) [INFO] [stderr] warning: openssl-sys@0.9.54: | ^~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.54: build/expando.c:10:1: note: in expansion of macro 'VERSION' [INFO] [stderr] warning: openssl-sys@0.9.54: 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [INFO] [stderr] warning: openssl-sys@0.9.54: | ^~~~~~~ [INFO] [stderr] error: failed to run custom build command for `openssl-sys v0.9.54` [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/openssl-sys-9848b1a6da02a95a/build-script-main` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-cfg=const_fn [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_LIB_DIR [INFO] [stderr] OPENSSL_LIB_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR [INFO] [stderr] OPENSSL_INCLUDE_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_DIR [INFO] [stderr] OPENSSL_DIR unset [INFO] [stderr] cargo:rustc-link-lib=ssl [INFO] [stderr] cargo:rustc-link-lib=crypto [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-E" "build/expando.c" [INFO] [stderr] cargo:warning=build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token [INFO] [stderr] cargo:warning= 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=build/expando.c:5:23: note: in expansion of macro 'VERSION2' [INFO] [stderr] cargo:warning= 5 | #define VERSION(n, v) VERSION2(n, v) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=build/expando.c:10:1: note: in expansion of macro 'VERSION' [INFO] [stderr] cargo:warning= 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (973) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.54/build/main.rs:126:13: [INFO] [stderr] [INFO] [stderr] Header expansion error: [INFO] [stderr] Error { kind: ToolExecError, message: "Command \"cc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-fno-omit-frame-pointer\" \"-m64\" \"-I\" \"/usr/include\" \"-Wall\" \"-Wextra\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." } [INFO] [stderr] [INFO] [stderr] Failed to find OpenSSL development headers. [INFO] [stderr] [INFO] [stderr] You can try fixing this setting the `OPENSSL_DIR` environment variable [INFO] [stderr] pointing to your OpenSSL installation or installing OpenSSL headers package [INFO] [stderr] specific to your distribution: [INFO] [stderr] [INFO] [stderr] # On Ubuntu [INFO] [stderr] sudo apt-get install libssl-dev [INFO] [stderr] # On Arch Linux [INFO] [stderr] sudo pacman -S openssl [INFO] [stderr] # On Fedora [INFO] [stderr] sudo dnf install openssl-devel [INFO] [stderr] [INFO] [stderr] See rust-openssl README for more information: [INFO] [stderr] [INFO] [stderr] https://github.com/sfackler/rust-openssl#linux [INFO] [stderr] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5632d1266e72 - std::backtrace_rs::backtrace::libunwind::trace::h99ff5752a7301b61 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5632d1266e72 - std::backtrace_rs::backtrace::trace_unsynchronized::h9703f67ee3d8bde4 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5632d1266e72 - std::sys::backtrace::_print_fmt::h8519833aba8d197b [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5632d1266e72 - ::fmt::h2212f3765287aa3c [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5632d12772df - core::fmt::rt::Argument::fmt::h3b42cc36ff36d45c [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5632d12772df - core::fmt::write::he00b92b9582c1fe6 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5632d1236ac1 - std::io::default_write_fmt::h20b9b23e0b407dd4 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5632d1236ac1 - std::io::Write::write_fmt::h4a31dcab881658aa [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5632d12418b2 - std::sys::backtrace::BacktraceLock::print::h88b4e5cf8cc5573c [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5632d124450f - std::panicking::default_hook::{{closure}}::h59b171bf4b799798 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5632d1244369 - std::panicking::default_hook::h518e81d9a9e2c2c5 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5632d1244b95 - std::panicking::panic_with_hook::h6c76fcfbe64ae67c [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5632d1244a2a - std::panicking::panic_handler::{{closure}}::h2ff4617091b05450 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x5632d12419f9 - std::sys::backtrace::__rust_end_short_backtrace::he93810e6790d1c15 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5632d122b11d - __rustc[552020a2b822d25f]::rust_begin_unwind [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5632d127afb0 - core::panicking::panic_fmt::hd2d793968eae26aa [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x5632d11c5cf2 - build_script_main::validate_headers::he34ec83f41c55c5a [INFO] [stderr] 17: 0x5632d11c6c54 - build_script_main::find::try_pkg_config::h992116d89542ced7 [INFO] [stderr] 18: 0x5632d11c7018 - build_script_main::find::find_openssl_dir::h3d7da076b6a6b7d1 [INFO] [stderr] 19: 0x5632d11c66e7 - build_script_main::find::get_openssl::{{closure}}::hbab7e83b765939fd [INFO] [stderr] 20: 0x5632d11cf609 - core::option::Option::unwrap_or_else::h0d5f7d66eacf8315 [INFO] [stderr] 21: 0x5632d11c64e1 - build_script_main::find::get_openssl::hb7981806ba22923b [INFO] [stderr] 22: 0x5632d11c8209 - build_script_main::main::he69ff12805ae7db2 [INFO] [stderr] 23: 0x5632d11ce4c3 - core::ops::function::FnOnce::call_once::hc76ea25b3242e7ea [INFO] [stderr] 24: 0x5632d11cda46 - std::sys::backtrace::__rust_begin_short_backtrace::h4eeed80418219ece [INFO] [stderr] 25: 0x5632d11cd509 - std::rt::lang_start::{{closure}}::hcad0848a0b759df2 [INFO] [stderr] 26: 0x5632d12382a0 - core::ops::function::impls:: for &F>::call_once::h64f1c33f2a77ce68 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 27: 0x5632d12382a0 - std::panicking::catch_unwind::do_call::h5854891e24f1d732 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x5632d12382a0 - std::panicking::catch_unwind::h3c89ba6804b7ef45 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x5632d12382a0 - std::panic::catch_unwind::hc239b1f0bd06c7e7 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x5632d12382a0 - std::rt::lang_start_internal::{{closure}}::ha9d8fb8253d749d7 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/rt.rs:175:24 [INFO] [stderr] 31: 0x5632d12382a0 - std::panicking::catch_unwind::do_call::h428a277c0848e71c [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:590:40 [INFO] [stderr] 32: 0x5632d12382a0 - std::panicking::catch_unwind::hd0989b6642f7ad81 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panicking.rs:553:19 [INFO] [stderr] 33: 0x5632d12382a0 - std::panic::catch_unwind::hff4afb10b723ad75 [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x5632d12382a0 - std::rt::lang_start_internal::h5e6155dfabba704f [INFO] [stderr] at /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/std/src/rt.rs:171:5 [INFO] [stderr] 35: 0x5632d11cd4f1 - std::rt::lang_start::h3dc5e019ee5a270a [INFO] [stderr] 36: 0x5632d11cc775 - main [INFO] [stderr] 37: 0x7844a83611ca - [INFO] [stderr] 38: 0x7844a836128b - __libc_start_main [INFO] [stderr] 39: 0x5632d11c37f5 - _start [INFO] [stderr] 40: 0x0 - [INFO] running `Command { std: "docker" "inspect" "db1a603c28661b1e1fa263015bcc9bd4285e73995e6c8b5079476fe3fe476aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1a603c28661b1e1fa263015bcc9bd4285e73995e6c8b5079476fe3fe476aa5", kill_on_drop: false }` [INFO] [stdout] db1a603c28661b1e1fa263015bcc9bd4285e73995e6c8b5079476fe3fe476aa5