[INFO] cloning repository https://github.com/pseudobabble/crunch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pseudobabble/crunch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0600ed651516e7ba7a14e633ecd2d10b55bc603 [INFO] testing pseudobabble/crunch/f0600ed651516e7ba7a14e633ecd2d10b55bc603 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudobabble%2Fcrunch" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pseudobabble/crunch [INFO] finished tweaking git repo https://github.com/pseudobabble/crunch [INFO] tweaked toml for git repo https://github.com/pseudobabble/crunch written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pseudobabble/crunch on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pseudobabble/crunch 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding dimensioned v0.8.0 [INFO] [stderr] Adding generic-array v0.14.7 [INFO] [stderr] Adding typenum v1.18.0 [INFO] [stderr] Adding uom v0.36.0 (available: v0.37.0) [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dimensioned v0.8.0 [INFO] [stderr] Downloaded uom v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88221225d15dd67ea377680dbc6e631aac1898690cfd6856d3aa04071de8ceaf [INFO] running `Command { std: "docker" "start" "-a" "88221225d15dd67ea377680dbc6e631aac1898690cfd6856d3aa04071de8ceaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88221225d15dd67ea377680dbc6e631aac1898690cfd6856d3aa04071de8ceaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88221225d15dd67ea377680dbc6e631aac1898690cfd6856d3aa04071de8ceaf", kill_on_drop: false }` [INFO] [stdout] 88221225d15dd67ea377680dbc6e631aac1898690cfd6856d3aa04071de8ceaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c29d13cc60805f7613ae672783f866a5288de107ac8d0239aec3d0d99b2b5e1d [INFO] running `Command { std: "docker" "start" "-a" "c29d13cc60805f7613ae672783f866a5288de107ac8d0239aec3d0d99b2b5e1d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling dimensioned v0.8.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling crunch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Mul`, and `Sub` [INFO] [stdout] --> src/parser.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `square_kilometer` and `square_meter` [INFO] [stdout] --> src/parser.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use uom::si::area::{square_kilometer, square_meter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uom::si::f64::*` [INFO] [stdout] --> src/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use uom::si::f64::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `kilometer` and `meter` [INFO] [stdout] --> src/parser.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use uom::si::length::{kilometer, meter}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uom::si::area::square_meter` [INFO] [stdout] --> src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use uom::si::area::square_meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Area`, `Mass`, and `Time` [INFO] [stdout] --> src/types.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use uom::si::f64::{Area, Length, Mass, Time}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uom::si::mass::kilogram` [INFO] [stdout] --> src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uom::si::mass::kilogram; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uom::si::time::second` [INFO] [stdout] --> src/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uom::si::time::second; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SI` [INFO] [stdout] --> src/types.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use uom::si::{Dimension, Quantity, SI}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `N1` and `P1` [INFO] [stdout] --> src/types.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use uom::typenum::{N1, P1}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | vector.iter().map(|left_x| *left_x * scalar).collect() [INFO] [stdout] | ^^^^^^ expected `f64`, found `Quantity` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `Quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec>::Output, U, f64>>` cannot be built from an iterator over elements of type `Quantity` [INFO] [stdout] --> src/types.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | vector.iter().map(|left_x| *left_x * scalar).collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec>::Output, U, f64>>` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `Vec>::Output, U, f64>>` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/types.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | vector.iter().map(|left_x| *left_x * scalar).collect() [INFO] [stdout] | ------ ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Quantity` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&Quantity` here [INFO] [stdout] | this expression has type `Vec>` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 61 | ::Kind: marker::Mul, Vec>::Output, U, f64>>: FromIterator> [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot divide `Quantity` by `Quantity` [INFO] [stdout] --> src/types.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | vector.iter().map(|left_x| *left_x / scalar).collect() [INFO] [stdout] | ------- ^ ------ Quantity [INFO] [stdout] | | [INFO] [stdout] | Quantity [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::L: std::ops::Sub<::L> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::M: std::ops::Sub<::M> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::T: std::ops::Sub<::T> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::I: std::ops::Sub<::I> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::Th: std::ops::Sub<::Th> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::N: std::ops::Sub<::N> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::J: std::ops::Sub<::J> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::Kind: parser::uom::marker::Div [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 74 | >::Output: Dimension, ::Kind: parser::uom::marker::Div [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `Quantity` to `Quantity` [INFO] [stdout] --> src/types.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|(left_x, right_x)| *left_x + right_x) [INFO] [stdout] | ------- ^ ------- Quantity [INFO] [stdout] | | [INFO] [stdout] | Quantity [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 82 | U: uom::si::Units + ?Sized, ::Kind: parser::uom::marker::Add [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `Quantity` from `Quantity` [INFO] [stdout] --> src/types.rs:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | .map(|(left_x, right_x)| *left_x - right_x) [INFO] [stdout] | ------- ^ ------- Quantity [INFO] [stdout] | | [INFO] [stdout] | Quantity [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 97 | U: uom::si::Units + ?Sized, ::Kind: parser::uom::marker::Sub [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Quantity` by `Quantity` [INFO] [stdout] --> src/types.rs:119:42 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|(left_x, right_x)| *left_x * right_x) [INFO] [stdout] | ------- ^ ------- Quantity [INFO] [stdout] | | [INFO] [stdout] | Quantity [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::L: std::ops::Add<::L> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::M: std::ops::Add<::M> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::T: std::ops::Add<::T> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::I: std::ops::Add<::I> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::Th: std::ops::Add<::Th> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::N: std::ops::Add<::N> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::J: std::ops::Add<::J> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::Kind: parser::uom::marker::Mul [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 114 | >::Output: Dimension, ::Kind: parser::uom::marker::Mul [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot divide `Quantity` by `Quantity` [INFO] [stdout] --> src/types.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | .map(|(left_x, right_x)| *left_x / right_x) [INFO] [stdout] | ------- ^ ------- Quantity [INFO] [stdout] | | [INFO] [stdout] | Quantity [INFO] [stdout] | [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::L: std::ops::Sub<::L> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::M: std::ops::Sub<::M> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::T: std::ops::Sub<::T> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::I: std::ops::Sub<::I> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::Th: std::ops::Sub<::Th> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::N: std::ops::Sub<::N> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::J: std::ops::Sub<::J> [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::Kind: parser::uom::marker::Div [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 131 | >::Output: Dimension, ::Kind: parser::uom::marker::Div [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:251:59 [INFO] [stdout] | [INFO] [stdout] 251 | Value::Length(rhs_value) => Value::Length(lhs_value * rhs_value), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^ expected `UTerm`, found `UInt` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<..., ..., f64>` (`UTerm`) [INFO] [stdout] found struct `Quantity<..., ..., f64>` (`UInt`) [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/types.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Length(Length), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-17112367091941464843.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `dyn Dimension` by `_` [INFO] [stdout] --> src/types.rs:254:70 [INFO] [stdout] | [INFO] [stdout] 254 | Value::VectorLength(scalar_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ no implementation for `dyn Dimension * _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<_>` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by a bound in `scalar_vector_multiplication` [INFO] [stdout] --> src/types.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn scalar_vector_multiplication( [INFO] [stdout] | ---------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 49 | D1: Dimension + Mul, [INFO] [stdout] | ^^^^^^^ required by this bound in `scalar_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-10770454833341158775.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:254:70 [INFO] [stdout] | [INFO] [stdout] 254 | Value::VectorLength(scalar_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_multiplication` [INFO] [stdout] --> src/types.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | fn scalar_vector_multiplication( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-10770454833341158775.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 49 | D1: Dimension + Mul + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:254:81 [INFO] [stdout] | [INFO] [stdout] 254 | Value::VectorLength(scalar_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_multiplication` [INFO] [stdout] --> src/types.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn scalar_vector_multiplication( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-754166785041273240.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 50 | D2: Dimension + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `dyn Dimension` by `_` [INFO] [stdout] --> src/types.rs:261:70 [INFO] [stdout] | [INFO] [stdout] 261 | Value::VectorLength(scalar_vector_multiplication(rhs_value, lhs_value)) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ no implementation for `dyn Dimension * _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<_>` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by a bound in `scalar_vector_multiplication` [INFO] [stdout] --> src/types.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn scalar_vector_multiplication( [INFO] [stdout] | ---------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 49 | D1: Dimension + Mul, [INFO] [stdout] | ^^^^^^^ required by this bound in `scalar_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-14113667535972537758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:261:70 [INFO] [stdout] | [INFO] [stdout] 261 | Value::VectorLength(scalar_vector_multiplication(rhs_value, lhs_value)) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_multiplication` [INFO] [stdout] --> src/types.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | fn scalar_vector_multiplication( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-14113667535972537758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 49 | D1: Dimension + Mul + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:261:81 [INFO] [stdout] | [INFO] [stdout] 261 | Value::VectorLength(scalar_vector_multiplication(rhs_value, lhs_value)) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_multiplication` [INFO] [stdout] --> src/types.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | fn scalar_vector_multiplication( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-5853769322359137471.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 50 | D2: Dimension + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `dyn Dimension` by `_` [INFO] [stdout] --> src/types.rs:265:75 [INFO] [stdout] | [INFO] [stdout] 265 | Value::VectorLength(elementwise_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | --------------------------------- ^^^^^^^^^ no implementation for `dyn Dimension * _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<_>` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by a bound in `elementwise_vector_multiplication` [INFO] [stdout] --> src/types.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 106 | fn elementwise_vector_multiplication( [INFO] [stdout] | --------------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 111 | D1: Dimension + Mul, [INFO] [stdout] | ^^^^^^^ required by this bound in `elementwise_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-8814938203635332408.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:265:75 [INFO] [stdout] | [INFO] [stdout] 265 | Value::VectorLength(elementwise_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | --------------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `elementwise_vector_multiplication` [INFO] [stdout] --> src/types.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | fn elementwise_vector_multiplication( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `elementwise_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-8814938203635332408.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 111 | D1: Dimension + Mul + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:265:86 [INFO] [stdout] | [INFO] [stdout] 265 | Value::VectorLength(elementwise_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | --------------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `elementwise_vector_multiplication` [INFO] [stdout] --> src/types.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | fn elementwise_vector_multiplication( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `elementwise_vector_multiplication` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-6633440517720383073.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 112 | D2: Dimension + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `dyn Dimension` by `dyn Dimension` [INFO] [stdout] --> src/types.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | Value::VectorLength(scalar_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dyn Dimension * dyn Dimension` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul>, M = Z0, N = Z0, T = Z0, Th = Z0>>` is not implemented for `dyn Dimension` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-10770454833341158775.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `dyn Dimension` by `dyn Dimension` [INFO] [stdout] --> src/types.rs:261:41 [INFO] [stdout] | [INFO] [stdout] 261 | Value::VectorLength(scalar_vector_multiplication(rhs_value, lhs_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dyn Dimension * dyn Dimension` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul>, M = Z0, N = Z0, T = Z0, Th = Z0>>` is not implemented for `dyn Dimension` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-14113667535972537758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `dyn Dimension` by `dyn Dimension` [INFO] [stdout] --> src/types.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 265 | Value::VectorLength(elementwise_vector_multiplication(lhs_value, rhs_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dyn Dimension * dyn Dimension` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul>, M = Z0, N = Z0, T = Z0, Th = Z0>>` is not implemented for `dyn Dimension` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-8814938203635332408.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:280:59 [INFO] [stdout] | [INFO] [stdout] 280 | Value::Length(rhs_value) => Value::Length(lhs_value / rhs_value), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^ expected `PInt>`, found `Z0` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Quantity<..., ..., f64>` (`PInt>`) [INFO] [stdout] found struct `Quantity<..., ..., f64>` (`Z0`) [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/types.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Length(Length), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-17112367091941464843.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `dyn Dimension` by `_` [INFO] [stdout] --> src/types.rs:283:64 [INFO] [stdout] | [INFO] [stdout] 283 | Value::VectorLength(scalar_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | ---------------------- ^^^^^^^^^ no implementation for `dyn Dimension / _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Div<_>` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by a bound in `scalar_vector_division` [INFO] [stdout] --> src/types.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 66 | fn scalar_vector_division( [INFO] [stdout] | ---------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 71 | D1: Dimension + Div, [INFO] [stdout] | ^^^^^^^ required by this bound in `scalar_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-10770454833341158775.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:283:64 [INFO] [stdout] | [INFO] [stdout] 283 | Value::VectorLength(scalar_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | ---------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_division` [INFO] [stdout] --> src/types.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | fn scalar_vector_division( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-10770454833341158775.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 71 | D1: Dimension + Div + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:283:75 [INFO] [stdout] | [INFO] [stdout] 283 | Value::VectorLength(scalar_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | ---------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_division` [INFO] [stdout] --> src/types.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | fn scalar_vector_division( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-754166785041273240.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 72 | D2: Dimension + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `dyn Dimension` by `_` [INFO] [stdout] --> src/types.rs:290:64 [INFO] [stdout] | [INFO] [stdout] 290 | Value::VectorLength(scalar_vector_division(rhs_value, lhs_value)) [INFO] [stdout] | ---------------------- ^^^^^^^^^ no implementation for `dyn Dimension / _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Div<_>` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by a bound in `scalar_vector_division` [INFO] [stdout] --> src/types.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 66 | fn scalar_vector_division( [INFO] [stdout] | ---------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 71 | D1: Dimension + Div, [INFO] [stdout] | ^^^^^^^ required by this bound in `scalar_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-14113667535972537758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:290:64 [INFO] [stdout] | [INFO] [stdout] 290 | Value::VectorLength(scalar_vector_division(rhs_value, lhs_value)) [INFO] [stdout] | ---------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_division` [INFO] [stdout] --> src/types.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | fn scalar_vector_division( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-14113667535972537758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 71 | D1: Dimension + Div + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:290:75 [INFO] [stdout] | [INFO] [stdout] 290 | Value::VectorLength(scalar_vector_division(rhs_value, lhs_value)) [INFO] [stdout] | ---------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `scalar_vector_division` [INFO] [stdout] --> src/types.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | fn scalar_vector_division( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `scalar_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-5853769322359137471.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 72 | D2: Dimension + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `dyn Dimension` by `_` [INFO] [stdout] --> src/types.rs:294:69 [INFO] [stdout] | [INFO] [stdout] 294 | Value::VectorLength(elementwise_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | --------------------------- ^^^^^^^^^ no implementation for `dyn Dimension / _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Div<_>` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by a bound in `elementwise_vector_division` [INFO] [stdout] --> src/types.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 123 | fn elementwise_vector_division( [INFO] [stdout] | --------------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 128 | D1: Dimension + Div, [INFO] [stdout] | ^^^^^^^ required by this bound in `elementwise_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-8814938203635332408.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:294:69 [INFO] [stdout] | [INFO] [stdout] 294 | Value::VectorLength(elementwise_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | --------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `elementwise_vector_division` [INFO] [stdout] --> src/types.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | fn elementwise_vector_division( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `elementwise_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-8814938203635332408.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 128 | D1: Dimension + Div + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Dimension` cannot be known at compilation time [INFO] [stdout] --> src/types.rs:294:80 [INFO] [stdout] | [INFO] [stdout] 294 | Value::VectorLength(elementwise_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | --------------------------- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Dimension` [INFO] [stdout] note: required by an implicit `Sized` bound in `elementwise_vector_division` [INFO] [stdout] --> src/types.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | fn elementwise_vector_division( [INFO] [stdout] | ^^ required by the implicit `Sized` requirement on this type parameter in `elementwise_vector_division` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-6633440517720383073.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 129 | D2: Dimension + ?Sized, [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `dyn Dimension` by `dyn Dimension` [INFO] [stdout] --> src/types.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | Value::VectorLength(scalar_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dyn Dimension / dyn Dimension` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Div>, M = Z0, N = Z0, T = Z0, Th = Z0>>` is not implemented for `dyn Dimension` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-10770454833341158775.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `dyn Dimension` by `dyn Dimension` [INFO] [stdout] --> src/types.rs:290:41 [INFO] [stdout] | [INFO] [stdout] 290 | Value::VectorLength(scalar_vector_division(rhs_value, lhs_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dyn Dimension / dyn Dimension` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Div>, M = Z0, N = Z0, T = Z0, Th = Z0>>` is not implemented for `dyn Dimension` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-14113667535972537758.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `dyn Dimension` by `dyn Dimension` [INFO] [stdout] --> src/types.rs:294:41 [INFO] [stdout] | [INFO] [stdout] 294 | Value::VectorLength(elementwise_vector_division(lhs_value, rhs_value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dyn Dimension / dyn Dimension` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Div>, M = Z0, N = Z0, T = Z0, Th = Z0>>` is not implemented for `dyn Dimension` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/crunch-769af982c18a64ee.long-type-8814938203635332408.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&types::Unit` [INFO] [stdout] --> src/types.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Debug, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 306 | unit: Unit, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `types::Unit` [INFO] [stdout] --> src/types.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Unit { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `types::Unit` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 140 + #[derive(PartialEq)] [INFO] [stdout] 141 | pub enum Unit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&types::Unit` [INFO] [stdout] --> src/types.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Debug, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 310 | unit: Unit, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `types::Unit` [INFO] [stdout] --> src/types.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Unit { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `types::Unit` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 140 + #[derive(PartialEq)] [INFO] [stdout] 141 | pub enum Unit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `types::Unit` doesn't implement `Debug` [INFO] [stdout] --> src/types.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 306 | unit: Unit, [INFO] [stdout] | ^^^^^^^^^^ the trait `Debug` is not implemented for `types::Unit` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `types::Unit` or manually `impl Debug for types::Unit` [INFO] [stdout] help: consider annotating `types::Unit` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 140 + #[derive(Debug)] [INFO] [stdout] 141 | pub enum Unit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `types::Unit` doesn't implement `Debug` [INFO] [stdout] --> src/types.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 310 | unit: Unit, [INFO] [stdout] | ^^^^^^^^^^ the trait `Debug` is not implemented for `types::Unit` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `types::Unit` or manually `impl Debug for types::Unit` [INFO] [stdout] help: consider annotating `types::Unit` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 140 + #[derive(Debug)] [INFO] [stdout] 141 | pub enum Unit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `types::Unit: Clone` is not satisfied [INFO] [stdout] --> src/types.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 306 | unit: Unit, [INFO] [stdout] | ^^^^^^^^^^ the trait `Clone` is not implemented for `types::Unit` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `types::Unit` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 140 + #[derive(Clone)] [INFO] [stdout] 141 | pub enum Unit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `types::Unit: Clone` is not satisfied [INFO] [stdout] --> src/types.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(PartialEq, Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 310 | unit: Unit, [INFO] [stdout] | ^^^^^^^^^^ the trait `Clone` is not implemented for `types::Unit` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `types::Unit` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 140 + #[derive(Clone)] [INFO] [stdout] 141 | pub enum Unit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/types.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | _ => panic!("Unsupported unit"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/types.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 160 | Unit::Meter => Self::Length(Length::new::(value)), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 161 | Unit::Kilometer => Self::Length(Length::new::(value)), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 162 | _ => panic!("Unsupported unit"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/types.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | _ => panic!("Unsupported unit"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/types.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 168 | Unit::Meter => Self::VectorLength( [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 174 | Unit::Kilometer => Self::VectorLength( [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 180 | _ => panic!("Unsupported unit"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crunch` (bin "crunch") due to 39 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c29d13cc60805f7613ae672783f866a5288de107ac8d0239aec3d0d99b2b5e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29d13cc60805f7613ae672783f866a5288de107ac8d0239aec3d0d99b2b5e1d", kill_on_drop: false }` [INFO] [stdout] c29d13cc60805f7613ae672783f866a5288de107ac8d0239aec3d0d99b2b5e1d