[INFO] fetching crate fts_units 0.1.1... [INFO] testing fts_units-0.1.1 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate fts_units 0.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate fts_units 0.1.1 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fts_units 0.1.1 [INFO] finished tweaking crates.io crate fts_units 0.1.1 [INFO] tweaked toml for crates.io crate fts_units 0.1.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d8723620f486cfa9d3ff998903cc2acd7fd7c51c79bbe2e79b52010d9783736 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d8723620f486cfa9d3ff998903cc2acd7fd7c51c79bbe2e79b52010d9783736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8723620f486cfa9d3ff998903cc2acd7fd7c51c79bbe2e79b52010d9783736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8723620f486cfa9d3ff998903cc2acd7fd7c51c79bbe2e79b52010d9783736", kill_on_drop: false }` [INFO] [stdout] 7d8723620f486cfa9d3ff998903cc2acd7fd7c51c79bbe2e79b52010d9783736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d97bed3438511812e4fe2e36ac12d240d474eaac7a17aa58d0e3713745a0ff9a [INFO] running `Command { std: "docker" "start" "-a" "d97bed3438511812e4fe2e36ac12d240d474eaac7a17aa58d0e3713745a0ff9a", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling fts_units v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "d97bed3438511812e4fe2e36ac12d240d474eaac7a17aa58d0e3713745a0ff9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97bed3438511812e4fe2e36ac12d240d474eaac7a17aa58d0e3713745a0ff9a", kill_on_drop: false }` [INFO] [stdout] d97bed3438511812e4fe2e36ac12d240d474eaac7a17aa58d0e3713745a0ff9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870e7fa4888a779e41301ef2d6f78755711c9c25d94a2bd3f616a41c6ec3eac8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "870e7fa4888a779e41301ef2d6f78755711c9c25d94a2bd3f616a41c6ec3eac8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling fts_units v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 43.89s [INFO] running `Command { std: "docker" "inspect" "870e7fa4888a779e41301ef2d6f78755711c9c25d94a2bd3f616a41c6ec3eac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870e7fa4888a779e41301ef2d6f78755711c9c25d94a2bd3f616a41c6ec3eac8", kill_on_drop: false }` [INFO] [stdout] 870e7fa4888a779e41301ef2d6f78755711c9c25d94a2bd3f616a41c6ec3eac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 46d9e249307d5e0b6ea8dea8e69132685b587070af359fd9d7119cc9ee248c15 [INFO] running `Command { std: "docker" "start" "-a" "46d9e249307d5e0b6ea8dea8e69132685b587070af359fd9d7119cc9ee248c15", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fts_units-59576499c85425e0 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/si_system-9e7a8fe87c9e098b [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test tests::basic_add ... ok [INFO] [stdout] test tests::basic_mul ... ok [INFO] [stdout] test tests::cast_truncate ... ok [INFO] [stdout] test tests::convert_syntax ... ok [INFO] [stdout] test tests::dimensionless ... ok [INFO] [stdout] test tests::easy_from ... ok [INFO] [stdout] test tests::length_new ... ok [INFO] [stdout] test tests::format ... ok [INFO] [stdout] test tests::mass_new ... ok [INFO] [stdout] test tests::reduce ... ok [INFO] [stdout] test tests::invert ... ok [INFO] [stdout] test tests::si_traits ... ok [INFO] [stdout] test tests::size_check ... ok [INFO] [stdout] test tests::sqrt_inv ... ok [INFO] [stdout] test tests::velocity_calc ... ok [INFO] [stdout] test tests::velocity_convert ... ok [INFO] [stdout] test tests::length_convert ... ok [INFO] [stdout] test tests::basic_cast ... ok [INFO] [stdout] test tests::basic_sub ... ok [INFO] [stdout] test tests::sqrt_simple ... ok [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking fts_units v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking fts_units-tests v0.0.0 (/opt/rustwide/target/tests/fts_units) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.25s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/compile_fail/si_system.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | let _ = Meters::::new(6.0) + Kilometers::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `typenum::uint::UTerm`, found struct `typenum::uint::UInt` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT>, _>, _, _>, _>>` [INFO] [stderr] found type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, _>, _, _>, _>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:12:39 [INFO] [stderr] | [INFO] [stderr] 12 | let _ = Meters::::new(6.0) - Kilometers::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `typenum::uint::UTerm`, found struct `typenum::uint::UInt` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT>, _>, _, _>, _>>` [INFO] [stderr] found type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, _>, _, _>, _>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `fts_units::ratio::RatioT>, typenum::int::PInt>>: fts_units::ops::Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not satisfied [INFO] [stderr] --> $DIR/si_system.rs:13:37 [INFO] [stderr] | [INFO] [stderr] 13 | let _ = Meters::::new(6.0) * Kilometers::::new(4.2); [INFO] [stderr] | ^ the trait `fts_units::ops::Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not implemented for `fts_units::ratio::RatioT>, typenum::int::PInt>>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as fts_units::ops::Xor>> [INFO] [stderr] as fts_units::ops::Xor> [INFO] [stderr] = note: required because of the requirements on the impl of `fts_units::ops::Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>>` for `fts_units::si_system::SIRatiosT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Mul, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` for `fts_units::si_system::SIUnitsT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `fts_units::ratio::RatioT>, typenum::int::PInt>>: fts_units::ops::Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not satisfied [INFO] [stderr] --> $DIR/si_system.rs:14:37 [INFO] [stderr] | [INFO] [stderr] 14 | let _ = Meters::::new(6.0) / Kilometers::::new(4.2); [INFO] [stderr] | ^ the trait `fts_units::ops::Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not implemented for `fts_units::ratio::RatioT>, typenum::int::PInt>>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as fts_units::ops::Xor>> [INFO] [stderr] as fts_units::ops::Xor> [INFO] [stderr] = note: required because of the requirements on the impl of `fts_units::ops::Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>>` for `fts_units::si_system::SIRatiosT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>` [INFO] [stderr] = note: required because of the requirements on the impl of `std::ops::Div, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` for `fts_units::si_system::SIUnitsT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:17:39 [INFO] [stderr] | [INFO] [stderr] 17 | let _ = Meters::::new(6.0) + Meters::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected f32, found f64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT` [INFO] [stderr] found type `fts_units::quantity::QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:18:39 [INFO] [stderr] | [INFO] [stderr] 18 | let _ = Meters::::new(6.0) + Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected f32, found i32 [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT` [INFO] [stderr] found type `fts_units::quantity::QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = Meters::::new(6) + Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected i16, found i32 [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT` [INFO] [stderr] found type `fts_units::quantity::QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:22:39 [INFO] [stderr] | [INFO] [stderr] 22 | let _ = Meters::::new(6.0) - Meters::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected f32, found f64 [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT` [INFO] [stderr] found type `fts_units::quantity::QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:23:39 [INFO] [stderr] | [INFO] [stderr] 23 | let _ = Meters::::new(6.0) - Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected f32, found i32 [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT` [INFO] [stderr] found type `fts_units::quantity::QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:24:37 [INFO] [stderr] | [INFO] [stderr] 24 | let _ = Meters::::new(6) - Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected i16, found i32 [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT` [INFO] [stderr] found type `fts_units::quantity::QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | let _ = Meters::::new(6.0) - Seconds::::new(7.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `fts_units::ratio::RatioT`, found struct `fts_units::ratio::RatioZero` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT>, typenum::int::PInt>>, _, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, _, typenum::int::Z0>>>` [INFO] [stderr] found type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT>, typenum::int::PInt>>>, fts_units::si_system::SIExponentsT>>>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `convert_into` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:30:53 [INFO] [stderr] | [INFO] [stderr] 30 | let _ : Seconds = Meters::::new(23.0).convert_into(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:33:39 [INFO] [stderr] | [INFO] [stderr] 33 | let _ = Meters::::new(6.0) + Dimensionless::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `fts_units::ratio::RatioT`, found struct `fts_units::ratio::RatioZero` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT>, typenum::int::PInt>>, _, _>, fts_units::si_system::SIExponentsT>, _, _>>>` [INFO] [stderr] found type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT, fts_units::si_system::SIExponentsT>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:34:39 [INFO] [stderr] | [INFO] [stderr] 34 | let _ = Meters::::new(6.0) - Dimensionless::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `fts_units::ratio::RatioT`, found struct `fts_units::ratio::RatioZero` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT>, typenum::int::PInt>>, _, _>, fts_units::si_system::SIExponentsT>, _, _>>>` [INFO] [stderr] found type `fts_units::quantity::QuantityT<_, fts_units::si_system::SIUnitsT, fts_units::si_system::SIExponentsT>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:41:39 [INFO] [stderr] | [INFO] [stderr] 41 | let _ = Meters::::new(6.0) + 5.0; [INFO] [stderr] | ^^^ expected struct `fts_units::quantity::QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | let _ = Meters::::new(6.0) - 5.0; [INFO] [stderr] | ^^^ expected struct `fts_units::quantity::QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:43:39 [INFO] [stderr] | [INFO] [stderr] 43 | let _ = Meters::::new(6.0) * 5.0; [INFO] [stderr] | ^^^ expected struct `fts_units::quantity::QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT, fts_units::si_system::SIExponentsT<_, _, _>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:44:39 [INFO] [stderr] | [INFO] [stderr] 44 | let _ = Meters::::new(6.0) / 5.0; [INFO] [stderr] | ^^^ expected struct `fts_units::quantity::QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected type `fts_units::quantity::QuantityT, fts_units::si_system::SIExponentsT<_, _, _>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `invert` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:47:35 [INFO] [stderr] | [INFO] [stderr] 47 | let _ = Meters::::new(9).invert(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:50:37 [INFO] [stderr] | [INFO] [stderr] 50 | let _ = Meters::::new(4.0).sqrt(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT, typenum::bit::B1>>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:51:91 [INFO] [stderr] | [INFO] [stderr] 51 | let _ = (Meters::::new(4.0) * Meters::::new(4.0) * Meters::::new(4.0)).sqrt(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `convert_from` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>>, fts_units::si_system::SIExponentsT>>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | let _ = Seconds::::convert_from(Meters::::new(10.0)); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `fts_units::quantity::QuantityT>, typenum::int::PInt>>>, fts_units::si_system::SIExponentsT>>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `convert_from` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioT>, typenum::int::PInt>>>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::NInt>>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:55:37 [INFO] [stderr] | [INFO] [stderr] 55 | let _ = MetersPerSecond::::convert_from(Meters::::new(10.0)); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioT>, typenum::int::PInt>>>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::NInt>>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `convert_from` found for type `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | let _ = Meters::::convert_from(Meters::::new(77.7)); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `fts_units::quantity::QuantityT>, typenum::int::PInt>>, fts_units::ratio::RatioZero, fts_units::ratio::RatioZero>, fts_units::si_system::SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | let _ = Meters::::new(6.0) + Kilometers::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `typenum::uint::UTerm`, found struct `typenum::uint::UInt` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT<_, SIUnitsT>, _>, _, _>, _>>` [INFO] [stderr] found struct `QuantityT<_, SIUnitsT, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, _>, _, _>, _>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:12:39 [INFO] [stderr] | [INFO] [stderr] 12 | let _ = Meters::::new(6.0) - Kilometers::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `typenum::uint::UTerm`, found struct `typenum::uint::UInt` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT<_, SIUnitsT>, _>, _, _>, _>>` [INFO] [stderr] found struct `QuantityT<_, SIUnitsT, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, _>, _, _>, _>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `RatioT>, typenum::int::PInt>>: Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not satisfied [INFO] [stderr] --> $DIR/si_system.rs:13:37 [INFO] [stderr] | [INFO] [stderr] 13 | let _ = Meters::::new(6.0) * Kilometers::::new(4.2); [INFO] [stderr] | ^ the trait `Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not implemented for `RatioT>, typenum::int::PInt>>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as Xor>> [INFO] [stderr] as Xor> [INFO] [stderr] = note: required because of the requirements on the impl of `Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, RatioZero, RatioZero>>` for `SIRatiosT>, typenum::int::PInt>>, RatioZero, RatioZero>` [INFO] [stderr] = note: required because of the requirements on the impl of `Mul, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` for `SIUnitsT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `RatioT>, typenum::int::PInt>>: Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not satisfied [INFO] [stderr] --> $DIR/si_system.rs:14:37 [INFO] [stderr] | [INFO] [stderr] 14 | let _ = Meters::::new(6.0) / Kilometers::::new(4.2); [INFO] [stderr] | ^ the trait `Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>>` is not implemented for `RatioT>, typenum::int::PInt>>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as Xor>> [INFO] [stderr] as Xor> [INFO] [stderr] = note: required because of the requirements on the impl of `Xor, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, RatioZero, RatioZero>>` for `SIRatiosT>, typenum::int::PInt>>, RatioZero, RatioZero>` [INFO] [stderr] = note: required because of the requirements on the impl of `Div, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` for `SIUnitsT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:17:39 [INFO] [stderr] | [INFO] [stderr] 17 | let _ = Meters::::new(6.0) + Meters::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `f64` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT` [INFO] [stderr] found struct `QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:18:39 [INFO] [stderr] | [INFO] [stderr] 18 | let _ = Meters::::new(6.0) + Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `i32` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT` [INFO] [stderr] found struct `QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = Meters::::new(6) + Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT` [INFO] [stderr] found struct `QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:22:39 [INFO] [stderr] | [INFO] [stderr] 22 | let _ = Meters::::new(6.0) - Meters::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `f64` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT` [INFO] [stderr] found struct `QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:23:39 [INFO] [stderr] | [INFO] [stderr] 23 | let _ = Meters::::new(6.0) - Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `i32` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT` [INFO] [stderr] found struct `QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:24:37 [INFO] [stderr] | [INFO] [stderr] 24 | let _ = Meters::::new(6) - Meters::::new(4); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT` [INFO] [stderr] found struct `QuantityT` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | let _ = Meters::::new(6.0) - Seconds::::new(7.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RatioT`, found struct `RatioZero` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT<_, SIUnitsT>, typenum::int::PInt>>, _, RatioZero>, SIExponentsT>, _, typenum::int::Z0>>>` [INFO] [stderr] found struct `QuantityT<_, SIUnitsT>, typenum::int::PInt>>>, SIExponentsT>>>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `convert_into` found for struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:30:53 [INFO] [stderr] | [INFO] [stderr] 30 | let _ : Seconds = Meters::::new(23.0).convert_into(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:33:39 [INFO] [stderr] | [INFO] [stderr] 33 | let _ = Meters::::new(6.0) + Dimensionless::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RatioT`, found struct `RatioZero` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT<_, SIUnitsT>, typenum::int::PInt>>, _, _>, SIExponentsT>, _, _>>>` [INFO] [stderr] found struct `QuantityT<_, SIUnitsT, SIExponentsT>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:34:39 [INFO] [stderr] | [INFO] [stderr] 34 | let _ = Meters::::new(6.0) - Dimensionless::::new(4.2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RatioT`, found struct `RatioZero` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT<_, SIUnitsT>, typenum::int::PInt>>, _, _>, SIExponentsT>, _, _>>>` [INFO] [stderr] found struct `QuantityT<_, SIUnitsT, SIExponentsT>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:41:39 [INFO] [stderr] | [INFO] [stderr] 41 | let _ = Meters::::new(6.0) + 5.0; [INFO] [stderr] | ^^^ expected struct `QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | let _ = Meters::::new(6.0) - 5.0; [INFO] [stderr] | ^^^ expected struct `QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:43:39 [INFO] [stderr] | [INFO] [stderr] 43 | let _ = Meters::::new(6.0) * 5.0; [INFO] [stderr] | ^^^ expected struct `QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT, SIExponentsT<_, _, _>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> $DIR/si_system.rs:44:39 [INFO] [stderr] | [INFO] [stderr] 44 | let _ = Meters::::new(6.0) / 5.0; [INFO] [stderr] | ^^^ expected struct `QuantityT`, found floating-point number [INFO] [stderr] | [INFO] [stderr] = note: expected struct `QuantityT, SIExponentsT<_, _, _>>>` [INFO] [stderr] found type `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `invert` found for struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:47:35 [INFO] [stderr] | [INFO] [stderr] 47 | let _ = Meters::::new(9).invert(); [INFO] [stderr] | ^^^^^^ method not found in `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:50:37 [INFO] [stderr] | [INFO] [stderr] 50 | let _ = Meters::::new(4.0).sqrt(); [INFO] [stderr] | ^^^^ method not found in `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT, typenum::bit::B1>>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:51:91 [INFO] [stderr] | [INFO] [stderr] 51 | let _ = (Meters::::new(4.0) * Meters::::new(4.0) * Meters::::new(4.0)).sqrt(); [INFO] [stderr] | ^^^^ method not found in `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT, typenum::bit::B1>>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `convert_from` found for struct `QuantityT>, typenum::int::PInt>>>, SIExponentsT>>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | let _ = Seconds::::convert_from(Meters::::new(10.0)); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `QuantityT>, typenum::int::PInt>>>, SIExponentsT>>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `convert_from` found for struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioT>, typenum::int::PInt>>>, SIExponentsT>, typenum::int::Z0, typenum::int::NInt>>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:55:37 [INFO] [stderr] | [INFO] [stderr] 55 | let _ = MetersPerSecond::::convert_from(Meters::::new(10.0)); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `QuantityT>, typenum::int::PInt>>, RatioZero, RatioT>, typenum::int::PInt>>>, SIExponentsT>, typenum::int::Z0, typenum::int::NInt>>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `convert_from` found for struct `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` in the current scope [INFO] [stderr] --> $DIR/si_system.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | let _ = Meters::::convert_from(Meters::::new(77.7)); [INFO] [stderr] | ^^^^^^^^^^^^ function or associated item not found in `QuantityT>, typenum::int::PInt>>, RatioZero, RatioZero>, SIExponentsT>, typenum::int::Z0, typenum::int::Z0>>>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 1 | use fts_units::quantity::ConvertUnits; [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test tests::try_build ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::try_build stdout ---- [INFO] [stdout] thread 'tests::try_build' panicked at '1 of 1 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.35/src/run.rs:61:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56187f716ad0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56187f716ad0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56187f716ad0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56187f716ad0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56187f73d83c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x56187f712152 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x56187f7193c5 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56187f7193c5 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56187f7193c5 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56187f718f52 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56187f719b61 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x56187f7196a7 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x56187f716f8c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56187f719609 - rust_begin_unwind [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x56187f7195bb - std::panicking::begin_panic_fmt::h37a25c59c4d54517 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:435:5 [INFO] [stdout] 15: 0x56187f54096e - trybuild::run::::run::h7f69caa090bde954 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.35/src/run.rs:61:13 [INFO] [stdout] 16: 0x56187f546f4f - ::drop::hdcae021856816942 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.35/src/lib.rs:289:13 [INFO] [stdout] 17: 0x56187f4b43e6 - core::ptr::drop_in_place::h8ce734f35b9446d2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ptr/mod.rs:179:1 [INFO] [stdout] 18: 0x56187f4af491 - si_system::tests::try_build::h0f817558adccb2fd [INFO] [stdout] at /opt/rustwide/workdir/tests/si_system.rs:245:5 [INFO] [stdout] 19: 0x56187f4af44a - si_system::tests::try_build::{{closure}}::h6083efa648164402 [INFO] [stdout] at /opt/rustwide/workdir/tests/si_system.rs:242:5 [INFO] [stdout] 20: 0x56187f4b403e - core::ops::function::FnOnce::call_once::h3a3d8353190350e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56187f6e4813 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x56187f6e4813 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:516:5 [INFO] [stdout] 23: 0x56187f6e2f08 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 24: 0x56187f6e2f08 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 25: 0x56187f6e2f08 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 26: 0x56187f6e2f08 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 27: 0x56187f6e2f08 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 28: 0x56187f6e2f08 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:538:18 [INFO] [stdout] 29: 0x56187f6e2f08 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:449:39 [INFO] [stdout] 30: 0x56187f6bd4f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x56187f6c1cbd - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 32: 0x56187f6c1cbd - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 33: 0x56187f6c1cbd - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 34: 0x56187f6c1cbd - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 35: 0x56187f6c1cbd - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 36: 0x56187f6c1cbd - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 37: 0x56187f6c1cbd - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x56187f71fb2a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 39: 0x56187f71fb2a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 40: 0x56187f71fb2a - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7fde85b0e609 - start_thread [INFO] [stdout] 42: 0x7fde858e0293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::try_build [INFO] [stdout] [INFO] [stdout] test result: FAILED. 20 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test si_system' [INFO] running `Command { std: "docker" "inspect" "46d9e249307d5e0b6ea8dea8e69132685b587070af359fd9d7119cc9ee248c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46d9e249307d5e0b6ea8dea8e69132685b587070af359fd9d7119cc9ee248c15", kill_on_drop: false }` [INFO] [stdout] 46d9e249307d5e0b6ea8dea8e69132685b587070af359fd9d7119cc9ee248c15