[INFO] cloning repository https://github.com/oeb25/cdm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oeb25/cdm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bba5d91e7430b9e9a439d03ebf5f23ebbd537ec [INFO] testing oeb25/cdm against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fcdm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oeb25/cdm on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0882989e9a7bea8db9996329135679b12e26a4a5e96e6325e0161a2928f8040 [INFO] running `Command { std: "docker" "start" "-a" "d0882989e9a7bea8db9996329135679b12e26a4a5e96e6325e0161a2928f8040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0882989e9a7bea8db9996329135679b12e26a4a5e96e6325e0161a2928f8040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0882989e9a7bea8db9996329135679b12e26a4a5e96e6325e0161a2928f8040", kill_on_drop: false }` [INFO] [stdout] d0882989e9a7bea8db9996329135679b12e26a4a5e96e6325e0161a2928f8040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ec4a8a12552ad972f737da6258b36928748729999328360d481740adf5ee1da1 [INFO] running `Command { std: "docker" "start" "-a" "ec4a8a12552ad972f737da6258b36928748729999328360d481740adf5ee1da1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling 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] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling comfy-table v6.1.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling cdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stdout] --> src/gaussian_integers.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rational`, `multivariate_polynomials::MultivariatePolynomial`, and `rationals::rational` [INFO] [stdout] --> src/mono.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | multivariate_polynomials::MultivariatePolynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | num_to_superscript, [INFO] [stdout] 10 | rationals::rational, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Group, Natural, Rational, Ring, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch21.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dft.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 1..u128::from(n) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/gaussian_integers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/mono.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let l = format!("{:?}", self); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/mono.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stdout] --> src/newton_interpolation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn v(&self, i: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton` is never used [INFO] [stdout] --> src/newton_interpolation.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_slice` is never used [INFO] [stdout] --> src/newton_interpolation.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | write!(buf, "|r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(buf, "|l}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / write!( [INFO] [stdout] 52 | | f, [INFO] [stdout] 53 | | "{}{}", [INFO] [stdout] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stdout] ... | [INFO] [stdout] 75 | | .format("") [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/polynomials.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(m >= 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PLex` [INFO] [stdout] --> src/bin/old_exam.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | mono::{plex, MonomialOrder, PLex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let table = multivariate_division_with_remainder(&s12, &fs); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_8_10` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn exercise_8_10() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_exam` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_exam() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `home_work2` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn home_work2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_4` is never used [INFO] [stdout] --> src/bin/old_exam.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn question_4() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.46s [INFO] running `Command { std: "docker" "inspect" "ec4a8a12552ad972f737da6258b36928748729999328360d481740adf5ee1da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec4a8a12552ad972f737da6258b36928748729999328360d481740adf5ee1da1", kill_on_drop: false }` [INFO] [stdout] ec4a8a12552ad972f737da6258b36928748729999328360d481740adf5ee1da1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0b16648ffdaf6241d634bcd915bf2c5594d523486b6302376e01906dacf7c283 [INFO] running `Command { std: "docker" "start" "-a" "0b16648ffdaf6241d634bcd915bf2c5594d523486b6302376e01906dacf7c283", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stdout] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stdout] --> src/gaussian_integers.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rational`, `multivariate_polynomials::MultivariatePolynomial`, and `rationals::rational` [INFO] [stdout] --> src/mono.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | multivariate_polynomials::MultivariatePolynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | num_to_superscript, [INFO] [stdout] 10 | rationals::rational, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Group, Natural, Rational, Ring, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch21.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dft.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 1..u128::from(n) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/gaussian_integers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/mono.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let l = format!("{:?}", self); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/mono.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stdout] --> src/newton_interpolation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn v(&self, i: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton` is never used [INFO] [stdout] --> src/newton_interpolation.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_slice` is never used [INFO] [stdout] --> src/newton_interpolation.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | write!(buf, "|r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(buf, "|l}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / write!( [INFO] [stdout] 52 | | f, [INFO] [stdout] 53 | | "{}{}", [INFO] [stdout] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stdout] ... | [INFO] [stdout] 75 | | .format("") [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/polynomials.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(m >= 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling cdm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Div`, `Mul`, and `Rem` [INFO] [stdout] --> src/gaussian_integers.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::{Add, Div, From, Into, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polynomials::Polynomial` [INFO] [stdout] --> src/newton_interpolation.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | polynomials::Polynomial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `newton_slice` and `newton` [INFO] [stdout] --> src/newton_interpolation.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | use super::{newton, newton_slice, NewtonInterpolation, NewtonInterpolationError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PLex` [INFO] [stdout] --> src/bin/old_exam.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | mono::{plex, MonomialOrder, PLex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let table = multivariate_division_with_remainder(&s12, &fs); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exercise_8_10` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn exercise_8_10() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_exam` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn test_exam() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `home_work2` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn home_work2() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `question_4` is never used [INFO] [stdout] --> src/bin/old_exam.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn question_4() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch21.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .chain(self.fs.iter().enumerate().map(|(i, f)| format!("{f:?}"))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dft.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 1..u128::from(n) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/dft.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let res = super::fft(2, f, PrimitiveRootOfUnity::new(4, 2u128.into()).unwrap()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/gaussian_integers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | fn rem(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/mono.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let l = format!("{:?}", self); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/mono.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let r = format!("{:?}", rhs); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/newton_interpolation.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let ops = count_ops::get_counts(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/newton_interpolation.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let ops = count_ops::get_counts(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `v`, `set_f`, and `f` are never used [INFO] [stdout] --> src/newton_interpolation.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, F> NewtonInterpolation<'a, F> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | F: Field + Hash + Eq + Debug, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | fn v(&self, i: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_f(&mut self, i: usize, j: usize, e: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn f(&mut self, i: usize, j: usize) -> F { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton` is never used [INFO] [stdout] --> src/newton_interpolation.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn newton(samples: &[F], map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_slice` is never used [INFO] [stdout] --> src/newton_interpolation.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn newton_slice(samples: &[F], offset: usize, map: Map) -> Polynomial [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(buf, "\\begin{{array}}{{r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | write!(buf, "|r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(buf, "|l}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | write!(buf, "\\multicolumn{{1}}{{c}}{{p}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{q_{i}}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | write!(buf, "& \\multicolumn{{1}}{{|c}}{{r}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | writeln!(buf, "\\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | write!(buf, "{}", e[0].to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | write!(buf, "& {}", p.to_latex()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(buf, " \\\\ \\hline"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ch21.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | writeln!(buf, "\\end{{array}}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | write!(f, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/latex.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / write!( [INFO] [stdout] 52 | | f, [INFO] [stdout] 53 | | "{}{}", [INFO] [stdout] 54 | | if Identity::::is_identity(self.coef()) { [INFO] [stdout] ... | [INFO] [stdout] 75 | | .format("") [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/polynomials.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(m >= 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcgHespq/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtracing_subscriber-6cc9e78c45beaa6f.rlib,libnu_ansi_term-0e6c7c39d87f9499.rlib,liboverload-a584f461fa7ce30b.rlib,libsharded_slab-5513b71284fab34e.rlib,libmatchers-b4f640b1dd3946e6.rlib,libregex_automata-7ef4863dc7b8640d.rlib,libregex-76f259080b2f84e1.rlib,libaho_corasick-ab96e5574c3925ff.rlib,libmemchr-d88797af6a5880b4.rlib,libthread_local-9b5bdaf6a2ed3f15.rlib,libtracing_log-ea8631ab99066193.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libproptest-02bdcf68f15a76d8.rlib,libregex_syntax-463d0c7d8345154b.rlib,librand_xorshift-3b458b81b1cc38b6.rlib,libbyteorder-7f9d435aa635bc2d.rlib,librand-d3a559a51d5f4dfa.rlib,librand_chacha-a37c6df2c14e8916.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-687c6da8e2d9835d.rlib,libgetrandom-41e4841a4a80d923.rlib,librusty_fork-11518d40d0e53f08.rlib,libwait_timeout-68d90c348dc1b63a.rlib,libtempfile-7b5ad4dd1aeb7ba8.rlib,libfastrand-353e1cff38ac63d6.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libfnv-81596130b397d5c3.rlib,libquick_error-022321fe562bcedb.rlib,libquick_error-bd2a7215cf93a039.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libbit_set-98470464792da163.rlib,libbit_vec-0bd5896c85a13c73.rlib,libitertools-5c093bc1b9e46f42.rlib,libeither-1370cab6d938f076.rlib,libtracing-eed23dfc4ab71177.rlib,libpin_project_lite-d27858faef1bbdcd.rlib,libtracing_core-5c846e2c42e360ba.rlib,libonce_cell-9698f3c72bb12987.rlib,libcomfy_table-3c4bddfa3c46eb1f.rlib,libstrum-0af274f18aeae512.rlib,libunicode_width-8407538aedb31578.rlib,libcrossterm-5274bdbfcdc32e6b.rlib,libsignal_hook_mio-da8111c9aecde55b.rlib,libsignal_hook-b536a1ba48af8323.rlib,libsignal_hook_registry-b495da4b5fdff17b.rlib,libmio-1eb4e5f1a29ee267.rlib,liblog-85ece36e36b085b5.rlib,libparking_lot-b19fca89b3600fad.rlib,libparking_lot_core-8b154561a751e7b2.rlib,liblibc-ac76263905b50b12.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-fb877e203c8052a1.rlib,liblock_api-b7f0917608ce689f.rlib,libscopeguard-73056285f12cb829.rlib,libbitflags-e274cd04b58a060d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcgHespq/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cdm-d52ab9de9efb4e6c" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-41e4841a4a80d923.rlib(getrandom-41e4841a4a80d923.getrandom.656cc7bfc369072d-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h4e7018917be510beE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdm` (lib test) due to 1 previous error; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b16648ffdaf6241d634bcd915bf2c5594d523486b6302376e01906dacf7c283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b16648ffdaf6241d634bcd915bf2c5594d523486b6302376e01906dacf7c283", kill_on_drop: false }` [INFO] [stdout] 0b16648ffdaf6241d634bcd915bf2c5594d523486b6302376e01906dacf7c283