[INFO] cloning repository https://github.com/YoitzWolf/hega-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YoitzWolf/hega-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoitzWolf%2Fhega-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoitzWolf%2Fhega-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0850973021d1c8007e35c3923fcad9dc5adfceac [INFO] checking YoitzWolf/hega-rs against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoitzWolf%2Fhega-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/YoitzWolf/hega-rs [INFO] finished tweaking git repo https://github.com/YoitzWolf/hega-rs [INFO] tweaked toml for git repo https://github.com/YoitzWolf/hega-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YoitzWolf/hega-rs on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YoitzWolf/hega-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: buid [INFO] [stderr] warning: `hega-rs` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0 [INFO] running `Command { std: "docker" "start" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: buid [INFO] [stderr] warning: `hega-rs` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling hega-rs v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking with_position v0.1.0 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] warning: hega-rs@0.3.3: CWD is "/opt/rustwide/workdir" [INFO] [stderr] warning: hega-rs@0.3.3: OUT_DIR is "/opt/rustwide/target/debug/build/hega-rs/44454fb1db2f19a4/out" [INFO] [stderr] warning: hega-rs@0.3.3: CARGO_MANIFEST_DIR is "/opt/rustwide/workdir" [INFO] [stderr] warning: hega-rs@0.3.3: PROFILE is "debug" [INFO] [stderr] warning: hega-rs@0.3.3: Calculated build path: /opt/rustwide/workdir/target/debug [INFO] [stderr] warning: hega-rs@0.3.3: Err( [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stdout] warning: unused import: `impls` [INFO] [stdout] --> src/anlz/generic.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{fncs::*, impls}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OSCEposDataFile` and `phqmd::PHQMDDataFile` [INFO] [stdout] --> src/anlz/generic.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::fmt::{oscar::{OSCEposBlock, OSCEposDataFile}, phqmd::PHQMDDataFile}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PNu_selected` should have an upper camel case name [INFO] [stdout] --> src/anlz/generic.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | PNu_selected(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PnuSelected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PTheta_selected` should have an upper camel case name [INFO] [stdout] --> src/anlz/generic.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | PTheta_selected(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthetaSelected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic::*` [INFO] [stdout] --> src/anlz/impls.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::fmt::{decoder::{EposDict, EposDictParticle}, generic::*, hepmc::{HepMCBlock, HepMCParticle}, oscar::*, phqmd::{PHQMDBlock,... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if (self.id_PDG.unwrap().abs() > 1000000000) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (self.id_PDG.unwrap().abs() > 1000000000) { [INFO] [stdout] 31 + if self.id_PDG.unwrap().abs() > 1000000000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 42 + |&x| { if x > 0 { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 42 + |&x| { if (x > 0) { 1. } else if x < 0 {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 49 + |&x| { if x > 0 { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:49:58 [INFO] [stdout] | [INFO] [stdout] 49 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 49 + |&x| { if (x > 0) { 1. } else if x < 0 {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/anlz/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/anlz/fncs.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt, fs::File, io::BufReader}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OSCEposHeader` [INFO] [stdout] --> src/anlz/fncs.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::fmt::{decoder::{DctCoding, EposDict}, oscar::{OSCEposHeader, OscarParticle}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/fmt/generic.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::BufReader}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fmt/phqmd.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | if (skip) { Ok((false, bufheader, buf, events)) } else [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - if (skip) { Ok((false, bufheader, buf, events)) } else [INFO] [stdout] 134 + if skip { Ok((false, bufheader, buf, events)) } else [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fmt::oscar::OscarParticle` [INFO] [stdout] --> src/fmt/decoder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::fmt::oscar::OscarParticle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fmt/decoder.rs:231:54 [INFO] [stdout] | [INFO] [stdout] 231 | ... v.lepton_charge = if (code > 0) {1.0} else {-1.0}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - v.lepton_charge = if (code > 0) {1.0} else {-1.0}; [INFO] [stdout] 231 + v.lepton_charge = if code > 0 {1.0} else {-1.0}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/custom_criteria.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/cli.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{read_to_string, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/cli.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/api_macro.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/api_macro.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefMutIterator` [INFO] [stdout] --> src/api_macro.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::iter::{IntoParallelRefMutIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args` and `CalcTarget` [INFO] [stdout] --> src/api_macro.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::cli::{self, Args, CalcTarget}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DistributionCritetia`, `HEPEventAnalyzer`, `ScalarCriteria`, `StandardCriteria`, `StandardDistributionCriteria`, `fncs::lab_momentum`, and `standard_criteria` [INFO] [stdout] --> src/api_macro.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ...::{standard_criteria, anlz::{fncs::lab_momentum, DistributionCritetia, HEPEventAnalyzer, ScalarCriteria, StandardCriteria, StandardDistributionCriteria}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fmt::oscar::OSCEposDataFile` [INFO] [stdout] --> src/api_macro.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::fmt::oscar::OSCEposDataFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OSCEposBlock`, `OscarParticle`, `PHQMDBlock`, and `PHQMDParticle` [INFO] [stdout] --> src/api_macro.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | oscar::{OSCEposBlock, OscarParticle}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 17 | phqmd::{PHQMDBlock, PHQMDParticle} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anlz::HEPEvent` [INFO] [stdout] --> src/api_macro.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::anlz::HEPEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HepMCDataFile` [INFO] [stdout] --> src/api_macro.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::fmt::hepmc::{HepMCDataFile}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `oscar::OSC97UrQMDDataFile`, `phqmd::PHQMDDataFile`, and `qgsm::QGSMDataFile` [INFO] [stdout] --> src/api_macro.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::fmt::{oscar::OSC97UrQMDDataFile, phqmd::PHQMDDataFile, qgsm::QGSMDataFile}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anlz::generic::*` [INFO] [stdout] --> src/api_macro.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::anlz::generic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{Parser, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fncs::lab_momentum` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use anlz::{fncs::lab_momentum, DistributionCritetia, HEPEventAnalyzer, ScalarCriteria, StandardCriteria, StandardDistributionCriteria}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decoder::EposDict`, `hepmc::HepMCBlock`, `oscar::OSCEposBlock`, and `phqmd::PHQMDBlock` [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | ...::{decoder::EposDict, generic::GenericDataContainer, oscar::OSCEposBlock, phqmd::PHQMDBlock, qgsm::QGSMDataFile, hepmc::HepMCDataFile, hepmc::HepMCBlock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | |((pref, size, bins, vals))| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - |((pref, size, bins, vals))| { [INFO] [stdout] 157 + |(pref, size, bins, vals)| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f64::consts::PI` [INFO] [stdout] --> src/anlz/generic.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashSet, f64::consts::PI, fmt::Debug, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls` [INFO] [stdout] --> src/anlz/generic.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{fncs::*, impls}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OSCEposBlock`, `OSCEposDataFile`, and `phqmd::PHQMDDataFile` [INFO] [stdout] --> src/anlz/generic.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::fmt::{oscar::{OSCEposBlock, OSCEposDataFile}, phqmd::PHQMDDataFile}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PNu_selected` should have an upper camel case name [INFO] [stdout] --> src/anlz/generic.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | PNu_selected(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PnuSelected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PTheta_selected` should have an upper camel case name [INFO] [stdout] --> src/anlz/generic.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | PTheta_selected(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthetaSelected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic::*` [INFO] [stdout] --> src/anlz/impls.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::fmt::{decoder::{EposDict, EposDictParticle}, generic::*, hepmc::{HepMCBlock, HepMCParticle}, oscar::*, phqmd::{PHQMDBlock,... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if (self.id_PDG.unwrap().abs() > 1000000000) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (self.id_PDG.unwrap().abs() > 1000000000) { [INFO] [stdout] 31 + if self.id_PDG.unwrap().abs() > 1000000000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 42 + |&x| { if x > 0 { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 42 + |&x| { if (x > 0) { 1. } else if x < 0 {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 49 + |&x| { if x > 0 { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/anlz/impls.rs:49:58 [INFO] [stdout] | [INFO] [stdout] 49 | |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 49 - |&x| { if (x > 0) { 1. } else if (x < 0) {-1.} else {0.} } [INFO] [stdout] 49 + |&x| { if (x > 0) { 1. } else if x < 0 {-1.} else {0.} } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/anlz/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt`, `fs::File`, and `io::BufReader` [INFO] [stdout] --> src/anlz/fncs.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt, fs::File, io::BufReader}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DctCoding`, `EposDict`, `OSCEposHeader`, and `OscarParticle` [INFO] [stdout] --> src/anlz/fncs.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::fmt::{decoder::{DctCoding, EposDict}, oscar::{OSCEposHeader, OscarParticle}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/fmt/generic.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::BufReader}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fmt/phqmd.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | if (skip) { Ok((false, bufheader, buf, events)) } else [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - if (skip) { Ok((false, bufheader, buf, events)) } else [INFO] [stdout] 134 + if skip { Ok((false, bufheader, buf, events)) } else [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fmt::oscar::OscarParticle` [INFO] [stdout] --> src/fmt/decoder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::fmt::oscar::OscarParticle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fmt/decoder.rs:231:54 [INFO] [stdout] | [INFO] [stdout] 231 | ... v.lepton_charge = if (code > 0) {1.0} else {-1.0}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - v.lepton_charge = if (code > 0) {1.0} else {-1.0}; [INFO] [stdout] 231 + v.lepton_charge = if code > 0 {1.0} else {-1.0}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/custom_criteria.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/cli.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{read_to_string, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/cli.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/api_macro.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/api_macro.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefMutIterator` [INFO] [stdout] --> src/api_macro.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::iter::{IntoParallelRefMutIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args` and `CalcTarget` [INFO] [stdout] --> src/api_macro.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::cli::{self, Args, CalcTarget}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DistributionCritetia`, `HEPEventAnalyzer`, `ScalarCriteria`, `StandardCriteria`, `StandardDistributionCriteria`, `fncs::lab_momentum`, and `standard_criteria` [INFO] [stdout] --> src/api_macro.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ...::{standard_criteria, anlz::{fncs::lab_momentum, DistributionCritetia, HEPEventAnalyzer, ScalarCriteria, StandardCriteria, StandardDistributionCriteria}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fmt::oscar::OSCEposDataFile` [INFO] [stdout] --> src/api_macro.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::fmt::oscar::OSCEposDataFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OSCEposBlock`, `OscarParticle`, `PHQMDBlock`, and `PHQMDParticle` [INFO] [stdout] --> src/api_macro.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | oscar::{OSCEposBlock, OscarParticle}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 17 | phqmd::{PHQMDBlock, PHQMDParticle} [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anlz::HEPEvent` [INFO] [stdout] --> src/api_macro.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::anlz::HEPEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HepMCDataFile` [INFO] [stdout] --> src/api_macro.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::fmt::hepmc::{HepMCDataFile}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `oscar::OSC97UrQMDDataFile`, `phqmd::PHQMDDataFile`, and `qgsm::QGSMDataFile` [INFO] [stdout] --> src/api_macro.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::fmt::{oscar::OSC97UrQMDDataFile, phqmd::PHQMDDataFile, qgsm::QGSMDataFile}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::anlz::generic::*` [INFO] [stdout] --> src/api_macro.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::anlz::generic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use clap::{Parser, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fncs::lab_momentum` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use anlz::{fncs::lab_momentum, DistributionCritetia, HEPEventAnalyzer, ScalarCriteria, StandardCriteria, StandardDistributionCriteria}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decoder::EposDict`, `hepmc::HepMCBlock`, `oscar::OSCEposBlock`, and `phqmd::PHQMDBlock` [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | ...::{decoder::EposDict, generic::GenericDataContainer, oscar::OSCEposBlock, phqmd::PHQMDBlock, qgsm::QGSMDataFile, hepmc::HepMCDataFile, hepmc::HepMCBlock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | |((pref, size, bins, vals))| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - |((pref, size, bins, vals))| { [INFO] [stdout] 157 + |(pref, size, bins, vals)| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use rayon::iter::{ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/api_macro.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::iter::{IntoParallelRefMutIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic::GenericDataContainer` [INFO] [stdout] --> src/api_macro.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | generic::GenericDataContainer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/cli.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/cli.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{Parser, *, Subcommand}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use rayon::iter::{ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/api_macro.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::iter::{IntoParallelRefMutIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generic::GenericDataContainer` [INFO] [stdout] --> src/api_macro.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | generic::GenericDataContainer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/cli.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `` [INFO] [stdout] --> src/cli.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{Parser, *, Subcommand}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/anlz/generic.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let mut part = event.particles().filter(|x| filter(x, &dec)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/anlz/generic.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let mut part = event.particles().filter(|x| filter(x, &dec)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | fn momentum_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | fn mass_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn e_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn b_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn l_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_final(&self, dec: &Self::Decoder) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn name(&self, dec: &Self::Decoder) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | fn momentum_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | fn mass_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn e_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dct` [INFO] [stdout] --> src/anlz/impls.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | fn is_final(&self, dct: &EposDict) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dct` [INFO] [stdout] --> src/anlz/impls.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | fn e_charge(&self, dct: &EposDict) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn b_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dct` [INFO] [stdout] --> src/anlz/impls.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | fn is_final(&self, dct: &EposDict) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn l_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn is_final(&self, dec: &Self::Decoder) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn name(&self, dec: &Self::Decoder) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | fn momentum_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | fn mass_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dct` [INFO] [stdout] --> src/anlz/impls.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | fn is_final(&self, dct: &EposDict) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | fn e_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | fn b_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:285:24 [INFO] [stdout] | [INFO] [stdout] 285 | fn l_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 289 | fn is_final(&self, dec: &Self::Decoder) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dct` [INFO] [stdout] --> src/anlz/impls.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | fn e_charge(&self, dct: &EposDict) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:317:31 [INFO] [stdout] | [INFO] [stdout] 317 | fn momentum_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | fn mass_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dct` [INFO] [stdout] --> src/anlz/impls.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | fn is_final(&self, dct: &EposDict) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 239 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | fn momentum_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | fn mass_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | fn e_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | fn b_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:285:24 [INFO] [stdout] | [INFO] [stdout] 285 | fn l_charge(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:289:24 [INFO] [stdout] | [INFO] [stdout] 289 | fn is_final(&self, dec: &Self::Decoder) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:369:24 [INFO] [stdout] | [INFO] [stdout] 369 | fn is_final(&self, dec: &Self::Decoder) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:317:31 [INFO] [stdout] | [INFO] [stdout] 317 | fn momentum_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | fn momentum(&self, dec: &Self::Decoder) -> &(f64, f64, f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:325:27 [INFO] [stdout] | [INFO] [stdout] 325 | fn mass_energy(&self, dec: &Self::Decoder) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:369:24 [INFO] [stdout] | [INFO] [stdout] 369 | fn is_final(&self, dec: &Self::Decoder) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/anlz/impls.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | fn code(&self, dec: &Self::Decoder) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/anlz/fncs.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | let t = ( (z) / ((x*x+y*y+z*z).sqrt()) ).acos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/oscar.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | Ok((a, b, c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/oscar.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | Ok((a, b, c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/oscar.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | Ok((a, b, c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/oscar.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | Ok((a, b, c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/oscar.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/oscar.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/oscar.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/oscar.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fmt/phqmd.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | , (i, (position, _line))| -> Result<_, Box > { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fmt/phqmd.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | , (i, (position, _line))| -> Result<_, Box > { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/qgsm.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/qgsm.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmt/hepmc.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | (mut header, mut bufheader, mut buf, mut events) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/fmt/hepmc.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | , (idx, (position, _line)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/hepmc.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/hepmc.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/custom_criteria.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_criteria_value(&self, p: &T, dec: &S) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/custom_criteria.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_criteria_value(&self, p: &T, dec: &S) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/qgsm.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/qgsm.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fmt/hepmc.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | (mut header, mut bufheader, mut buf, mut events) [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/fmt/hepmc.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | , (idx, (position, _line)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/fmt/hepmc.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/fmt/hepmc.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | Ok((a, b ,c, events)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/custom_criteria.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_criteria_value(&self, p: &T, dec: &S) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dec` [INFO] [stdout] --> src/custom_criteria.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_criteria_value(&self, p: &T, dec: &S) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api_macro.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut p = dict.get(&1000010020).unwrap().clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api_macro.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut p = dict.get(&1000010020).unwrap().clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParticleIdCounter` is never constructed [INFO] [stdout] --> src/anlz/generic.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StandardCriteria { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | ParticleIdCounter(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardCriteria` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VecCriteria` is never used [INFO] [stdout] --> src/anlz/generic.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum VecCriteria { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParticleCodeSelector` is never constructed [INFO] [stdout] --> src/anlz/generic.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub struct ParticleCodeSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PTheta_selected` and `Custom` are never constructed [INFO] [stdout] --> src/anlz/generic.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 372 | pub enum StandardDistributionCriteraDefiner { [INFO] [stdout] | ---------------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 382 | PTheta_selected(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 383 | Custom(Box::::Decoder) -> f64) + Sync + Send>) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clean_clone` is never used [INFO] [stdout] --> src/anlz/generic.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 563 | impl ParticleListCompiler { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn clean_clone(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gamma` is never used [INFO] [stdout] --> src/anlz/fncs.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn gamma(p: &P, dec: &P::Decoder ) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lab_momentum` is never used [INFO] [stdout] --> src/anlz/fncs.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn lab_momentum(p: &P, dec: &P::Decoder ) -> (f64, f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rapidity` is never used [INFO] [stdout] --> src/anlz/fncs.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn rapidity(p: &P, dec: &P::Decoder ) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_header` is never used [INFO] [stdout] --> src/fmt/generic.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait DataBlock<'a, Header>: TryFrom<(Header, &'a Vec)> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 6 | fn get_header(&self) -> &Header; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_header` is never used [INFO] [stdout] --> src/fmt/generic.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait GenericDataContainer<'a, 'b>: Sized { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn get_header(&self) -> &Self::Header; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nout` is never read [INFO] [stdout] --> src/fmt/oscar.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OSCEposBlockHeader { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 20 | /// Count of particles in OSCAR event description [INFO] [stdout] 21 | pub nout: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSCEposBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `snn` and `event_signature` are never read [INFO] [stdout] --> src/fmt/oscar.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct OSCEposHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 28 | /// Collision Energy [INFO] [stdout] 29 | pub snn: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub event_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSCEposHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/oscar.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OSCEposDataFile<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 37 | header: OSCEposHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | events: Vec, [INFO] [stdout] 39 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSCEposDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `p0`, `coords`, and `time` are never read [INFO] [stdout] --> src/fmt/oscar.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct OscarParticle { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 44 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub p0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | pub mass: f64, [INFO] [stdout] 50 | pub coords: (f64, f64, f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | pub time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OscarParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/oscar.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct OSC97UrQMDDataFile<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 246 | header: OSCEposHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 247 | events: Vec, [INFO] [stdout] 248 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSC97UrQMDDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/fmt/phqmd.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PHQMDBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | /// Block Header [INFO] [stdout] 13 | pub header: PHQMDBlockHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nout` is never read [INFO] [stdout] --> src/fmt/phqmd.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PHQMDBlockHeader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | /// Count of particles in OSCAR event description [INFO] [stdout] 21 | pub nout: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/phqmd.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PHQMDDataFile<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 30 | header: PHQMDHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | events: Vec, [INFO] [stdout] 32 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `E` and `id` are never read [INFO] [stdout] --> src/fmt/phqmd.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PHQMDParticle { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub E: f64, [INFO] [stdout] | ^ [INFO] [stdout] 41 | pub id: usize [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmt/decoder.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl EposDictParticle { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/fmt/qgsm.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct QGSMBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | /// Block Header [INFO] [stdout] 13 | pub header: QGSMBlockHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_id`, `nout`, `b`, `bx`, and `by` are never read [INFO] [stdout] --> src/fmt/qgsm.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct QGSMBlockHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 20 | pub event_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | /// Count of particles in OSCAR event description [INFO] [stdout] 22 | pub nout: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// impact parameter [INFO] [stdout] 24 | pub b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 25 | pub bx: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | pub by: f64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_signature` is never read [INFO] [stdout] --> src/fmt/qgsm.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QGSMHeader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub event_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strangeness` and `p_lab_z` are never read [INFO] [stdout] --> src/fmt/qgsm.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct QGSMParticle { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub strangeness: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub p_lab_z: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/qgsm.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct QGSMDataFile<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 108 | header: QGSMHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | events: Vec, [INFO] [stdout] 110 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_id` and `nout` are never read [INFO] [stdout] --> src/fmt/hepmc.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct HepMCBlockHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 20 | pub event_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | /// Count of particles in OSCAR event description [INFO] [stdout] 22 | pub nout: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HepMCBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `energy` is never read [INFO] [stdout] --> src/fmt/hepmc.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct HepMCParticle { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub energy: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HepMCParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/hepmc.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct HepMCDataFile<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 114 | header: HepMCHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 115 | events: Vec, [INFO] [stdout] 116 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HepMCDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyExampleCriterias` is never used [INFO] [stdout] --> src/custom_criteria.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MyExampleCriterias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/oscar.rs:223:84 [INFO] [stdout] | [INFO] [stdout] 223 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 223 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 223 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 223 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 223 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/oscar.rs:362:84 [INFO] [stdout] | [INFO] [stdout] 362 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 362 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 362 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 362 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 362 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/phqmd.rs:192:84 [INFO] [stdout] | [INFO] [stdout] 192 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 192 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 192 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 192 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 192 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/qgsm.rs:228:84 [INFO] [stdout] | [INFO] [stdout] 228 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 228 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 228 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 228 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 228 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/hepmc.rs:235:84 [INFO] [stdout] | [INFO] [stdout] 235 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 235 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 235 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 235 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 235 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IS_FINAL_FILTER` should have a snake case name [INFO] [stdout] --> src/anlz/generic.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn IS_FINAL_FILTER<'a, Event: HEPEvent>(x: &'a Event::P, dec: &::Decoder) -> bool { x.is_final(dec) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_final_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParticleIdCounter` is never constructed [INFO] [stdout] --> src/anlz/generic.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StandardCriteria { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | ParticleIdCounter(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StandardCriteria` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VecCriteria` is never used [INFO] [stdout] --> src/anlz/generic.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum VecCriteria { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParticleCodeSelector` is never constructed [INFO] [stdout] --> src/anlz/generic.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub struct ParticleCodeSelector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PTheta_selected` and `Custom` are never constructed [INFO] [stdout] --> src/anlz/generic.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 372 | pub enum StandardDistributionCriteraDefiner { [INFO] [stdout] | ---------------------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 382 | PTheta_selected(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 383 | Custom(Box::::Decoder) -> f64) + Sync + Send>) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clean_clone` is never used [INFO] [stdout] --> src/anlz/generic.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 563 | impl ParticleListCompiler { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn clean_clone(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_header` is never used [INFO] [stdout] --> src/fmt/generic.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait DataBlock<'a, Header>: TryFrom<(Header, &'a Vec)> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 6 | fn get_header(&self) -> &Header; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_header` is never used [INFO] [stdout] --> src/fmt/generic.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait GenericDataContainer<'a, 'b>: Sized { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn get_header(&self) -> &Self::Header; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nout` is never read [INFO] [stdout] --> src/fmt/oscar.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OSCEposBlockHeader { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 20 | /// Count of particles in OSCAR event description [INFO] [stdout] 21 | pub nout: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSCEposBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `snn` and `event_signature` are never read [INFO] [stdout] --> src/fmt/oscar.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct OSCEposHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 28 | /// Collision Energy [INFO] [stdout] 29 | pub snn: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub event_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSCEposHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/oscar.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OSCEposDataFile<'a> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 37 | header: OSCEposHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | events: Vec, [INFO] [stdout] 39 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSCEposDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `p0`, `coords`, and `time` are never read [INFO] [stdout] --> src/fmt/oscar.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct OscarParticle { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 44 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub p0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | pub mass: f64, [INFO] [stdout] 50 | pub coords: (f64, f64, f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | pub time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OscarParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `E` should have a snake case name [INFO] [stdout] --> src/fmt/phqmd.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub E: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/oscar.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct OSC97UrQMDDataFile<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 246 | header: OSCEposHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 247 | events: Vec, [INFO] [stdout] 248 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OSC97UrQMDDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/fmt/phqmd.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PHQMDBlock { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | /// Block Header [INFO] [stdout] 13 | pub header: PHQMDBlockHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nout` is never read [INFO] [stdout] --> src/fmt/phqmd.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PHQMDBlockHeader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | /// Count of particles in OSCAR event description [INFO] [stdout] 21 | pub nout: usize [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_EPOS` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub id_EPOS : Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `id_epos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/phqmd.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PHQMDDataFile<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 30 | header: PHQMDHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | events: Vec, [INFO] [stdout] 32 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `E` and `id` are never read [INFO] [stdout] --> src/fmt/phqmd.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PHQMDParticle { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub E: f64, [INFO] [stdout] | ^ [INFO] [stdout] 41 | pub id: usize [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PHQMDParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_PDG` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub id_PDG : Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `id_pdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_QGSJET` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub id_QGSJET : Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_qgsjet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_GHEISHA` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub id_GHEISHA : Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `id_gheisha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_SIBYLL` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub id_SIBYLL : Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_sibyll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fmt/decoder.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl EposDictParticle { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/fmt/qgsm.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct QGSMBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | /// Block Header [INFO] [stdout] 13 | pub header: QGSMBlockHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_id`, `nout`, `b`, `bx`, and `by` are never read [INFO] [stdout] --> src/fmt/qgsm.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct QGSMBlockHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 20 | pub event_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | /// Count of particles in OSCAR event description [INFO] [stdout] 22 | pub nout: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// impact parameter [INFO] [stdout] 24 | pub b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 25 | pub bx: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | pub by: f64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_signature` is never read [INFO] [stdout] --> src/fmt/qgsm.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QGSMHeader { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub event_signature: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `strangeness` and `p_lab_z` are never read [INFO] [stdout] --> src/fmt/qgsm.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct QGSMParticle { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub strangeness: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub p_lab_z: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/qgsm.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct QGSMDataFile<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 108 | header: QGSMHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | events: Vec, [INFO] [stdout] 110 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QGSMDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_id` and `nout` are never read [INFO] [stdout] --> src/fmt/hepmc.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct HepMCBlockHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 20 | pub event_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | /// Count of particles in OSCAR event description [INFO] [stdout] 22 | pub nout: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HepMCBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `energy` is never read [INFO] [stdout] --> src/fmt/hepmc.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct HepMCParticle { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub energy: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HepMCParticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `decoder` are never read [INFO] [stdout] --> src/fmt/hepmc.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct HepMCDataFile<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 114 | header: HepMCHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 115 | events: Vec, [INFO] [stdout] 116 | pub decoder: &'a EposDict [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HepMCDataFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyExampleCriterias` is never used [INFO] [stdout] --> src/custom_criteria.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum MyExampleCriterias { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_EPOS` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `id_epos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_PDG` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `id_pdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_QGSJET` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_qgsjet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_GHEISHA` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:83 [INFO] [stdout] | [INFO] [stdout] 49 | ..., id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, name: String, ifl1: Option, ifl2: Option src/fmt/decoder.rs:49:108 [INFO] [stdout] | [INFO] [stdout] 49 | ..., id_GHEISHA: Option, id_SIBYLL: Option, name: String, ifl1: Option, ifl2: Option, ifl3: Option, co... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_sibyll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/oscar.rs:223:84 [INFO] [stdout] | [INFO] [stdout] 223 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 223 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 223 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 223 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 223 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/oscar.rs:362:84 [INFO] [stdout] | [INFO] [stdout] 362 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 362 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 362 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 362 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 362 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/phqmd.rs:192:84 [INFO] [stdout] | [INFO] [stdout] 192 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 192 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 192 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 192 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 192 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/qgsm.rs:228:84 [INFO] [stdout] | [INFO] [stdout] 228 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 228 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 228 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 228 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 228 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/fmt/hepmc.rs:235:84 [INFO] [stdout] | [INFO] [stdout] 235 | Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 235 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 235 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string())) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 235 - Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, e.as_ref().to_string().into())) [INFO] [stdout] 235 + Err(std::io::Error::new::(std::io::ErrorKind::InvalidData, >::into(e.as_ref().to_string()))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IS_FINAL_FILTER` should have a snake case name [INFO] [stdout] --> src/anlz/generic.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn IS_FINAL_FILTER<'a, Event: HEPEvent>(x: &'a Event::P, dec: &::Decoder) -> bool { x.is_final(dec) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_final_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dict_EPOS` should have a snake case name [INFO] [stdout] --> src/anlz/fncs.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let dict_EPOS = EposDict::upload( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `dict_epos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E0` should have a snake case name [INFO] [stdout] --> src/anlz/fncs.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let E0 = (p0.0.powi(2) + p0.1.powi(2) + p0.2.powi(2) + 172.592f64.powi(2)).sqrt(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `e0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T1` should have a snake case name [INFO] [stdout] --> src/anlz/fncs.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let T1 = (np.0.powi(2) + np.1.powi(2) + np.2.powi(2)).sqrt(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E1` should have a snake case name [INFO] [stdout] --> src/anlz/fncs.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let E1 = p2.energy(&dict_EPOS); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: hega-rs@0.3.3: CWD is "/opt/rustwide/workdir" [INFO] [stdout] warning: structure field `E` should have a snake case name [INFO] [stdout] --> src/fmt/phqmd.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub E: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: hega-rs@0.3.3: OUT_DIR is "/opt/rustwide/target/debug/build/hega-rs/44454fb1db2f19a4/out" [INFO] [stderr] warning: hega-rs@0.3.3: CARGO_MANIFEST_DIR is "/opt/rustwide/workdir" [INFO] [stderr] warning: hega-rs@0.3.3: PROFILE is "debug" [INFO] [stderr] warning: hega-rs@0.3.3: Calculated build path: /opt/rustwide/workdir/target/debug [INFO] [stderr] warning: hega-rs@0.3.3: Err( [INFO] [stderr] error: could not compile `hega-rs` (bin "hega-rs") due to 5 previous errors; 126 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: structure field `id_EPOS` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub id_EPOS : Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `id_epos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_PDG` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub id_PDG : Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `id_pdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_QGSJET` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub id_QGSJET : Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_qgsjet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_GHEISHA` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub id_GHEISHA : Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `id_gheisha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `id_SIBYLL` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub id_SIBYLL : Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_sibyll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_EPOS` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `id_epos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_PDG` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `id_pdg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_QGSJET` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(id_EPOS: Option, id_PDG: Option, id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, n... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_qgsjet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `id_GHEISHA` should have a snake case name [INFO] [stdout] --> src/fmt/decoder.rs:49:83 [INFO] [stdout] | [INFO] [stdout] 49 | ..., id_QGSJET: Option, id_GHEISHA: Option, id_SIBYLL: Option, name: String, ifl1: Option, ifl2: Option src/fmt/decoder.rs:49:108 [INFO] [stdout] | [INFO] [stdout] 49 | ..., id_GHEISHA: Option, id_SIBYLL: Option, name: String, ifl1: Option, ifl2: Option, ifl3: Option, co... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_sibyll` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: hega-rs@0.3.3: CWD is "/opt/rustwide/workdir" [INFO] [stderr] warning: hega-rs@0.3.3: OUT_DIR is "/opt/rustwide/target/debug/build/hega-rs/44454fb1db2f19a4/out" [INFO] [stderr] warning: hega-rs@0.3.3: CARGO_MANIFEST_DIR is "/opt/rustwide/workdir" [INFO] [stderr] warning: hega-rs@0.3.3: PROFILE is "debug" [INFO] [stderr] warning: hega-rs@0.3.3: Calculated build path: /opt/rustwide/workdir/target/debug [INFO] [stderr] warning: hega-rs@0.3.3: Err( [INFO] [stderr] error: could not compile `hega-rs` (bin "hega-rs" test) due to 5 previous errors; 127 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0", kill_on_drop: false }` [INFO] [stdout] d3cff98cc2ec42cb1c71c3125082eeb3954d2b62872e636a89ec027b50b350f0