[INFO] fetching crate css-style 0.14.1... [INFO] checking css-style-0.14.1 against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] extracting crate css-style 0.14.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate css-style 0.14.1 [INFO] finished tweaking crates.io crate css-style 0.14.1 [INFO] tweaked toml for crates.io crate css-style 0.14.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate css-style 0.14.1 on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.1.1) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.13.0) [INFO] [stderr] Adding palette v0.6.1 (available: v0.7.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eefb1e3be1e5fccc62a206743cf577653c249892728619775cecfc9eb4864937 [INFO] running `Command { std: "docker" "start" "-a" "eefb1e3be1e5fccc62a206743cf577653c249892728619775cecfc9eb4864937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eefb1e3be1e5fccc62a206743cf577653c249892728619775cecfc9eb4864937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eefb1e3be1e5fccc62a206743cf577653c249892728619775cecfc9eb4864937", kill_on_drop: false }` [INFO] [stdout] eefb1e3be1e5fccc62a206743cf577653c249892728619775cecfc9eb4864937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3282e9370ae2e3c420df2cb3025ddef62994e2389669d48bf3be4a51a9e4d999 [INFO] running `Command { std: "docker" "start" "-a" "3282e9370ae2e3c420df2cb3025ddef62994e2389669d48bf3be4a51a9e4d999", kill_on_drop: false }` [INFO] [stderr] Compiling palette v0.6.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling derive_rich v0.4.4 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling palette_derive v0.6.1 [INFO] [stderr] Checking css-style v0.14.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:219:92 [INFO] [stdout] | [INFO] [stdout] 55 | Sum(Box, Box), [INFO] [stdout] | --- `Calc::Sum` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 219 | Add and Optional for Calc => { |c, rhs| Self::Sum(Box::new(c), Box::new(Calc::from(rhs))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:220:92 [INFO] [stdout] | [INFO] [stdout] 58 | Sub(Box, Box), [INFO] [stdout] | --- `Calc::Sub` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 220 | Sub and Optional for Calc => { |c, rhs| Self::Sub(Box::new(c), Box::new(Calc::from(rhs))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:221:92 [INFO] [stdout] | [INFO] [stdout] 61 | Mul(Box, f32), [INFO] [stdout] | --- `Calc::Mul` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 221 | Mul and Optional for Calc => { |c, val| Self::Mul(Box::new(c), val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:222:92 [INFO] [stdout] | [INFO] [stdout] 68 | Div(Box, f32), [INFO] [stdout] | --- `Calc::Div` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 222 | Div and Optional for Calc => { |c, val| Self::Div(Box::new(c), val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 226 | Mul for f32 => { |val, c| Calc::Mul2(val, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 227 | Mul for i32 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:228:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 228 | Mul for i16 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:229:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 229 | Mul for i8 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:230:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 230 | Mul for u32 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:231:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 231 | Mul for u16 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 232 | Mul for u8 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 233 | Mul for isize => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:234:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 234 | Mul for usize => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 236 | Mul for f32 => { |val, length| Calc::Mul2(val, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 237 | Mul for i32 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 238 | Mul for i16 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 239 | Mul for i8 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 240 | Mul for u32 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:241:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 241 | Mul for u16 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 242 | Mul for u8 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 243 | Mul for isize => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:244:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 244 | Mul for usize => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 246 | Mul for f32 => { |val, pct| Calc::Mul2(val, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:247:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 247 | Mul for i32 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 248 | Mul for i16 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:249:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 249 | Mul for i8 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 250 | Mul for u32 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 251 | Mul for u16 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 252 | Mul for u8 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:253:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 253 | Mul for isize => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 254 | Mul for usize => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/calc.rs:256:86 [INFO] [stdout] | [INFO] [stdout] 256 | Add for Length => { |length, rhs| Calc::from(length).add(rhs) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:219:92 [INFO] [stdout] | [INFO] [stdout] 55 | Sum(Box, Box), [INFO] [stdout] | --- `Calc::Sum` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 219 | Add and Optional for Calc => { |c, rhs| Self::Sum(Box::new(c), Box::new(Calc::from(rhs))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/calc.rs:257:86 [INFO] [stdout] | [INFO] [stdout] 257 | Sub for Length => { |length, rhs| Calc::from(length).sub(rhs) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:220:92 [INFO] [stdout] | [INFO] [stdout] 58 | Sub(Box, Box), [INFO] [stdout] | --- `Calc::Sub` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 220 | Sub and Optional for Calc => { |c, rhs| Self::Sub(Box::new(c), Box::new(Calc::from(rhs))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:258:86 [INFO] [stdout] | [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 258 | Mul for Length => { |length, val| Calc::from(length).mul(val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:221:92 [INFO] [stdout] | [INFO] [stdout] 61 | Mul(Box, f32), [INFO] [stdout] | --- `Calc::Mul` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 221 | Mul and Optional for Calc => { |c, val| Self::Mul(Box::new(c), val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:259:86 [INFO] [stdout] | [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 259 | Div for Length => { |length, val| Calc::from(length).div(val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:222:92 [INFO] [stdout] | [INFO] [stdout] 68 | Div(Box, f32), [INFO] [stdout] | --- `Calc::Div` defined here [INFO] [stdout] ... [INFO] [stdout] 190 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 222 | Div and Optional for Calc => { |c, val| Self::Div(Box::new(c), val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 226 | Mul for f32 => { |val, c| Calc::Mul2(val, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 227 | Mul for i32 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:228:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 228 | Mul for i16 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:229:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 229 | Mul for i8 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:230:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 230 | Mul for u32 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:231:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 231 | Mul for u16 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 232 | Mul for u8 => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 233 | Mul for isize => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:234:39 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 234 | Mul for usize => { |val, c| Calc::Mul2(val as f32, Box::new(c)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 236 | Mul for f32 => { |val, length| Calc::Mul2(val, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 237 | Mul for i32 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 238 | Mul for i16 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 239 | Mul for i8 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:240:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 240 | Mul for u32 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:241:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 241 | Mul for u16 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:242:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 242 | Mul for u8 => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 243 | Mul for isize => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:244:46 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 244 | Mul for usize => { |val, length| Calc::Mul2(val as f32, Box::new(Calc::from(length))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 246 | Mul for f32 => { |val, pct| Calc::Mul2(val, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:247:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 247 | Mul for i32 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:248:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 248 | Mul for i16 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:249:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 249 | Mul for i8 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 250 | Mul for u32 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 251 | Mul for u16 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:252:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 252 | Mul for u8 => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:253:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 253 | Mul for isize => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 65 | Mul2(f32, Box), [INFO] [stdout] | ---- `Calc::Mul2` defined here returns `Calc` [INFO] [stdout] ... [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 254 | Mul for usize => { |val, pct| Calc::Mul2(val as f32, Box::new(Calc::from(pct))) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/calc.rs:256:86 [INFO] [stdout] | [INFO] [stdout] 256 | Add for Length => { |length, rhs| Calc::from(length).add(rhs) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/calc.rs:257:86 [INFO] [stdout] | [INFO] [stdout] 257 | Sub for Length => { |length, rhs| Calc::from(length).sub(rhs) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:258:86 [INFO] [stdout] | [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 258 | Mul for Length => { |length, val| Calc::from(length).mul(val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Calc` [INFO] [stdout] --> src/calc.rs:259:86 [INFO] [stdout] | [INFO] [stdout] 174 | $e(self, rhs) [INFO] [stdout] | - call expression requires function [INFO] [stdout] ... [INFO] [stdout] 259 | Div for Length => { |length, val| Calc::from(length).div(val as f32) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `css-style` (lib test) due to 35 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0618. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `css-style` (lib) due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "3282e9370ae2e3c420df2cb3025ddef62994e2389669d48bf3be4a51a9e4d999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3282e9370ae2e3c420df2cb3025ddef62994e2389669d48bf3be4a51a9e4d999", kill_on_drop: false }` [INFO] [stdout] 3282e9370ae2e3c420df2cb3025ddef62994e2389669d48bf3be4a51a9e4d999