[INFO] fetching crate no_proto 0.9.60... [INFO] checking no_proto-0.9.60 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate no_proto 0.9.60 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate no_proto 0.9.60 [INFO] finished tweaking crates.io crate no_proto 0.9.60 [INFO] tweaked toml for crates.io crate no_proto 0.9.60 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate no_proto 0.9.60 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a340e5f77e168986edad91f365ec51c946fc53eb976321200cb6b668f4df66bf [INFO] running `Command { std: "docker" "start" "-a" "a340e5f77e168986edad91f365ec51c946fc53eb976321200cb6b668f4df66bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a340e5f77e168986edad91f365ec51c946fc53eb976321200cb6b668f4df66bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a340e5f77e168986edad91f365ec51c946fc53eb976321200cb6b668f4df66bf", kill_on_drop: false }` [INFO] [stdout] a340e5f77e168986edad91f365ec51c946fc53eb976321200cb6b668f4df66bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88bc4fffd75088ddae3e7fbf092db8cbfe7e7b7b35de3ae4a8f7abb2dec30452 [INFO] running `Command { std: "docker" "start" "-a" "88bc4fffd75088ddae3e7fbf092db8cbfe7e7b7b35de3ae4a8f7abb2dec30452", kill_on_drop: false }` [INFO] [stderr] Checking no_proto v0.9.60 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/string.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/numbers.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/dec.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/uuid.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/buffer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/rpc.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/string.rs:583:33 [INFO] [stdout] | [INFO] [stdout] 583 | write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 583 - write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] 583 + write_bytes[addr + x] = bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/string.rs:586:33 [INFO] [stdout] | [INFO] [stdout] 586 | write_bytes[(addr + x)] = 32; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 586 - write_bytes[(addr + x)] = 32; [INFO] [stdout] 586 + write_bytes[addr + x] = 32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/string.rs:616:29 [INFO] [stdout] | [INFO] [stdout] 616 | write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 616 - write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] 616 + write_bytes[addr_value + x] = size_bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/bytes.rs:557:33 [INFO] [stdout] | [INFO] [stdout] 557 | write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 557 - write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] 557 + write_bytes[addr + x] = bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/bytes.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | write_bytes[(addr + x)] = 0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 560 - write_bytes[(addr + x)] = 0; [INFO] [stdout] 560 + write_bytes[addr + x] = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/bytes.rs:587:29 [INFO] [stdout] | [INFO] [stdout] 587 | write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] 587 + write_bytes[addr_value + x] = size_bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/string.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/numbers.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/dec.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/uuid.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/pointer/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/buffer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `prelude` in `alloc` [INFO] [stdout] --> src/rpc.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/string.rs:583:33 [INFO] [stdout] | [INFO] [stdout] 583 | write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 583 - write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] 583 + write_bytes[addr + x] = bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/string.rs:586:33 [INFO] [stdout] | [INFO] [stdout] 586 | write_bytes[(addr + x)] = 32; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 586 - write_bytes[(addr + x)] = 32; [INFO] [stdout] 586 + write_bytes[addr + x] = 32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/string.rs:616:29 [INFO] [stdout] | [INFO] [stdout] 616 | write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 616 - write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] 616 + write_bytes[addr_value + x] = size_bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/bytes.rs:557:33 [INFO] [stdout] | [INFO] [stdout] 557 | write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 557 - write_bytes[(addr + x)] = bytes[x]; [INFO] [stdout] 557 + write_bytes[addr + x] = bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/string.rs:412:24 [INFO] [stdout] | [INFO] [stdout] 412 | if x < 1 { [INFO] [stdout] | ^ expected `&i64`, found integer [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 412 | if *x < 1 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/bytes.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | write_bytes[(addr + x)] = 0; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 560 - write_bytes[(addr + x)] = 0; [INFO] [stdout] 560 + write_bytes[addr + x] = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/pointer/bytes.rs:587:29 [INFO] [stdout] | [INFO] [stdout] 587 | write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 587 - write_bytes[(addr_value + x)] = size_bytes[x]; [INFO] [stdout] 587 + write_bytes[addr_value + x] = size_bytes[x]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i64: From` is not satisfied [INFO] [stdout] --> src/pointer/string.rs:417:33 [INFO] [stdout] | [INFO] [stdout] 417 | if x > u32::MAX.into() { [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `&i64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] = note: required for `u32` to implement `Into<&i64>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/string.rs:427:24 [INFO] [stdout] | [INFO] [stdout] 427 | if x < 1.0 { [INFO] [stdout] | ^^^ expected `&f64`, found floating-point number [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 427 | if *x < 1.0 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&f64: From` is not satisfied [INFO] [stdout] --> src/pointer/string.rs:432:33 [INFO] [stdout] | [INFO] [stdout] 432 | if x > u32::MAX.into() { [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `&f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] = note: required for `u32` to implement `Into<&f64>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:422:36 [INFO] [stdout] | [INFO] [stdout] 422 | schema_data.extend((x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 422 | schema_data.extend((*x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | x as u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 423 | *x as u32 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:438:36 [INFO] [stdout] | [INFO] [stdout] 438 | schema_data.extend((x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 438 | schema_data.extend((*x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | x as u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 439 | *x as u32 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/dec.rs:972:24 [INFO] [stdout] | [INFO] [stdout] 972 | if x > 255 || x < 0 { [INFO] [stdout] | ^^^ expected `&i64`, found integer [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 972 | if *x > 255 || x < 0 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/dec.rs:972:35 [INFO] [stdout] | [INFO] [stdout] 972 | if x > 255 || x < 0 { [INFO] [stdout] | ^ expected `&i64`, found integer [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 972 | if x > 255 || *x < 0 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/dec.rs:975:23 [INFO] [stdout] | [INFO] [stdout] 975 | exp = x as u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 975 | exp = *x as u8; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/dec.rs:976:34 [INFO] [stdout] | [INFO] [stdout] 976 | schema_data.push(x as u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 976 | schema_data.push(*x as u8); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/string.rs:412:24 [INFO] [stdout] | [INFO] [stdout] 412 | if x < 1 { [INFO] [stdout] | ^ expected `&i64`, found integer [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 412 | if *x < 1 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i64: From` is not satisfied [INFO] [stdout] --> src/pointer/string.rs:417:33 [INFO] [stdout] | [INFO] [stdout] 417 | if x > u32::MAX.into() { [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `&i64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] = note: required for `u32` to implement `Into<&i64>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/string.rs:427:24 [INFO] [stdout] | [INFO] [stdout] 427 | if x < 1.0 { [INFO] [stdout] | ^^^ expected `&f64`, found floating-point number [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 427 | if *x < 1.0 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&f64: From` is not satisfied [INFO] [stdout] --> src/pointer/string.rs:432:33 [INFO] [stdout] | [INFO] [stdout] 432 | if x > u32::MAX.into() { [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `&f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] `f64` implements `From` [INFO] [stdout] = note: required for `u32` to implement `Into<&f64>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:422:36 [INFO] [stdout] | [INFO] [stdout] 422 | schema_data.extend((x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 422 | schema_data.extend((*x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | x as u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 423 | *x as u32 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:438:36 [INFO] [stdout] | [INFO] [stdout] 438 | schema_data.extend((x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 438 | schema_data.extend((*x as u32).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/string.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | x as u32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 439 | *x as u32 [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 464 | noproto_number!(i8, "int8", "i8", NP_TypeKeys::Int8 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 465 | noproto_number!(i16, "int16", "i16", NP_TypeKeys::Int16 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 466 | noproto_number!(i32, "int32", "i32", NP_TypeKeys::Int32 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `i64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 467 | noproto_number!(i64, "int64", "i64", NP_TypeKeys::Int64 , NP_NumType::signed); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 470 | noproto_number!(u8, "uint8", "u8", NP_TypeKeys::Uint8 , NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u16` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 471 | noproto_number!(u16, "uint16", "u16", NP_TypeKeys::Uint16, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 472 | noproto_number!(u32, "uint32", "u32", NP_TypeKeys::Uint32, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 473 | noproto_number!(u64, "uint64", "u64", NP_TypeKeys::Uint64, NP_NumType::unsigned); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f32` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 476 | noproto_number!(f32, "float", "f32", NP_TypeKeys::Float , NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 92 | | NP_JSON::Integer(int) => { [INFO] [stdout] 93 | | Self::set_value(cursor, memory, int as $t)?; [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 93 | Self::set_value(cursor, memory, *int as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 95 | | NP_JSON::Float(float) => { [INFO] [stdout] 96 | | Self::set_value(cursor, memory, float as $t)?; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 96 | Self::set_value(cursor, memory, *float as $t)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&f64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 352 | | schema_data.push(1); [INFO] [stdout] 353 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 353 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `f64` is invalid [INFO] [stdout] --> src/pointer/numbers.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'value> super::NP_Scalar<'value> for $t { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 71 | | fn schema_default(_schema: &NP_Parsed_Schema) -> Option where Self: Sized { [INFO] [stdout] 72 | | Some(Self::default()) [INFO] [stdout] ... | [INFO] [stdout] 356 | | schema_data.push(1); [INFO] [stdout] 357 | | schema_data.extend((x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 477 | noproto_number!(f64, "double", "f64", NP_TypeKeys::Double, NP_NumType::floating); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `noproto_number` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 357 | schema_data.extend((*x as $t).to_be_bytes().to_vec()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/dec.rs:972:24 [INFO] [stdout] | [INFO] [stdout] 972 | if x > 255 || x < 0 { [INFO] [stdout] | ^^^ expected `&i64`, found integer [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 972 | if *x > 255 || x < 0 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pointer/dec.rs:972:35 [INFO] [stdout] | [INFO] [stdout] 972 | if x > 255 || x < 0 { [INFO] [stdout] | ^ expected `&i64`, found integer [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 972 | if x > 255 || *x < 0 { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/dec.rs:975:23 [INFO] [stdout] | [INFO] [stdout] 975 | exp = x as u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 975 | exp = *x as u8; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&i64` as `u8` is invalid [INFO] [stdout] --> src/pointer/dec.rs:976:34 [INFO] [stdout] | [INFO] [stdout] 976 | schema_data.push(x as u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: dereference the expression [INFO] [stdout] | [INFO] [stdout] 976 | schema_data.push(*x as u8); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0606. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `no_proto` (lib) due to 59 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0606. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `no_proto` (lib test) due to 59 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88bc4fffd75088ddae3e7fbf092db8cbfe7e7b7b35de3ae4a8f7abb2dec30452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88bc4fffd75088ddae3e7fbf092db8cbfe7e7b7b35de3ae4a8f7abb2dec30452", kill_on_drop: false }` [INFO] [stdout] 88bc4fffd75088ddae3e7fbf092db8cbfe7e7b7b35de3ae4a8f7abb2dec30452