[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] checking oeb25/cdm against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/cdm on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-3-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded comfy-table v6.1.2 [INFO] [stderr] Downloaded proptest v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66930184eff161686561e7b564cb151a9fb337f9203cd35e364fe416f42e3889 [INFO] running `Command { std: "docker" "start" "-a" "66930184eff161686561e7b564cb151a9fb337f9203cd35e364fe416f42e3889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66930184eff161686561e7b564cb151a9fb337f9203cd35e364fe416f42e3889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66930184eff161686561e7b564cb151a9fb337f9203cd35e364fe416f42e3889", kill_on_drop: false }` [INFO] [stdout] 66930184eff161686561e7b564cb151a9fb337f9203cd35e364fe416f42e3889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd8c451f359e92c99379ecd2bc410bccb8d22ce10826c47caced5f67108312cd [INFO] running `Command { std: "docker" "start" "-a" "cd8c451f359e92c99379ecd2bc410bccb8d22ce10826c47caced5f67108312cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking 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] Checking tracing v0.1.37 [INFO] [stderr] Checking comfy-table v6.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking cdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Div`, `Mul`, `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`, `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: the item `Itertools` is imported redundantly [INFO] [stdout] --> src/ch10.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Itertools` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Polynomial` is imported redundantly [INFO] [stdout] --> src/ch10.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Polynomial` is already imported here [INFO] [stdout] 128 | use crate::{Polynomial, Rational}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul`, `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] [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`, `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: `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: `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: 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 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: 25 warnings emitted [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: 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 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: 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: 31 warnings emitted [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: 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: 4 warnings emitted [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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "cd8c451f359e92c99379ecd2bc410bccb8d22ce10826c47caced5f67108312cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8c451f359e92c99379ecd2bc410bccb8d22ce10826c47caced5f67108312cd", kill_on_drop: false }` [INFO] [stdout] cd8c451f359e92c99379ecd2bc410bccb8d22ce10826c47caced5f67108312cd [INFO] checking oeb25/cdm against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/cdm on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-3-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d181f4b113c75a9fbf0fd69647e2920878ca2b7bbbf65c1cae7c33b9d761586 [INFO] running `Command { std: "docker" "start" "-a" "1d181f4b113c75a9fbf0fd69647e2920878ca2b7bbbf65c1cae7c33b9d761586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d181f4b113c75a9fbf0fd69647e2920878ca2b7bbbf65c1cae7c33b9d761586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d181f4b113c75a9fbf0fd69647e2920878ca2b7bbbf65c1cae7c33b9d761586", kill_on_drop: false }` [INFO] [stdout] 1d181f4b113c75a9fbf0fd69647e2920878ca2b7bbbf65c1cae7c33b9d761586 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5897bc0015968372afd7b56ad7df3bbeb847a599c12dbe1b6459d8f36635c8df [INFO] running `Command { std: "docker" "start" "-a" "5897bc0015968372afd7b56ad7df3bbeb847a599c12dbe1b6459d8f36635c8df", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking 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] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking comfy-table v6.1.2 [INFO] [stderr] Checking cdm v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/newton_interpolation.rs (2 fixes) [INFO] [stderr] Fixed src/gaussian_integers.rs (1 fix) [INFO] [stdout] warning: the item `Itertools` is imported redundantly [INFO] [stdout] --> src/ch10.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Itertools` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Polynomial` is imported redundantly [INFO] [stdout] --> src/ch10.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Polynomial` is already imported here [INFO] [stdout] 128 | use crate::{Polynomial, Rational}; [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:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | 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:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | 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] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/mono.rs (1 fix) [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:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | 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:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [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] [stderr] Migrating src/bin/demo09.rs from 2021 edition to 2024 [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/demo05.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/demo10.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/test_exam.rs from 2021 edition to 2024 [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/demo21.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/old_exam.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/old_exam.rs (1 fix) [INFO] [stderr] Migrating src/bin/demo08.rs from 2021 edition to 2024 [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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.99s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cdm v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultivariatePolynomial` [INFO] [stdout] --> src/mono.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let [x, y, z] = MultivariatePolynomial::::init(PLex::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MultivariatePolynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::MultivariatePolynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rational` in this scope [INFO] [stdout] --> src/mono.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let [x, y, z] = MultivariatePolynomial::::init(PLex::default()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:52:71 [INFO] [stdout] | [INFO] [stdout] 52 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | + rational(7.) * x(1) * y(2) * z(1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultivariatePolynomial` [INFO] [stdout] --> src/mono.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | let [x, y, z] = MultivariatePolynomial::::init(GrLex::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MultivariatePolynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::MultivariatePolynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rational` in this scope [INFO] [stdout] --> src/mono.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | let [x, y, z] = MultivariatePolynomial::::init(GrLex::default()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:88:71 [INFO] [stdout] | [INFO] [stdout] 88 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | + rational(7.) * x(1) * y(2) * z(1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultivariatePolynomial` [INFO] [stdout] --> src/mono.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let [x, y, z] = MultivariatePolynomial::::init(TLex::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MultivariatePolynomial` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::MultivariatePolynomial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rational` in this scope [INFO] [stdout] --> src/mono.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | let [x, y, z] = MultivariatePolynomial::::init(TLex::default()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:141:71 [INFO] [stdout] | [INFO] [stdout] 141 | let f = rational(4.) * x(1) * y(1) * z(2) + rational(4.) * x(3) - rational(5.) * y(4) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rational` in this scope [INFO] [stdout] --> src/mono.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | + rational(7.) * x(1) * y(2) * z(1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::rationals::rational; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Itertools` is imported redundantly [INFO] [stdout] --> src/ch10.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Itertools` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Polynomial` is imported redundantly [INFO] [stdout] --> src/ch10.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | -------- the item `Polynomial` is already imported here [INFO] [stdout] 128 | use crate::{Polynomial, Rational}; [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:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | 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:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | 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: `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: 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 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 `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 variable: `l` [INFO] [stdout] --> src/mono.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | 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:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/newton_interpolation.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | 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:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | 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: `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: 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] error: aborting due to 18 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdm` (lib test) due to 19 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5897bc0015968372afd7b56ad7df3bbeb847a599c12dbe1b6459d8f36635c8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5897bc0015968372afd7b56ad7df3bbeb847a599c12dbe1b6459d8f36635c8df", kill_on_drop: false }` [INFO] [stdout] 5897bc0015968372afd7b56ad7df3bbeb847a599c12dbe1b6459d8f36635c8df