[INFO] cloning repository https://github.com/oeb25/cdm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oeb25/cdm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bba5d91e7430b9e9a439d03ebf5f23ebbd537ec [INFO] testing oeb25/cdm against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/cdm on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oeb25/cdm [INFO] finished tweaking git repo https://github.com/oeb25/cdm [INFO] tweaked toml for git repo https://github.com/oeb25/cdm written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oeb25/cdm 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e0c9e2966c6d67b68ca4f82e37ec00f5d2d550a94cd142062b9306e5ac982f [INFO] running `Command { std: "docker" "start" "-a" "d1e0c9e2966c6d67b68ca4f82e37ec00f5d2d550a94cd142062b9306e5ac982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e0c9e2966c6d67b68ca4f82e37ec00f5d2d550a94cd142062b9306e5ac982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e0c9e2966c6d67b68ca4f82e37ec00f5d2d550a94cd142062b9306e5ac982f", kill_on_drop: false }` [INFO] [stdout] d1e0c9e2966c6d67b68ca4f82e37ec00f5d2d550a94cd142062b9306e5ac982f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93db059bb882b962d6170168c222708f0ff05482d36f034de461969e6469fc56 [INFO] running `Command { std: "docker" "start" "-a" "93db059bb882b962d6170168c222708f0ff05482d36f034de461969e6469fc56", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling comfy-table v6.1.2 [INFO] [stderr] Compiling cdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stdout] --> src/gaussian_integers.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rational`, `multivariate_polynomials::MultivariatePolynomial`, and `rationals::rational` [INFO] [stdout] --> src/mono.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | multivariate_polynomials::MultivariatePolynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | num_to_superscript, [INFO] [stdout] 10 | rationals::rational, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Group, Natural, Rational, Ring, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch21.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dft.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 1..u128::from(n) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/gaussian_integers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/mono.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let l = format!("{:?}", self); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/mono.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stdout] --> src/newton_interpolation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn v(&self, i: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton` is never used [INFO] [stdout] --> src/newton_interpolation.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_slice` is never used [INFO] [stdout] --> src/newton_interpolation.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | write!(buf, "|r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(buf, "|l}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / write!( [INFO] [stdout] 52 | | f, [INFO] [stdout] 53 | | "{}{}", [INFO] [stdout] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stdout] ... | [INFO] [stdout] 75 | | .format("") [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/polynomials.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(m >= 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PLex` [INFO] [stdout] --> src/bin/old_exam.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | mono::{plex, MonomialOrder, PLex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let table = multivariate_division_with_remainder(&s12, &fs); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_8_10` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn exercise_8_10() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_exam` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_exam() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `home_work2` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn home_work2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_4` is never used [INFO] [stdout] --> src/bin/old_exam.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn question_4() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.23s [INFO] running `Command { std: "docker" "inspect" "93db059bb882b962d6170168c222708f0ff05482d36f034de461969e6469fc56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93db059bb882b962d6170168c222708f0ff05482d36f034de461969e6469fc56", kill_on_drop: false }` [INFO] [stdout] 93db059bb882b962d6170168c222708f0ff05482d36f034de461969e6469fc56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7b8be57fd895b500e267f6bb12afe1c018ff0e9ba44fcc3566dd3245e0406e [INFO] running `Command { std: "docker" "start" "-a" "1a7b8be57fd895b500e267f6bb12afe1c018ff0e9ba44fcc3566dd3245e0406e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stdout] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stdout] --> src/gaussian_integers.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rational`, `multivariate_polynomials::MultivariatePolynomial`, and `rationals::rational` [INFO] [stdout] --> src/mono.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | multivariate_polynomials::MultivariatePolynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | num_to_superscript, [INFO] [stdout] 10 | rationals::rational, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Group, Natural, Rational, Ring, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch21.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dft.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 1..u128::from(n) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/gaussian_integers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/mono.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let l = format!("{:?}", self); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/mono.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stdout] --> src/newton_interpolation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn v(&self, i: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton` is never used [INFO] [stdout] --> src/newton_interpolation.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_slice` is never used [INFO] [stdout] --> src/newton_interpolation.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | write!(buf, "|r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(buf, "|l}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / write!( [INFO] [stdout] 52 | | f, [INFO] [stdout] 53 | | "{}{}", [INFO] [stdout] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stdout] ... | [INFO] [stdout] 75 | | .format("") [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/polynomials.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(m >= 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling cdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PLex` [INFO] [stdout] --> src/bin/old_exam.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | mono::{plex, MonomialOrder, PLex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let table = multivariate_division_with_remainder(&s12, &fs); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_8_10` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn exercise_8_10() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_exam` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_exam() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `home_work2` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn home_work2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_4` is never used [INFO] [stdout] --> src/bin/old_exam.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn question_4() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stdout] --> src/gaussian_integers.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polynomials::Polynomial` [INFO] [stdout] --> src/newton_interpolation.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | polynomials::Polynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `newton_slice` and `newton` [INFO] [stdout] --> src/newton_interpolation.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | use super::{newton, newton_slice, NewtonInterpolation, NewtonInterpolationError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch21.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dft.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 1..u128::from(n) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/dft.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let res = super::fft(2, f, PrimitiveRootOfUnity::new(4, 2u128.into()).unwrap()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/gaussian_integers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/mono.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let l = format!("{:?}", self); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/mono.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/newton_interpolation.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let ops = count_ops::get_counts(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/newton_interpolation.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let ops = count_ops::get_counts(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stdout] --> src/newton_interpolation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn v(&self, i: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton` is never used [INFO] [stdout] --> src/newton_interpolation.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_slice` is never used [INFO] [stdout] --> src/newton_interpolation.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | write!(buf, "|r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(buf, "|l}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / write!( [INFO] [stdout] 52 | | f, [INFO] [stdout] 53 | | "{}{}", [INFO] [stdout] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stdout] ... | [INFO] [stdout] 75 | | .format("") [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/polynomials.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(m >= 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.86s [INFO] running `Command { std: "docker" "inspect" "1a7b8be57fd895b500e267f6bb12afe1c018ff0e9ba44fcc3566dd3245e0406e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7b8be57fd895b500e267f6bb12afe1c018ff0e9ba44fcc3566dd3245e0406e", kill_on_drop: false }` [INFO] [stdout] 1a7b8be57fd895b500e267f6bb12afe1c018ff0e9ba44fcc3566dd3245e0406e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f63ff9bd0140432c4dfb9e64b5ea8ed8dc3ba94701cad18b871096e512c78ec3 [INFO] running `Command { std: "docker" "start" "-a" "f63ff9bd0140432c4dfb9e64b5ea8ed8dc3ba94701cad18b871096e512c78ec3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stderr] --> src/gaussian_integers.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stderr] | ^^^ ^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rational`, `multivariate_polynomials::MultivariatePolynomial`, and `rationals::rational` [INFO] [stderr] --> src/mono.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | multivariate_polynomials::MultivariatePolynomial, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | num_to_superscript, [INFO] [stderr] 10 | rationals::rational, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | Group, Natural, Rational, Ring, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/ch21.rs:171:57 [INFO] [stderr] | [INFO] [stderr] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/dft.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | for i in 1..u128::from(n) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/gaussian_integers.rs:104:18 [INFO] [stderr] | [INFO] [stderr] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `l` [INFO] [stderr] --> src/mono.rs:348:13 [INFO] [stderr] | [INFO] [stderr] 348 | let l = format!("{:?}", self); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/mono.rs:349:13 [INFO] [stderr] | [INFO] [stderr] 349 | let r = format!("{:?}", rhs); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stderr] --> src/newton_interpolation.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stderr] 16 | | where [INFO] [stderr] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stderr] | |_________________________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | fn v(&self, i: usize) -> F { [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `newton` is never used [INFO] [stderr] --> src/newton_interpolation.rs:110:4 [INFO] [stderr] | [INFO] [stderr] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `newton_slice` is never used [INFO] [stderr] --> src/newton_interpolation.rs:129:4 [INFO] [stderr] | [INFO] [stderr] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | write!(buf, "|r"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | writeln!(buf, "|l}}"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:135:17 [INFO] [stderr] | [INFO] [stderr] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ch21.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/latex.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | write!(f, "0"); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/latex.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | write!(f, "1"); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/latex.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | / write!( [INFO] [stderr] 52 | | f, [INFO] [stderr] 53 | | "{}{}", [INFO] [stderr] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stderr] ... | [INFO] [stderr] 75 | | .format("") [INFO] [stderr] 76 | | ); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/polynomials.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | assert!(m >= 0); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `polynomials::Polynomial` [INFO] [stderr] --> src/newton_interpolation.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | polynomials::Polynomial, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `newton_slice` and `newton` [INFO] [stderr] --> src/newton_interpolation.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | use super::{newton, newton_slice, NewtonInterpolation, NewtonInterpolationError}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/dft.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | let res = super::fft(2, f, PrimitiveRootOfUnity::new(4, 2u128.into()).unwrap()); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ops` [INFO] [stderr] --> src/newton_interpolation.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | let ops = count_ops::get_counts(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ops` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ops` [INFO] [stderr] --> src/newton_interpolation.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | let ops = count_ops::get_counts(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ops` [INFO] [stderr] [INFO] [stderr] warning: `cdm` (lib) generated 25 warnings (run `cargo fix --lib -p cdm` to apply 2 suggestions) [INFO] [stderr] warning: `cdm` (lib test) generated 29 warnings (24 duplicates) (run `cargo fix --lib -p cdm --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `PLex` [INFO] [stderr] --> src/bin/old_exam.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | mono::{plex, MonomialOrder, PLex}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `question_4` is never used [INFO] [stderr] --> src/bin/old_exam.rs:139:4 [INFO] [stderr] | [INFO] [stderr] 139 | fn question_4() {} [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table` [INFO] [stderr] --> src/main.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | let table = multivariate_division_with_remainder(&s12, &fs); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `exercise_8_10` is never used [INFO] [stderr] --> src/main.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn exercise_8_10() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_exam` is never used [INFO] [stderr] --> src/main.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn test_exam() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `home_work2` is never used [INFO] [stderr] --> src/main.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn home_work2() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cdm` (bin "old_exam" test) generated 2 warnings (run `cargo fix --bin "old_exam" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `cdm` (bin "cdm" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cdm-50eaed7b38029152) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test ch10::tests::interpolation ... ok [INFO] [stdout] test ch10::tests::multi_example ... ok [INFO] [stdout] test ch21::tests::multi_poly_test_1 ... ok [INFO] [stdout] test dft::tests::simple_fft ... ok [INFO] [stdout] test ch21::tests::multi_poly_test_2 ... ok [INFO] [stdout] test mono::test_tlex ... ok [INFO] [stdout] test newton_interpolation::tests::example_b ... ok [INFO] [stdout] test mono::test_plex ... ok [INFO] [stdout] test newton_interpolation::tests::example_a ... ok [INFO] [stdout] test newton_interpolation::tests::example_c ... ok [INFO] [stdout] test polynomials::test::basic_div ... ok [INFO] [stdout] test rationals::rational_signed_normalize ... ok [INFO] [stdout] test mono::test_grlex ... ok [INFO] [stdout] test polynomials::test::polynomial_division ... ok [INFO] [stdout] test polynomials::test::polynomial_eed ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test newton_interpolation::tests::newton_interp ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- polynomials::test::polynomial_eed stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'polynomials::test::polynomial_eed' panicked at src/polynomials.rs:293:5: [INFO] [stdout] Test aborted: Too many global rejects [INFO] [stdout] successes: 255 [INFO] [stdout] local rejects: 0 [INFO] [stdout] global rejects: 1024 [INFO] [stdout] 444 times at src/polynomials.rs:299:13: a.deg() >= b.deg() [INFO] [stdout] 580 times at src/polynomials.rs:300:13: !a.is_zero() && !b.is_zero() [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8312d7b582 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8312d7b582 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8312d7b582 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8312d7b582 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8312da59b3 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x5d8312da59b3 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5d8312d77cc3 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5d8312d7b3d2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5d8312d7ca2a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5d8312d7c819 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5d8312c41e27 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5d8312c41e27 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x5d8312d7d513 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5d8312d7d513 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5d8312d7d1ca - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x5d8312d7ba79 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5d8312d7ce5d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5d8312da3a30 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5d8312a43a8d - cdm::polynomials::test::polynomial_eed::h1028e9cc643cd105 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proptest-1.0.0/src/sugar.rs:163:17 [INFO] [stdout] 19: 0x5d8312a43607 - cdm::polynomials::test::polynomial_eed::{{closure}}::h44c9f4ba664ed87c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proptest-1.0.0/src/sugar.rs:159:28 [INFO] [stdout] 20: 0x5d83129f5436 - core::ops::function::FnOnce::call_once::he0b0ea958baa4dae [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 21: 0x5d8312c4770b - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5d8312c4770b - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 23: 0x5d8312c467c5 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 24: 0x5d8312c467c5 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 25: 0x5d8312c467c5 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 26: 0x5d8312c467c5 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 27: 0x5d8312c467c5 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x5d8312c467c5 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 29: 0x5d8312c467c5 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 30: 0x5d8312c097b4 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 31: 0x5d8312c097b4 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 32: 0x5d8312c0d2ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 33: 0x5d8312c0d2ea - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 34: 0x5d8312c0d2ea - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 35: 0x5d8312c0d2ea - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 36: 0x5d8312c0d2ea - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x5d8312c0d2ea - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 38: 0x5d8312c0d2ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 39: 0x5d8312d80e7b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 40: 0x5d8312d80e7b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 41: 0x5d8312d80e7b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 42: 0x7ba2b8753ac3 - [INFO] [stdout] 43: 0x7ba2b87e4a04 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] polynomials::test::polynomial_eed [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f63ff9bd0140432c4dfb9e64b5ea8ed8dc3ba94701cad18b871096e512c78ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63ff9bd0140432c4dfb9e64b5ea8ed8dc3ba94701cad18b871096e512c78ec3", kill_on_drop: false }` [INFO] [stdout] f63ff9bd0140432c4dfb9e64b5ea8ed8dc3ba94701cad18b871096e512c78ec3