[INFO] fetching crate tiny-uom 0.1.0... [INFO] checking tiny-uom-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tiny-uom 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tiny-uom 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate tiny-uom 0.1.0 [INFO] finished tweaking crates.io crate tiny-uom 0.1.0 [INFO] tweaked toml for crates.io crate tiny-uom 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6690ddaf325935d5e7cb9fa99bb6f53b137eee05fa3e17594a06fc0477a23ce7 [INFO] running `Command { std: "docker" "start" "-a" "6690ddaf325935d5e7cb9fa99bb6f53b137eee05fa3e17594a06fc0477a23ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6690ddaf325935d5e7cb9fa99bb6f53b137eee05fa3e17594a06fc0477a23ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6690ddaf325935d5e7cb9fa99bb6f53b137eee05fa3e17594a06fc0477a23ce7", kill_on_drop: false }` [INFO] [stdout] 6690ddaf325935d5e7cb9fa99bb6f53b137eee05fa3e17594a06fc0477a23ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf342d08a68b8c7d8d722b9eba60113be56262cd721c982d946d8fdf3b4ca49c [INFO] running `Command { std: "docker" "start" "-a" "bf342d08a68b8c7d8d722b9eba60113be56262cd721c982d946d8fdf3b4ca49c", kill_on_drop: false }` [INFO] [stderr] Checking tiny-uom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(const_generics, const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(const_generics, const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(const_generics, const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | #![feature(const_generics, const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `generic_const_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | $t<{ L.mul(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | $t<{ L.mul(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | type Output = $t<{ L.mul(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | $t<{ L.mul(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | type Output = $t<{ L.mul(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | $t<{ L.mul(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | type Output = $t<{ L.mul(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | $t<{ L.div(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | $t<{ L.div(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | type Output = $t<{ L.mul(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | type Output = $t<{ L.div(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | $t<{ L.div(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | type Output = $t<{ L.div(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:300:24 [INFO] [stdout] | [INFO] [stdout] 300 | $t<{ L.div(R) }>: , [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | $t<{ U.inv() }>: , [INFO] [stdout] | ^ cannot perform const operation using `U` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `U` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | type Output = $t<{ L.div(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `L` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `L` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | type Output = $t<{ U.inv() }>; [INFO] [stdout] | ^ cannot perform const operation using `U` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `U` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | type Output = $t<{ L.div(R) }>; [INFO] [stdout] | ^ cannot perform const operation using `R` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `R` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | $t<{ U.inv() }>: , [INFO] [stdout] | ^ cannot perform const operation using `U` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `U` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | type Output = $t<{ U.inv() }>; [INFO] [stdout] | ^ cannot perform const operation using `U` [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `U` [INFO] [stdout] = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Quantity { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | impl $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | impl ::std::fmt::Display for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | impl ::std::ops::Add<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl ::std::ops::AddAssign<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 220 | impl ::std::ops::Sub<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | impl ::std::ops::SubAssign<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | impl ::std::ops::Mul<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | impl ::std::ops::Mul<$t> for $num { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Quantity { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | impl $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | impl ::std::fmt::Display for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | impl ::std::ops::Mul<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:263:38 [INFO] [stdout] | [INFO] [stdout] 263 | impl ::std::ops::Mul<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | impl ::std::ops::MulAssign<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | impl ::std::ops::Add<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | impl ::std::ops::Div<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | impl ::std::ops::AddAssign<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 220 | impl ::std::ops::Sub<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | impl ::std::ops::Div<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | impl ::std::ops::Div<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | impl ::std::ops::Div<$t> for $num [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | impl ::std::ops::DivAssign<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | impl ::std::ops::SubAssign<$t> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | impl ::std::ops::Mul<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | impl ::std::ops::Mul<$t> for $num { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | impl ::std::ops::Mul<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:263:38 [INFO] [stdout] | [INFO] [stdout] 263 | impl ::std::ops::Mul<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | impl ::std::ops::MulAssign<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | impl ::std::ops::Div<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | impl ::std::ops::Div<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | impl ::std::ops::Div<$t> for $t [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | impl ::std::ops::Div<$t> for $num [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Unit` is forbidden as the type of a const generic parameter [INFO] [stdout] --> src/lib.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | impl ::std::ops::DivAssign<$num> for $t { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | quantity_impl!(f64, Quantity); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the only supported types are integers, `bool` and `char` [INFO] [stdout] = note: this error originates in the macro `quantity_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types [INFO] [stdout] | [INFO] [stdout] 41 + #![feature(adt_const_params)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-uom` (lib test) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tiny-uom` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "bf342d08a68b8c7d8d722b9eba60113be56262cd721c982d946d8fdf3b4ca49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf342d08a68b8c7d8d722b9eba60113be56262cd721c982d946d8fdf3b4ca49c", kill_on_drop: false }` [INFO] [stdout] bf342d08a68b8c7d8d722b9eba60113be56262cd721c982d946d8fdf3b4ca49c