[INFO] fetching crate runtime_units 0.6.2... [INFO] testing runtime_units-0.6.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate runtime_units 0.6.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate runtime_units 0.6.2 [INFO] finished tweaking crates.io crate runtime_units 0.6.2 [INFO] tweaked toml for crates.io crate runtime_units 0.6.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate runtime_units 0.6.2 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] crate crates.io crate runtime_units 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield-struct v0.6.2 [INFO] [stderr] Downloaded utoipa v5.3.1 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded criterion v0.6.0 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded syn v2.0.94 [INFO] [stderr] Downloaded utoipa-gen v5.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ec89ddebd6538f69e8e770365eb6dfde3636554d64466853f417256aa9486dd [INFO] running `Command { std: "docker" "start" "-a" "6ec89ddebd6538f69e8e770365eb6dfde3636554d64466853f417256aa9486dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec89ddebd6538f69e8e770365eb6dfde3636554d64466853f417256aa9486dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec89ddebd6538f69e8e770365eb6dfde3636554d64466853f417256aa9486dd", kill_on_drop: false }` [INFO] [stdout] 6ec89ddebd6538f69e8e770365eb6dfde3636554d64466853f417256aa9486dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db58eee645272dba9132f22f1e62f7018151f4c20717d086f0dce8295345f975 [INFO] running `Command { std: "docker" "start" "-a" "db58eee645272dba9132f22f1e62f7018151f4c20717d086f0dce8295345f975", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling static_init_macro v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.94 [INFO] [stderr] Compiling bitfield-struct v0.6.2 [INFO] [stderr] Compiling runtime_units v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UnitBase` [INFO] [stdout] --> src/traits.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{errors::RuntimeUnitError, units_base::{UnitBase, UnitDefinition}, Units}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/amount_of_substance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Amount of substance (base UnitDefinition mole, mol). [INFO] [stdout] 5 | | quantity: AmountOfSubstance; "amount of substance"; [INFO] [stdout] 6 | | /// Dimension of amount of substance, N (base UnitDefinition mole, mol). [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/angle.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / quantity! { [INFO] [stdout] 7 | | /// Angle (dimensionless quantity). [INFO] [stdout] 8 | | quantity: Angle; "angle"; [INFO] [stdout] 9 | | /// Dimension of angle, 1 (dimensionless). [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/dimensionless.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Dimensionless (dimensionless quantity). [INFO] [stdout] 5 | | quantity: Dimensionless; "nondimensional"; [INFO] [stdout] 6 | | /// Dimension of information, 1 (dimensionless). [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/electric_current.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Electric current (base UnitDefinition ampere, A). [INFO] [stdout] 5 | | quantity: ElectricCurrent; "electric current"; [INFO] [stdout] 6 | | /// Dimension of electric current, I (base UnitDefinition ampere, A). [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/length.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / quantity! { [INFO] [stdout] 6 | | /// Length (base UnitDefinition meter, m). [INFO] [stdout] 7 | | quantity: Length; "length"; [INFO] [stdout] 8 | | /// Dimension of length, L (base UnitDefinition meter, m). [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/luminance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Luminance (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stdout] 5 | | quantity: Luminance; "luminance"; [INFO] [stdout] 6 | | /// Dimension of luminance, L⁻²J (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/mass.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Mass (base UnitDefinition kilogram, kg). [INFO] [stdout] 5 | | quantity: Mass; "mass"; [INFO] [stdout] 6 | | /// Mass dimension, M (base UnitDefinition kilogram, kg). [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/temperature_interval.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / quantity! { [INFO] [stdout] 11 | | /// Temperature interval (base UnitDefinition kelvin, K). [INFO] [stdout] 12 | | quantity: TemperatureInterval; "temperature interval"; [INFO] [stdout] 13 | | /// Dimension of temperature interval, Th (base UnitDefinition kelvin, K). [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/time.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / quantity! { [INFO] [stdout] 6 | | /// Time (base UnitDefinition second, s). [INFO] [stdout] 7 | | quantity: Time; "time"; [INFO] [stdout] 8 | | /// Dimension of time, T (base UnitDefinition second, s). [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "db58eee645272dba9132f22f1e62f7018151f4c20717d086f0dce8295345f975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db58eee645272dba9132f22f1e62f7018151f4c20717d086f0dce8295345f975", kill_on_drop: false }` [INFO] [stdout] db58eee645272dba9132f22f1e62f7018151f4c20717d086f0dce8295345f975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9753ab54828ad7ca6b9767dfe24cfee2a7f9d640d9bf7443792fb0f8808b28d3 [INFO] running `Command { std: "docker" "start" "-a" "9753ab54828ad7ca6b9767dfe24cfee2a7f9d640d9bf7443792fb0f8808b28d3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling static_init v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling runtime_units v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UnitBase` [INFO] [stdout] --> src/traits.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{errors::RuntimeUnitError, units_base::{UnitBase, UnitDefinition}, Units}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/amount_of_substance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Amount of substance (base UnitDefinition mole, mol). [INFO] [stdout] 5 | | quantity: AmountOfSubstance; "amount of substance"; [INFO] [stdout] 6 | | /// Dimension of amount of substance, N (base UnitDefinition mole, mol). [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/angle.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / quantity! { [INFO] [stdout] 7 | | /// Angle (dimensionless quantity). [INFO] [stdout] 8 | | quantity: Angle; "angle"; [INFO] [stdout] 9 | | /// Dimension of angle, 1 (dimensionless). [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/dimensionless.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Dimensionless (dimensionless quantity). [INFO] [stdout] 5 | | quantity: Dimensionless; "nondimensional"; [INFO] [stdout] 6 | | /// Dimension of information, 1 (dimensionless). [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/electric_current.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Electric current (base UnitDefinition ampere, A). [INFO] [stdout] 5 | | quantity: ElectricCurrent; "electric current"; [INFO] [stdout] 6 | | /// Dimension of electric current, I (base UnitDefinition ampere, A). [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/length.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / quantity! { [INFO] [stdout] 6 | | /// Length (base UnitDefinition meter, m). [INFO] [stdout] 7 | | quantity: Length; "length"; [INFO] [stdout] 8 | | /// Dimension of length, L (base UnitDefinition meter, m). [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/luminance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Luminance (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stdout] 5 | | quantity: Luminance; "luminance"; [INFO] [stdout] 6 | | /// Dimension of luminance, L⁻²J (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/mass.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Mass (base UnitDefinition kilogram, kg). [INFO] [stdout] 5 | | quantity: Mass; "mass"; [INFO] [stdout] 6 | | /// Mass dimension, M (base UnitDefinition kilogram, kg). [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/temperature_interval.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / quantity! { [INFO] [stdout] 11 | | /// Temperature interval (base UnitDefinition kelvin, K). [INFO] [stdout] 12 | | quantity: TemperatureInterval; "temperature interval"; [INFO] [stdout] 13 | | /// Dimension of temperature interval, Th (base UnitDefinition kelvin, K). [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/time.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / quantity! { [INFO] [stdout] 6 | | /// Time (base UnitDefinition second, s). [INFO] [stdout] 7 | | quantity: Time; "time"; [INFO] [stdout] 8 | | /// Dimension of time, T (base UnitDefinition second, s). [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitBase` [INFO] [stdout] --> src/traits.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{errors::RuntimeUnitError, units_base::{UnitBase, UnitDefinition}, Units}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/amount_of_substance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Amount of substance (base UnitDefinition mole, mol). [INFO] [stdout] 5 | | quantity: AmountOfSubstance; "amount of substance"; [INFO] [stdout] 6 | | /// Dimension of amount of substance, N (base UnitDefinition mole, mol). [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/angle.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / quantity! { [INFO] [stdout] 7 | | /// Angle (dimensionless quantity). [INFO] [stdout] 8 | | quantity: Angle; "angle"; [INFO] [stdout] 9 | | /// Dimension of angle, 1 (dimensionless). [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `base_unit` is never used [INFO] [stdout] --> src/macros.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/dimensionless.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Dimensionless (dimensionless quantity). [INFO] [stdout] 5 | | quantity: Dimensionless; "nondimensional"; [INFO] [stdout] 6 | | /// Dimension of information, 1 (dimensionless). [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/electric_current.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Electric current (base UnitDefinition ampere, A). [INFO] [stdout] 5 | | quantity: ElectricCurrent; "electric current"; [INFO] [stdout] 6 | | /// Dimension of electric current, I (base UnitDefinition ampere, A). [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/length.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / quantity! { [INFO] [stdout] 6 | | /// Length (base UnitDefinition meter, m). [INFO] [stdout] 7 | | quantity: Length; "length"; [INFO] [stdout] 8 | | /// Dimension of length, L (base UnitDefinition meter, m). [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/luminance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Luminance (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stdout] 5 | | quantity: Luminance; "luminance"; [INFO] [stdout] 6 | | /// Dimension of luminance, L⁻²J (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/mass.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / quantity! { [INFO] [stdout] 4 | | /// Mass (base UnitDefinition kilogram, kg). [INFO] [stdout] 5 | | quantity: Mass; "mass"; [INFO] [stdout] 6 | | /// Mass dimension, M (base UnitDefinition kilogram, kg). [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/temperature_interval.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / quantity! { [INFO] [stdout] 11 | | /// Temperature interval (base UnitDefinition kelvin, K). [INFO] [stdout] 12 | | quantity: TemperatureInterval; "temperature interval"; [INFO] [stdout] 13 | | /// Dimension of temperature interval, Th (base UnitDefinition kelvin, K). [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `base` and `base_unit` are never used [INFO] [stdout] --> src/macros.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 260 | impl [<$quantity Unit>] [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub(crate) fn base() -> UnitBase [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/unit_definitions/time.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / quantity! { [INFO] [stdout] 6 | | /// Time (base UnitDefinition second, s). [INFO] [stdout] 7 | | quantity: Time; "time"; [INFO] [stdout] 8 | | /// Dimension of time, T (base UnitDefinition second, s). [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "9753ab54828ad7ca6b9767dfe24cfee2a7f9d640d9bf7443792fb0f8808b28d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9753ab54828ad7ca6b9767dfe24cfee2a7f9d640d9bf7443792fb0f8808b28d3", kill_on_drop: false }` [INFO] [stdout] 9753ab54828ad7ca6b9767dfe24cfee2a7f9d640d9bf7443792fb0f8808b28d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49062641b715c1396164635fc0a4391d213012d5945feae1ea9db73018b37c29 [INFO] running `Command { std: "docker" "start" "-a" "49062641b715c1396164635fc0a4391d213012d5945feae1ea9db73018b37c29", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `UnitBase` [INFO] [stderr] --> src/traits.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{errors::RuntimeUnitError, units_base::{UnitBase, UnitDefinition}, Units}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/amount_of_substance.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / quantity! { [INFO] [stderr] 4 | | /// Amount of substance (base UnitDefinition mole, mol). [INFO] [stderr] 5 | | quantity: AmountOfSubstance; "amount of substance"; [INFO] [stderr] 6 | | /// Dimension of amount of substance, N (base UnitDefinition mole, mol). [INFO] [stderr] ... | [INFO] [stderr] 61 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/angle.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / quantity! { [INFO] [stderr] 7 | | /// Angle (dimensionless quantity). [INFO] [stderr] 8 | | quantity: Angle; "angle"; [INFO] [stderr] 9 | | /// Dimension of angle, 1 (dimensionless). [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/dimensionless.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / quantity! { [INFO] [stderr] 4 | | /// Dimensionless (dimensionless quantity). [INFO] [stderr] 5 | | quantity: Dimensionless; "nondimensional"; [INFO] [stderr] 6 | | /// Dimension of information, 1 (dimensionless). [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/electric_current.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / quantity! { [INFO] [stderr] 4 | | /// Electric current (base UnitDefinition ampere, A). [INFO] [stderr] 5 | | quantity: ElectricCurrent; "electric current"; [INFO] [stderr] 6 | | /// Dimension of electric current, I (base UnitDefinition ampere, A). [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/length.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / quantity! { [INFO] [stderr] 6 | | /// Length (base UnitDefinition meter, m). [INFO] [stderr] 7 | | quantity: Length; "length"; [INFO] [stderr] 8 | | /// Dimension of length, L (base UnitDefinition meter, m). [INFO] [stderr] ... | [INFO] [stderr] 73 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/luminance.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / quantity! { [INFO] [stderr] 4 | | /// Luminance (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stderr] 5 | | quantity: Luminance; "luminance"; [INFO] [stderr] 6 | | /// Dimension of luminance, L⁻²J (base UnitDefinition candela per square meter, cd · m⁻²). [INFO] [stderr] ... | [INFO] [stderr] 87 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/mass.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / quantity! { [INFO] [stderr] 4 | | /// Mass (base UnitDefinition kilogram, kg). [INFO] [stderr] 5 | | quantity: Mass; "mass"; [INFO] [stderr] 6 | | /// Mass dimension, M (base UnitDefinition kilogram, kg). [INFO] [stderr] ... | [INFO] [stderr] 59 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/temperature_interval.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / quantity! { [INFO] [stderr] 11 | | /// Temperature interval (base UnitDefinition kelvin, K). [INFO] [stderr] 12 | | quantity: TemperatureInterval; "temperature interval"; [INFO] [stderr] 13 | | /// Dimension of temperature interval, Th (base UnitDefinition kelvin, K). [INFO] [stderr] ... | [INFO] [stderr] 53 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `base` and `base_unit` are never used [INFO] [stderr] --> src/macros.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | pub(crate) fn base() -> UnitBase [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/time.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / quantity! { [INFO] [stderr] 6 | | /// Time (base UnitDefinition second, s). [INFO] [stderr] 7 | | quantity: Time; "time"; [INFO] [stderr] 8 | | /// Dimension of time, T (base UnitDefinition second, s). [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `runtime_units` (lib) generated 10 warnings (run `cargo fix --lib -p runtime_units` to apply 1 suggestion) [INFO] [stderr] warning: method `base_unit` is never used [INFO] [stderr] --> src/macros.rs:317:27 [INFO] [stderr] | [INFO] [stderr] 260 | impl [<$quantity Unit>] [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 317 | pub(crate) fn base_unit(&self) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/unit_definitions/dimensionless.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / quantity! { [INFO] [stderr] 4 | | /// Dimensionless (dimensionless quantity). [INFO] [stderr] 5 | | quantity: Dimensionless; "nondimensional"; [INFO] [stderr] 6 | | /// Dimension of information, 1 (dimensionless). [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `runtime_units` (lib test) generated 10 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/runtime_units-ee3301a8497d2396) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test tests::test::available_units ... ok [INFO] [stdout] test tests::test::test_convert_length ... ok [INFO] [stdout] test tests::test::test_convert_unit_type_to_units ... ok [INFO] [stdout] test tests::test::convert_unit_length_to_units ... ok [INFO] [stdout] test tests::test::test_quantities_conversion ... ok [INFO] [stdout] test tests::test::test_quantities_creation ... ok [INFO] [stdout] test tests::test::test_quantities_from_units ... ok [INFO] [stdout] test tests::test::test_quantities_to_base_quantity ... ok [INFO] [stdout] test unit_definitions::dimensionless::tests::check_dimension ... ok [INFO] [stdout] test unit_definitions::dimensionless::tests::check_units ... ok [INFO] [stdout] test tests::test::test_quantity_subtraction2 ... ok [INFO] [stdout] test tests::test::test_vector_quantity ... ok [INFO] [stdout] test tests::test::test_quantity_conversion ... ok [INFO] [stderr] Doc-tests runtime_units [INFO] [stdout] test tests::test::test_invalid_addition - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "49062641b715c1396164635fc0a4391d213012d5945feae1ea9db73018b37c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49062641b715c1396164635fc0a4391d213012d5945feae1ea9db73018b37c29", kill_on_drop: false }` [INFO] [stdout] 49062641b715c1396164635fc0a4391d213012d5945feae1ea9db73018b37c29