[INFO] cloning repository https://github.com/sgalasso42/computorv1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sgalasso42/computorv1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgalasso42%2Fcomputorv1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgalasso42%2Fcomputorv1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cda88bf7d1f1615b8e6e8e341fa4c301269adbe2 [INFO] checking sgalasso42/computorv1 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsgalasso42%2Fcomputorv1" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sgalasso42/computorv1 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sgalasso42/computorv1 [INFO] finished tweaking git repo https://github.com/sgalasso42/computorv1 [INFO] tweaked toml for git repo https://github.com/sgalasso42/computorv1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/sgalasso42/computorv1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fraction v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdde1c91b013bc832eb4b8ecccea03e1dbd7cd87857c2a80d33e01bd682ffe7e [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" "fdde1c91b013bc832eb4b8ecccea03e1dbd7cd87857c2a80d33e01bd682ffe7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdde1c91b013bc832eb4b8ecccea03e1dbd7cd87857c2a80d33e01bd682ffe7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdde1c91b013bc832eb4b8ecccea03e1dbd7cd87857c2a80d33e01bd682ffe7e", kill_on_drop: false }` [INFO] [stdout] fdde1c91b013bc832eb4b8ecccea03e1dbd7cd87857c2a80d33e01bd682ffe7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e06d6bda3e55a91da360417e936b23cdaad0fa2c6ecf7964a0b5a48ab980f9e [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" "1e06d6bda3e55a91da360417e936b23cdaad0fa2c6ecf7964a0b5a48ab980f9e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking fraction v0.7.0 [INFO] [stderr] Checking computorv1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `a` [INFO] [stdout] --> src/utils/polynomial.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 18 | a: monomial_list.iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casts cannot be followed by a method call [INFO] [stdout] --> src/utils/polynomial.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | a: monomial_list.iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try surrounding the expression in parentheses [INFO] [stdout] | [INFO] [stdout] 18 | (a: monomial_list).iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or `}`, found `,` [INFO] [stdout] --> src/utils/polynomial.rs:18:97 [INFO] [stdout] | [INFO] [stdout] 18 | a: monomial_list.iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, or `}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `a` [INFO] [stdout] --> src/utils/polynomial.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 18 | a: monomial_list.iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casts cannot be followed by a method call [INFO] [stdout] --> src/utils/polynomial.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | a: monomial_list.iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try surrounding the expression in parentheses [INFO] [stdout] | [INFO] [stdout] 18 | (a: monomial_list).iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or `}`, found `,` [INFO] [stdout] --> src/utils/polynomial.rs:18:97 [INFO] [stdout] | [INFO] [stdout] 18 | a: monomial_list.iter().filter(|monomial| monomial.power == 2).map(|el| el.factor).sum(), [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, or `}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_power` in this scope [INFO] [stdout] --> src/utils/polynomial.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | for degree in 0..max_power.rev() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | 0 => println!("The equation is {}", polynomial.c == 0.0), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | println!("a: {}, b: {}", polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:20:60 [INFO] [stdout] | [INFO] [stdout] 20 | println!("a: {}, b: {}", polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | polynomial.display_reduced(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let res: f32 = -polynomial.c / polynomial.b; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let res: f32 = -polynomial.c / polynomial.b; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | println!("-b / a = {} / {} = {} = {}", -polynomial.c, polynomial.b, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | println!("-b / a = {} / {} = {} = {}", -polynomial.c, polynomial.b, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | println!("a: {}, b: {}, c: {}", polynomial.a, polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | println!("a: {}, b: {}, c: {}", polynomial.a, polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:31:81 [INFO] [stdout] | [INFO] [stdout] 31 | println!("a: {}, b: {}, c: {}", polynomial.a, polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:32:70 [INFO] [stdout] | [INFO] [stdout] 32 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | polynomial.display_reduced(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | match polynomial.get_discriminant() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | ... let res0: f32 = (-polynomial.b + square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:39:91 [INFO] [stdout] | [INFO] [stdout] 39 | ... let res0: f32 = (-polynomial.b + square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:40:108 [INFO] [stdout] | [INFO] [stdout] 40 | ... println!("(-b + √(delta)) / (2 * a) = ({} + √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res0), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:40:125 [INFO] [stdout] | [INFO] [stdout] 40 | ... println!("(-b + √(delta)) / (2 * a) = ({} + √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res0), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | ... let res1: f32 = (-polynomial.b - square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:41:91 [INFO] [stdout] | [INFO] [stdout] 41 | ... let res1: f32 = (-polynomial.b - square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:42:108 [INFO] [stdout] | [INFO] [stdout] 42 | ... println!("(-b - √(delta)) / (2 * a) = ({} - √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res1), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:42:125 [INFO] [stdout] | [INFO] [stdout] 42 | ... println!("(-b - √(delta)) / (2 * a) = ({} - √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res1), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:46:101 [INFO] [stdout] | [INFO] [stdout] 46 | ... println!("(-b + i * √(-delta)) / (2 * a) = ({} + i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:46:125 [INFO] [stdout] | [INFO] [stdout] 46 | ... println!("(-b + i * √(-delta)) / (2 * a) = ({} + i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:47:101 [INFO] [stdout] | [INFO] [stdout] 47 | ... println!("(-b - i * √(-delta)) / (2 * a) = ({} - i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:47:125 [INFO] [stdout] | [INFO] [stdout] 47 | ... println!("(-b - i * √(-delta)) / (2 * a) = ({} - i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | ... let res: f32 = -polynomial.b / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | ... let res: f32 = -polynomial.b / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:52:85 [INFO] [stdout] | [INFO] [stdout] 52 | ... println!("-b / (2 * a) = {} / (2 * {}) = {} = {}", -polynomial.b, polynomial.a, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:52:99 [INFO] [stdout] | [INFO] [stdout] 52 | ... println!("-b / (2 * a) = {} / (2 * {}) = {} = {}", -polynomial.b, polynomial.a, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Polynomial` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use utils::polynomial::{Polynomial}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_power` in this scope [INFO] [stdout] --> src/utils/polynomial.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | for degree in 0..max_power.rev() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 18 | 0 => println!("The equation is {}", polynomial.c == 0.0), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | println!("a: {}, b: {}", polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:20:60 [INFO] [stdout] | [INFO] [stdout] 20 | println!("a: {}, b: {}", polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | polynomial.display_reduced(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let res: f32 = -polynomial.c / polynomial.b; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let res: f32 = -polynomial.c / polynomial.b; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | println!("-b / a = {} / {} = {} = {}", -polynomial.c, polynomial.b, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | println!("-b / a = {} / {} = {} = {}", -polynomial.c, polynomial.b, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | println!("a: {}, b: {}, c: {}", polynomial.a, polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:31:67 [INFO] [stdout] | [INFO] [stdout] 31 | println!("a: {}, b: {}, c: {}", polynomial.a, polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:31:81 [INFO] [stdout] | [INFO] [stdout] 31 | println!("a: {}, b: {}, c: {}", polynomial.a, polynomial.b, polynomial.c); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:32:70 [INFO] [stdout] | [INFO] [stdout] 32 | if polynomial.a == 0.0 && polynomial.b == 0.0 && polynomial.c == 0.0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | polynomial.display_reduced(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | match polynomial.get_discriminant() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | ... let res0: f32 = (-polynomial.b + square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:39:91 [INFO] [stdout] | [INFO] [stdout] 39 | ... let res0: f32 = (-polynomial.b + square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:40:108 [INFO] [stdout] | [INFO] [stdout] 40 | ... println!("(-b + √(delta)) / (2 * a) = ({} + √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res0), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:40:125 [INFO] [stdout] | [INFO] [stdout] 40 | ... println!("(-b + √(delta)) / (2 * a) = ({} + √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res0), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | ... let res1: f32 = (-polynomial.b - square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:41:91 [INFO] [stdout] | [INFO] [stdout] 41 | ... let res1: f32 = (-polynomial.b - square_root(d)) / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:42:108 [INFO] [stdout] | [INFO] [stdout] 42 | ... println!("(-b - √(delta)) / (2 * a) = ({} - √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res1), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:42:125 [INFO] [stdout] | [INFO] [stdout] 42 | ... println!("(-b - √(delta)) / (2 * a) = ({} - √({})) / (2 * {}) = {} = {}", -polynomial.b, d, polynomial.a, Fraction::from(res1), res... [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:46:101 [INFO] [stdout] | [INFO] [stdout] 46 | ... println!("(-b + i * √(-delta)) / (2 * a) = ({} + i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:46:125 [INFO] [stdout] | [INFO] [stdout] 46 | ... println!("(-b + i * √(-delta)) / (2 * a) = ({} + i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:47:101 [INFO] [stdout] | [INFO] [stdout] 47 | ... println!("(-b - i * √(-delta)) / (2 * a) = ({} - i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:47:125 [INFO] [stdout] | [INFO] [stdout] 47 | ... println!("(-b - i * √(-delta)) / (2 * a) = ({} - i * √({})) / {}", -polynomial.b, -d, 2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | ... let res: f32 = -polynomial.b / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:51:71 [INFO] [stdout] | [INFO] [stdout] 51 | ... let res: f32 = -polynomial.b / (2.0 * polynomial.a); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:52:85 [INFO] [stdout] | [INFO] [stdout] 52 | ... println!("-b / (2 * a) = {} / (2 * {}) = {} = {}", -polynomial.b, polynomial.a, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `polynomial` in this scope [INFO] [stdout] --> src/main.rs:52:99 [INFO] [stdout] | [INFO] [stdout] 52 | ... println!("-b / (2 * a) = {} / (2 * {}) = {} = {}", -polynomial.b, polynomial.a, Fraction::from(res), res); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Polynomial` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use utils::polynomial::{Polynomial}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/polynomial.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / for degree in 0..max_power.rev() { [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_________^ expected struct `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | let discriminant: f32 = float_power(self.b, 2) - 4.0 * self.a * self.c; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | let discriminant: f32 = float_power(self.b, 2) - 4.0 * self.a * self.c; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `c` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | let discriminant: f32 = float_power(self.b, 2) - 4.0 * self.a * self.c; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:28:82 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Discriminant: b^2 - 4 * a * c = {}^2 - 4 * {} * {} = {}", self.b, self.a, self.c, discriminant); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:28:90 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Discriminant: b^2 - 4 * a * c = {}^2 - 4 * {} * {} = {}", self.b, self.a, self.c, discriminant); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `c` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:28:98 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Discriminant: b^2 - 4 * a * c = {}^2 - 4 * {} * {} = {}", self.b, self.a, self.c, discriminant); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `c` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | let tab: [f32; 3] = [self.c, self.b, self.a]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let tab: [f32; 3] = [self.c, self.b, self.a]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | let tab: [f32; 3] = [self.c, self.b, self.a]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/polynomial.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / for degree in 0..max_power.rev() { [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_________^ expected struct `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | let discriminant: f32 = float_power(self.b, 2) - 4.0 * self.a * self.c; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:27:69 [INFO] [stdout] | [INFO] [stdout] 27 | let discriminant: f32 = float_power(self.b, 2) - 4.0 * self.a * self.c; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `c` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | let discriminant: f32 = float_power(self.b, 2) - 4.0 * self.a * self.c; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:28:82 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Discriminant: b^2 - 4 * a * c = {}^2 - 4 * {} * {} = {}", self.b, self.a, self.c, discriminant); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:28:90 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Discriminant: b^2 - 4 * a * c = {}^2 - 4 * {} * {} = {}", self.b, self.a, self.c, discriminant); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `c` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:28:98 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Discriminant: b^2 - 4 * a * c = {}^2 - 4 * {} * {} = {}", self.b, self.a, self.c, discriminant); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `c` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | let tab: [f32; 3] = [self.c, self.b, self.a]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let tab: [f32; 3] = [self.c, self.b, self.a]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&Polynomial` [INFO] [stdout] --> src/utils/polynomial.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | let tab: [f32; 3] = [self.c, self.b, self.a]; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `monomials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stderr] error: could not compile `computorv1` [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 49 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1e06d6bda3e55a91da360417e936b23cdaad0fa2c6ecf7964a0b5a48ab980f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e06d6bda3e55a91da360417e936b23cdaad0fa2c6ecf7964a0b5a48ab980f9e", kill_on_drop: false }` [INFO] [stdout] 1e06d6bda3e55a91da360417e936b23cdaad0fa2c6ecf7964a0b5a48ab980f9e