[INFO] fetching crate mexprp 0.3.0... [INFO] testing mexprp-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mexprp 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate mexprp 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mexprp 0.3.0 [INFO] finished tweaking crates.io crate mexprp 0.3.0 [INFO] tweaked toml for crates.io crate mexprp 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b079b45f41ff1e4a4019391874aa5cbd496859c79f8f680cd157a9bea67a599 [INFO] running `Command { std: "docker" "start" "-a" "4b079b45f41ff1e4a4019391874aa5cbd496859c79f8f680cd157a9bea67a599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b079b45f41ff1e4a4019391874aa5cbd496859c79f8f680cd157a9bea67a599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b079b45f41ff1e4a4019391874aa5cbd496859c79f8f680cd157a9bea67a599", kill_on_drop: false }` [INFO] [stdout] 4b079b45f41ff1e4a4019391874aa5cbd496859c79f8f680cd157a9bea67a599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18aa03666f00282705af6cefa7e28f90cd6ff4a02a5106b22550db31e55d8343 [INFO] running `Command { std: "docker" "start" "-a" "18aa03666f00282705af6cefa7e28f90cd6ff4a02a5106b22550db31e55d8343", kill_on_drop: false }` [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.8 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling rug v1.15.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling mexprp v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/expr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> src/expr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use op::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `answer::*` [INFO] [stdout] --> src/expr.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use answer::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rug` [INFO] [stdout] --> src/num/rugcomplex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rug; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Operation(Rc>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - Operation(Rc>), [INFO] [stdout] 21 + Operation(Rc>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub funcs: HashMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - pub funcs: HashMap>>, [INFO] [stdout] 97 + pub funcs: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | let oper: Rc> = match op { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - let oper: Rc> = match op { [INFO] [stdout] 337 + let oper: Rc> = match op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/opers.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | fn eval(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn sqrt(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugcomplex.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 08s [INFO] running `Command { std: "docker" "inspect" "18aa03666f00282705af6cefa7e28f90cd6ff4a02a5106b22550db31e55d8343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18aa03666f00282705af6cefa7e28f90cd6ff4a02a5106b22550db31e55d8343", kill_on_drop: false }` [INFO] [stdout] 18aa03666f00282705af6cefa7e28f90cd6ff4a02a5106b22550db31e55d8343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02618ce9a8e5edca18c6aa1af7a405cae4fbad154891dbcf9fa26646269c15ef [INFO] running `Command { std: "docker" "start" "-a" "02618ce9a8e5edca18c6aa1af7a405cae4fbad154891dbcf9fa26646269c15ef", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/expr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> src/expr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use op::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `answer::*` [INFO] [stdout] --> src/expr.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use answer::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rug` [INFO] [stdout] --> src/num/rugcomplex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rug; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Operation(Rc>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - Operation(Rc>), [INFO] [stdout] 21 + Operation(Rc>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub funcs: HashMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - pub funcs: HashMap>>, [INFO] [stdout] 97 + pub funcs: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | let oper: Rc> = match op { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - let oper: Rc> = match op { [INFO] [stdout] 337 + let oper: Rc> = match op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/opers.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | fn eval(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn sqrt(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugcomplex.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mexprp v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/expr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> src/expr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use op::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `answer::*` [INFO] [stdout] --> src/expr.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use answer::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rug` [INFO] [stdout] --> src/num/rugcomplex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rug; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComplexRugRat` [INFO] [stdout] --> src/tests.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{ComplexFloat, ComplexRugRat}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Operation(Rc>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - Operation(Rc>), [INFO] [stdout] 21 + Operation(Rc>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub funcs: HashMap>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - pub funcs: HashMap>>, [INFO] [stdout] 97 + pub funcs: HashMap>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term.rs:337:18 [INFO] [stdout] | [INFO] [stdout] 337 | let oper: Rc> = match op { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - let oper: Rc> = match op { [INFO] [stdout] 337 + let oper: Rc> = match op { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/opers.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | fn eval(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn sqrt(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/num/mod.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/mod.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexrugrat.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugrat.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/rugcomplex.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/complexfloat.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/num/float64.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.52s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/mexprp-07a409156e41d3b4) [INFO] running `Command { std: "docker" "inspect" "02618ce9a8e5edca18c6aa1af7a405cae4fbad154891dbcf9fa26646269c15ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02618ce9a8e5edca18c6aa1af7a405cae4fbad154891dbcf9fa26646269c15ef", kill_on_drop: false }` [INFO] [stdout] 02618ce9a8e5edca18c6aa1af7a405cae4fbad154891dbcf9fa26646269c15ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd2f28ac58b2aa0ec0d160433e66de4f165b74e9b5c51c99a1ed41eef18e09a6 [INFO] running `Command { std: "docker" "start" "-a" "fd2f28ac58b2aa0ec0d160433e66de4f165b74e9b5c51c99a1ed41eef18e09a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/expr.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `op::*` [INFO] [stderr] --> src/expr.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use op::*; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parse::*` [INFO] [stderr] --> src/expr.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use parse::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `answer::*` [INFO] [stderr] --> src/expr.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use answer::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rug` [INFO] [stderr] --> src/num/rugcomplex.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rug; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | Operation(Rc>), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - Operation(Rc>), [INFO] [stderr] 21 + Operation(Rc>), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | pub funcs: HashMap>>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 - pub funcs: HashMap>>, [INFO] [stderr] 97 + pub funcs: HashMap>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term.rs:337:18 [INFO] [stderr] | [INFO] [stderr] 337 | let oper: Rc> = match op { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 337 - let oper: Rc> = match op { [INFO] [stderr] 337 + let oper: Rc> = match op { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/opers.rs:215:17 [INFO] [stderr] | [INFO] [stderr] 215 | fn eval(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:73:19 [INFO] [stderr] | [INFO] [stderr] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 73 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:79:30 [INFO] [stderr] | [INFO] [stderr] 79 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:85:16 [INFO] [stderr] | [INFO] [stderr] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:85:30 [INFO] [stderr] | [INFO] [stderr] 85 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:91:16 [INFO] [stderr] | [INFO] [stderr] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:91:30 [INFO] [stderr] | [INFO] [stderr] 91 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:97:30 [INFO] [stderr] | [INFO] [stderr] 97 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:103:30 [INFO] [stderr] | [INFO] [stderr] 103 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | fn sqrt(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:115:16 [INFO] [stderr] | [INFO] [stderr] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:115:30 [INFO] [stderr] | [INFO] [stderr] 115 | fn nrt(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:121:16 [INFO] [stderr] | [INFO] [stderr] 121 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:127:16 [INFO] [stderr] | [INFO] [stderr] 127 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:133:16 [INFO] [stderr] | [INFO] [stderr] 133 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:139:16 [INFO] [stderr] | [INFO] [stderr] 139 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:151:17 [INFO] [stderr] | [INFO] [stderr] 151 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:163:18 [INFO] [stderr] | [INFO] [stderr] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:163:32 [INFO] [stderr] | [INFO] [stderr] 163 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:169:18 [INFO] [stderr] | [INFO] [stderr] 169 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:181:18 [INFO] [stderr] | [INFO] [stderr] 181 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/num/mod.rs:187:16 [INFO] [stderr] | [INFO] [stderr] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/mod.rs:187:30 [INFO] [stderr] | [INFO] [stderr] 187 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexrugrat.rs:22:22 [INFO] [stderr] | [INFO] [stderr] 22 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexrugrat.rs:35:42 [INFO] [stderr] | [INFO] [stderr] 35 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexrugrat.rs:54:33 [INFO] [stderr] | [INFO] [stderr] 54 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexrugrat.rs:62:30 [INFO] [stderr] | [INFO] [stderr] 62 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexrugrat.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexrugrat.rs:76:30 [INFO] [stderr] | [INFO] [stderr] 76 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:31:33 [INFO] [stderr] | [INFO] [stderr] 31 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:45:30 [INFO] [stderr] | [INFO] [stderr] 45 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:51:30 [INFO] [stderr] | [INFO] [stderr] 51 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugrat.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/rugcomplex.rs:25:33 [INFO] [stderr] | [INFO] [stderr] 25 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexfloat.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexfloat.rs:24:42 [INFO] [stderr] | [INFO] [stderr] 24 | fn from_f64_complex((r, i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexfloat.rs:32:33 [INFO] [stderr] | [INFO] [stderr] 32 | fn tryord(&self, other: &Self, ctx: &Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexfloat.rs:40:30 [INFO] [stderr] | [INFO] [stderr] 40 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexfloat.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/complexfloat.rs:54:30 [INFO] [stderr] | [INFO] [stderr] 54 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | fn from_f64(t: f64, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:15:43 [INFO] [stderr] | [INFO] [stderr] 15 | fn from_f64_complex((r, _i): (f64, f64), ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:49:30 [INFO] [stderr] | [INFO] [stderr] 49 | fn add(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:53:30 [INFO] [stderr] | [INFO] [stderr] 53 | fn sub(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | fn mul(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | fn div(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | fn pow(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | fn abs(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | fn sin(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:91:16 [INFO] [stderr] | [INFO] [stderr] 91 | fn cos(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:95:16 [INFO] [stderr] | [INFO] [stderr] 95 | fn tan(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | fn asin(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | fn acos(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:107:17 [INFO] [stderr] | [INFO] [stderr] 107 | fn atan(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:111:32 [INFO] [stderr] | [INFO] [stderr] 111 | fn atan2(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | fn floor(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:119:17 [INFO] [stderr] | [INFO] [stderr] 119 | fn ceil(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:123:18 [INFO] [stderr] | [INFO] [stderr] 123 | fn round(&self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/num/float64.rs:127:30 [INFO] [stderr] | [INFO] [stderr] 127 | fn log(&self, other: &Self, ctx: &Context) -> Calculation { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused import: `ComplexRugRat` [INFO] [stderr] --> src/tests.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use num::{ComplexFloat, ComplexRugRat}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:146:1 [INFO] [stderr] | [INFO] [stderr] 146 | mod tests; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mexprp` (lib) generated 77 warnings [INFO] [stderr] warning: `mexprp` (lib test) generated 78 warnings (77 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mexprp-07a409156e41d3b4) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::basic ... ok [INFO] [stdout] test tests::expr_context ... ok [INFO] [stderr] Doc-tests mexprp [INFO] [stdout] test tests::funky ... ok [INFO] [stdout] test tests::var_context ... ok [INFO] [stdout] test tests::sin ... ok [INFO] [stdout] test tests::plain ... ok [INFO] [stdout] test tests::funcs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 38) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 26) ... ok [INFO] [stdout] test src/context.rs - context::Context (line 25) ... ok [INFO] [stdout] test src/context.rs - context::Context (line 40) ... ok [INFO] [stdout] test src/lib.rs - (line 94) ... ok [INFO] [stdout] test src/lib.rs - (line 86) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.44s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd2f28ac58b2aa0ec0d160433e66de4f165b74e9b5c51c99a1ed41eef18e09a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2f28ac58b2aa0ec0d160433e66de4f165b74e9b5c51c99a1ed41eef18e09a6", kill_on_drop: false }` [INFO] [stdout] fd2f28ac58b2aa0ec0d160433e66de4f165b74e9b5c51c99a1ed41eef18e09a6