[INFO] cloning repository https://github.com/artemis-beta/PKTools-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/artemis-beta/PKTools-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartemis-beta%2FPKTools-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartemis-beta%2FPKTools-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30288e24cfedf023db83ff27ce469f0be6d12780 [INFO] checking artemis-beta/PKTools-Rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartemis-beta%2FPKTools-Rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/artemis-beta/PKTools-Rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/artemis-beta/PKTools-Rust [INFO] finished tweaking git repo https://github.com/artemis-beta/PKTools-Rust [INFO] tweaked toml for git repo https://github.com/artemis-beta/PKTools-Rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/artemis-beta/PKTools-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 983ace1b43620b18061a1cae4dddc697b6679d30ebe04a85ca505a15b4f50d6c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "983ace1b43620b18061a1cae4dddc697b6679d30ebe04a85ca505a15b4f50d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "983ace1b43620b18061a1cae4dddc697b6679d30ebe04a85ca505a15b4f50d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983ace1b43620b18061a1cae4dddc697b6679d30ebe04a85ca505a15b4f50d6c", kill_on_drop: false }` [INFO] [stdout] 983ace1b43620b18061a1cae4dddc697b6679d30ebe04a85ca505a15b4f50d6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 835250bbbacb4bf5841974a222d69c2226ea72ac1c0727ea72c0d699a09b72b5 [INFO] running `Command { std: "docker" "start" "-a" "835250bbbacb4bf5841974a222d69c2226ea72ac1c0727ea72c0d699a09b72b5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking PKVar v0.1.0 (/opt/rustwide/workdir/PKVar) [INFO] [stderr] Checking PKComplexVar v0.1.0 (/opt/rustwide/workdir/PKComplexVar) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> PKComplexVar/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> PKComplexVar/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `comp_var` should have an upper camel case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct comp_var { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CompVar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `var` should have an upper camel case name [INFO] [stdout] --> PKVar/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct var { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> PKComplexVar/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> PKComplexVar/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `comp_var` should have an upper camel case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct comp_var { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CompVar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `var` should have an upper camel case name [INFO] [stdout] --> PKVar/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct var { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKVar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pkvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PKVar` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn PKVar(value : f64, error : f64) -> var { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pkvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getVal` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn getVal(&self) -> f64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getError` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn getError(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Sqrt` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn Sqrt(self) -> var { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `sqrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKComplexVar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pkcomplex_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PKComplexVar` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn PKComplexVar(re : f64, im : f64) -> comp_var { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pkcomplex_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_setReal` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn _setReal(mut self, value : f64) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_set_real` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_setImag` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn _setImag(mut self, value : f64) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_set_imag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKVar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pkvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PKVar` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn PKVar(value : f64, error : f64) -> var { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pkvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getVal` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn getVal(&self) -> f64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getError` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn getError(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Sqrt` should have a snake case name [INFO] [stdout] --> PKVar/src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn Sqrt(self) -> var { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `sqrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRe` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn getRe(&self) -> f64 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_re` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getIm` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn getIm(&self) -> f64 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_im` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMod` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn getMod(&self) -> f64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getArg` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn getArg(&self) -> f64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `returnString` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn returnString(&self, opt : i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `return_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking PKLorentzVector v0.1.0 (/opt/rustwide/workdir/PKLorentzVector) [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKComplexVar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pkcomplex_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PKComplexVar` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn PKComplexVar(re : f64, im : f64) -> comp_var { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pkcomplex_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_setReal` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn _setReal(mut self, value : f64) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_set_real` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_setImag` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn _setImag(mut self, value : f64) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_set_imag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRe` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn getRe(&self) -> f64 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_re` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getIm` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn getIm(&self) -> f64 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `get_im` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMod` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn getMod(&self) -> f64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_mod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getArg` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn getArg(&self) -> f64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `returnString` should have a snake case name [INFO] [stdout] --> PKComplexVar/src/lib.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn returnString(&self, opt : i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `return_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKVar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pkvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lorentz_vec` should have an upper camel case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct lorentz_vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LorentzVec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lorentz_vec` should have an upper camel case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct lorentz_vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LorentzVec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKLorentzVector` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pklorentz_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | X : [PKVar::var; 4], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Magn_` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Magn_ : PKVar::var, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `magn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMagnitude` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn getMagnitude(&self) -> PKVar::var { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PKLorentzVector` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn PKLorentzVector(x0 : PKVar::var, x1 : PKVar::var, x2 : PKVar::var, x3 : PKVar::var) -> lorentz_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pklorentz_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fromFloats` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn fromFloats(x0 : f64, x1 : f64, x2 : f64, x3 : f64) -> lorentz_vec [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `from_floats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fromFloatsAndErrors` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fromFloatsAndErrors(x0 : f64, x1 : f64, x2 : f64, x3 : f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_floats_and_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKComplexVar` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pkcomplex_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> PKComplexVar/../examples/PKComplexVar.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let X = PKComplexVar::PKComplexVar( x_r, x_i ); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> PKComplexVar/../examples/PKComplexVar.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let Y = PKComplexVar::PKComplexVar( y_r, y_i ); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKLorentzVector` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pklorentz_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | X : [PKVar::var; 4], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Magn_` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Magn_ : PKVar::var, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `magn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getMagnitude` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn getMagnitude(&self) -> PKVar::var { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_magnitude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PKLorentzVector` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn PKLorentzVector(x0 : PKVar::var, x1 : PKVar::var, x2 : PKVar::var, x3 : PKVar::var) -> lorentz_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pklorentz_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fromFloats` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn fromFloats(x0 : f64, x1 : f64, x2 : f64, x3 : f64) -> lorentz_vec [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `from_floats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fromFloatsAndErrors` should have a snake case name [INFO] [stdout] --> PKLorentzVector/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fromFloatsAndErrors(x0 : f64, x1 : f64, x2 : f64, x3 : f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_floats_and_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PKLorentzVector` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pklorentz_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P_X` should have a snake case name [INFO] [stdout] --> PKLorentzVector/../examples/PKLorentzVector.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let P_X = PKLorentzVector::fromFloats( x_0, x_1, x_2, x_3 ); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `p_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P_Y` should have a snake case name [INFO] [stdout] --> PKLorentzVector/../examples/PKLorentzVector.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let P_Y = PKLorentzVector::fromFloats( x_0, x_2, x_3, x_2 ); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `p_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.06s [INFO] running `Command { std: "docker" "inspect" "835250bbbacb4bf5841974a222d69c2226ea72ac1c0727ea72c0d699a09b72b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835250bbbacb4bf5841974a222d69c2226ea72ac1c0727ea72c0d699a09b72b5", kill_on_drop: false }` [INFO] [stdout] 835250bbbacb4bf5841974a222d69c2226ea72ac1c0727ea72c0d699a09b72b5