[INFO] crate treeflection_derive 0.4.0 is already in cache [INFO] checking treeflection_derive-0.4.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate treeflection_derive 0.4.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate treeflection_derive 0.4.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate treeflection_derive 0.4.0 [INFO] finished tweaking crates.io crate treeflection_derive 0.4.0 [INFO] tweaked toml for crates.io crate treeflection_derive 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f31107a954bccce836e18c77ddca5a8ff7e70d73ea8dfcb955666acd05cd7c96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "f31107a954bccce836e18c77ddca5a8ff7e70d73ea8dfcb955666acd05cd7c96"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking quote v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking treeflection_derive v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking treeflection v0.1.32 [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 650 | int_node!(i64, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stderr] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 651 | int_node!(u64, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 652 | int_node!(i32, "A number from –2,147,483,648 to 2,147,483,647"); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 653 | int_node!(u32, "A number from 0 to 4,294,967,295"); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i16` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 654 | int_node!(i16, "A number from –32,768 to –32,767"); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 655 | int_node!(u16, "A number from 0 to 65,535"); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 656 | int_node!(i8, "A number from -128 to 127"); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 657 | int_node!(u8, "A number from 0 to 255"); [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 658 | int_node!(isize, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stderr] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 442 | *self = value as $e; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 659 | int_node!(usize, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:556:63 [INFO] [stderr] | [INFO] [stderr] 556 | _ => NumStore::Int (*self as u64) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 662 | float_node!(f32, "A number with a decimal point"); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/treeflection-0.1.32/src/node.rs:556:63 [INFO] [stderr] | [INFO] [stderr] 556 | _ => NumStore::Int (*self as u64) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 663 | float_node!(f64, "A higher precision number with a decimal point"); [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `treeflection`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f31107a954bccce836e18c77ddca5a8ff7e70d73ea8dfcb955666acd05cd7c96"` [INFO] running `"docker" "rm" "-f" "f31107a954bccce836e18c77ddca5a8ff7e70d73ea8dfcb955666acd05cd7c96"` [INFO] [stdout] f31107a954bccce836e18c77ddca5a8ff7e70d73ea8dfcb955666acd05cd7c96