[INFO] updating cached repository the-wendell/margin_calculator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/the-wendell/margin_calculator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/the-wendell/margin_calculator" "work/ex/clippy-test-run/sources/stable/gh/the-wendell/margin_calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/the-wendell/margin_calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/the-wendell/margin_calculator" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/the-wendell/margin_calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/the-wendell/margin_calculator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5d698d65292c77340375c66975732c6c2faa784d [INFO] sha for GitHub repo the-wendell/margin_calculator: 5d698d65292c77340375c66975732c6c2faa784d [INFO] validating manifest of the-wendell/margin_calculator on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of the-wendell/margin_calculator on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing the-wendell/margin_calculator [INFO] finished frobbing the-wendell/margin_calculator [INFO] frobbed toml for the-wendell/margin_calculator written to work/ex/clippy-test-run/sources/stable/gh/the-wendell/margin_calculator/Cargo.toml [INFO] started frobbing the-wendell/margin_calculator [INFO] finished frobbing the-wendell/margin_calculator [INFO] frobbed toml for the-wendell/margin_calculator written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/the-wendell/margin_calculator/Cargo.toml [INFO] crate the-wendell/margin_calculator has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting the-wendell/margin_calculator against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/the-wendell/margin_calculator:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3b5c800973f3e25297c7e5114a85c3333072e06a6187ec78aaf2ad23140d306a [INFO] running `"docker" "start" "-a" "3b5c800973f3e25297c7e5114a85c3333072e06a6187ec78aaf2ad23140d306a"` [INFO] [stderr] Compiling libcruby-sys v0.7.5 [INFO] [stderr] Checking cstr-macro v0.1.0 [INFO] [stderr] Checking helix v0.7.5 [INFO] [stderr] Checking margin_calculator v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:56:11 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(mid - upper_limit).abs() < error` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:56:11 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(mid - lower_limit).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/lib.rs:71:67 [INFO] [stderr] | [INFO] [stderr] 71 | fn calculate_cost_margin_with(values: Cm2Values, margin_category: &String, retail_price: f64, tax_rate: f64) -> f64 { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_null)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Cm2Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Cm2Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Cm1Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Cm1Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Cm0Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Cm0Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a MarginCalculation`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut MarginCalculation`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (8/7) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `margin_calculator`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:56:11 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(mid - upper_limit).abs() < error` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:56:11 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/lib.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(mid - lower_limit).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/lib.rs:56:33 [INFO] [stderr] | [INFO] [stderr] 56 | while mid != upper_limit || mid != lower_limit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/lib.rs:71:67 [INFO] [stderr] | [INFO] [stderr] 71 | fn calculate_cost_margin_with(values: Cm2Values, margin_category: &String, retail_price: f64, tax_rate: f64) -> f64 { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_null)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Cm2Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Cm2Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Cm1Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Cm1Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Cm0Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Cm0Values`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a MarginCalculation`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut MarginCalculation`) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (8/7) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/lib.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | / ruby! { [INFO] [stderr] 88 | | [INFO] [stderr] 89 | | class Calculator { [INFO] [stderr] 90 | | def cm0(values: Cm0Values) -> MarginCalculation { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `margin_calculator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3b5c800973f3e25297c7e5114a85c3333072e06a6187ec78aaf2ad23140d306a"` [INFO] running `"docker" "rm" "-f" "3b5c800973f3e25297c7e5114a85c3333072e06a6187ec78aaf2ad23140d306a"` [INFO] [stdout] 3b5c800973f3e25297c7e5114a85c3333072e06a6187ec78aaf2ad23140d306a