[INFO] fetching crate fnir 0.1.1... [INFO] checking fnir-0.1.1 against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] extracting crate fnir 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate fnir 0.1.1 [INFO] finished tweaking crates.io crate fnir 0.1.1 [INFO] tweaked toml for crates.io crate fnir 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fnir 0.1.1 on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a02be84673efd03922a17b3b1d94108987cf9351cc4cf03dfb9fa6fa070cfab2 [INFO] running `Command { std: "docker" "start" "-a" "a02be84673efd03922a17b3b1d94108987cf9351cc4cf03dfb9fa6fa070cfab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a02be84673efd03922a17b3b1d94108987cf9351cc4cf03dfb9fa6fa070cfab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02be84673efd03922a17b3b1d94108987cf9351cc4cf03dfb9fa6fa070cfab2", kill_on_drop: false }` [INFO] [stdout] a02be84673efd03922a17b3b1d94108987cf9351cc4cf03dfb9fa6fa070cfab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Zstrict-projection-item-bounds" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69843b7ab92e675a4ea802d76a4f91c994077662ffcd27b399d4097b83c6a28c [INFO] running `Command { std: "docker" "start" "-a" "69843b7ab92e675a4ea802d76a4f91c994077662ffcd27b399d4097b83c6a28c", kill_on_drop: false }` [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking fnir v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/algebra.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait AdditiveSemigroup: AdditiveMagma {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AdditiveMagma` [INFO] [stdout] --> src/algebra.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait AdditiveMagma: ops::Add + ops::AddAssign {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 165 | pub trait AdditiveSemigroup: AdditiveMagma + Sized {} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/algebra.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait MultiplicativeSemigroup: MultiplicativeMagma {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `MultiplicativeMagma` [INFO] [stdout] --> src/algebra.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub trait MultiplicativeMagma: ops::Mul + ops::MulAssign {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 225 | pub trait MultiplicativeSemigroup: MultiplicativeMagma + Sized {} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | let u = I::exp(1.0 / t - t); [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 121 - let u = I::exp(1.0 / t - t); [INFO] [stdout] 121 + let u = ComplexFloat::exp(1.0 / t - t); [INFO] [stdout] | [INFO] [stdout] 121 - let u = I::exp(1.0 / t - t); [INFO] [stdout] 121 + let u = num::Float::exp(1.0 / t - t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 86 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 122 | let r = 2.0 * u / (1.0 + u); [INFO] [stdout] | ^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 86 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 122 | let r = 2.0 * u / (1.0 + u); [INFO] [stdout] | ^^^^^^^^^ expected type parameter `I`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `I` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 86 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 123 | let w = (t + 1.0 / t) * r / (1.0 + u); [INFO] [stdout] | ^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | let r = I::exp(t - 0.25 / t); [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 190 - let r = I::exp(t - 0.25 / t); [INFO] [stdout] 190 + let r = ComplexFloat::exp(t - 0.25 / t); [INFO] [stdout] | [INFO] [stdout] 190 - let r = I::exp(t - 0.25 / t); [INFO] [stdout] 190 + let r = num::Float::exp(t - 0.25 / t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 156 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 192 | let (x1, x2) = (c + d / r, c + d * r); [INFO] [stdout] | ^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 156 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 196 | q += y1 * (1.0 / w); [INFO] [stdout] | ^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (ComplexFloat::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (num::Float::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:254:58 [INFO] [stdout] | [INFO] [stdout] 254 | let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (I::exp(t - 0.25 / t) - 1.0 / ComplexFloat::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (I::exp(t - 0.25 / t) - 1.0 / num::Float::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 254 | let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (ComplexFloat::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (num::Float::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 255 | let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (I::exp(t - 0.25 / t) + 1.0 / ComplexFloat::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (I::exp(t - 0.25 / t) + 1.0 / num::Float::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:255:49 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 255 | let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/algebra.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait AdditiveSemigroup: AdditiveMagma {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AdditiveMagma` [INFO] [stdout] --> src/algebra.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait AdditiveMagma: ops::Add + ops::AddAssign {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 165 | pub trait AdditiveSemigroup: AdditiveMagma + Sized {} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fnir` (lib test) due to 17 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 256 | let (x1, x2) = (c - d * r, c + d * r); [INFO] [stdout] | ^^^^^ expected type parameter `I`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `I` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/algebra.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait MultiplicativeSemigroup: MultiplicativeMagma {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `MultiplicativeMagma` [INFO] [stdout] --> src/algebra.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | pub trait MultiplicativeMagma: ops::Mul + ops::MulAssign {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 225 | pub trait MultiplicativeSemigroup: MultiplicativeMagma + Sized {} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:256:48 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 256 | let (x1, x2) = (c - d * r, c + d * r); [INFO] [stdout] | ^^^^^ expected type parameter `I`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `I` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | let u = I::exp(1.0 / t - t); [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 121 - let u = I::exp(1.0 / t - t); [INFO] [stdout] 121 + let u = ComplexFloat::exp(1.0 / t - t); [INFO] [stdout] | [INFO] [stdout] 121 - let u = I::exp(1.0 / t - t); [INFO] [stdout] 121 + let u = num::Float::exp(1.0 / t - t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 86 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 122 | let r = 2.0 * u / (1.0 + u); [INFO] [stdout] | ^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 86 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 122 | let r = 2.0 * u / (1.0 + u); [INFO] [stdout] | ^^^^^^^^^ expected type parameter `I`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `I` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 86 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 123 | let w = (t + 1.0 / t) * r / (1.0 + u); [INFO] [stdout] | ^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | let r = I::exp(t - 0.25 / t); [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 190 - let r = I::exp(t - 0.25 / t); [INFO] [stdout] 190 + let r = ComplexFloat::exp(t - 0.25 / t); [INFO] [stdout] | [INFO] [stdout] 190 - let r = I::exp(t - 0.25 / t); [INFO] [stdout] 190 + let r = num::Float::exp(t - 0.25 / t); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 156 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 192 | let (x1, x2) = (c + d / r, c + d * r); [INFO] [stdout] | ^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 156 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 196 | q += y1 * (1.0 / w); [INFO] [stdout] | ^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:254:29 [INFO] [stdout] | [INFO] [stdout] 254 | let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (ComplexFloat::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (num::Float::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:254:58 [INFO] [stdout] | [INFO] [stdout] 254 | let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (I::exp(t - 0.25 / t) - 1.0 / ComplexFloat::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 254 - let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 254 + let r = (I::exp(t - 0.25 / t) - 1.0 / num::Float::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 254 | let r = (I::exp(t - 0.25 / t) - 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:255:29 [INFO] [stdout] | [INFO] [stdout] 255 | let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (ComplexFloat::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (num::Float::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/quadrature/mod.rs:255:58 [INFO] [stdout] | [INFO] [stdout] 255 | let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^ multiple `exp` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `ComplexFloat` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-complex-0.4.6/src/complex_float.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `num::Float` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-traits-0.2.19/src/float.rs:1393:5 [INFO] [stdout] | [INFO] [stdout] 1393 | fn exp(self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (I::exp(t - 0.25 / t) + 1.0 / ComplexFloat::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] 255 - let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] 255 + let w = (I::exp(t - 0.25 / t) + 1.0 / num::Float::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:255:49 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 255 | let w = (I::exp(t - 0.25 / t) + 1.0 / I::exp(t - 0.25 / t)) / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found type parameter `I` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found type parameter `I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 256 | let (x1, x2) = (c - d * r, c + d * r); [INFO] [stdout] | ^^^^^ expected type parameter `I`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `I` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/quadrature/mod.rs:256:48 [INFO] [stdout] | [INFO] [stdout] 221 | I: alg::FloatField + ops::Mul, [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 256 | let (x1, x2) = (c - d * r, c + d * r); [INFO] [stdout] | ^^^^^ expected type parameter `I`, found floating-point number [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `I` [INFO] [stdout] found type `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fnir` (lib) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "69843b7ab92e675a4ea802d76a4f91c994077662ffcd27b399d4097b83c6a28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69843b7ab92e675a4ea802d76a4f91c994077662ffcd27b399d4097b83c6a28c", kill_on_drop: false }` [INFO] [stdout] 69843b7ab92e675a4ea802d76a4f91c994077662ffcd27b399d4097b83c6a28c