build checks.x86_64-linux.gammaloop-clippy

Reproduce this run
Original Run
  1. 310.58 s [gammaloop-workspace-clippy] = note: `-D clippy::derivable-impls` implied by `-D warnings`
  2. 310.58 s [gammaloop-workspace-clippy] = help: to override `-D warnings` add `#[allow(clippy::derivable_impls)]`
  3. 310.58 s [gammaloop-workspace-clippy] help: replace the manual implementation with a derive attribute
  4. 310.58 s [gammaloop-workspace-clippy] |
  5. 310.58 s [gammaloop-workspace-clippy] 1416 + #[derive(Default)]
  6. 310.58 s [gammaloop-workspace-clippy] 1417 | pub struct SamplingChannelSelection {
  7. 310.58 s [gammaloop-workspace-clippy] |
  8. 310.58 s [gammaloop-workspace-clippy]
  9. 313.11 s [gammaloop-workspace-clippy] error: could not compile `gammalooprs` (lib) due to 11 previous errors
  10. 313.11 s [gammaloop-workspace-clippy] warning: build failed, waiting for other jobs to finish...
  11. 314.87 s [gammaloop-workspace-clippy] error: the loop variable `component` is used to index `derivative_matrix`
  12. 314.87 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/cff/esurface.rs:3812:34
  13. 314.87 s [gammaloop-workspace-clippy] |
  14. 314.87 s [gammaloop-workspace-clippy] 3812 | for component in 0..6 {
  15. 314.87 s [gammaloop-workspace-clippy] | ^^^^
  16. 314.87 s [gammaloop-workspace-clippy] |
  17. 314.87 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#needless_range_loop
  18. 314.87 s [gammaloop-workspace-clippy] = note: `-D clippy::needless-range-loop` implied by `-D warnings`
  19. 314.87 s [gammaloop-workspace-clippy] = help: to override `-D warnings` add `#[allow(clippy::needless_range_loop)]`
  20. 314.87 s [gammaloop-workspace-clippy] help: consider using an iterator and enumerate()
  21. 314.87 s [gammaloop-workspace-clippy] |
  22. 314.87 s [gammaloop-workspace-clippy] 3812 - for component in 0..6 {
  23. 314.87 s [gammaloop-workspace-clippy] 3812 + for (component, <item>) in derivative_matrix.iter_mut().enumerate().take(6) {
  24. 314.87 s [gammaloop-workspace-clippy] |
  25. 314.87 s [gammaloop-workspace-clippy]
  26. 317.67 s [gammaloop-workspace-clippy] error: the loop variable `column` is only used to index `augmented`
  27. 317.67 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_maps.rs:582:31
  28. 317.67 s [gammaloop-workspace-clippy] |
  29. 317.67 s [gammaloop-workspace-clippy] 582 | for column in 0..2 * dimension {
  30. 317.67 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^
  31. 317.67 s [gammaloop-workspace-clippy] |
  32. 317.67 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#needless_range_loop
  33. 317.67 s [gammaloop-workspace-clippy] help: consider using an iterator
  34. 317.67 s [gammaloop-workspace-clippy] |
  35. 317.67 s [gammaloop-workspace-clippy] 582 - for column in 0..2 * dimension {
  36. 317.67 s [gammaloop-workspace-clippy] 582 + for <item> in augmented.iter_mut().take(2 * dimension) {
  37. 317.67 s [gammaloop-workspace-clippy] |
  38. 317.67 s [gammaloop-workspace-clippy]
  39. 317.80 s [gammaloop-workspace-clippy] error: using `clone` on type `F<f64>` which implements the `Copy` trait
  40. 317.80 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_maps.rs:4019:14
  41. 317.80 s [gammaloop-workspace-clippy] |
  42. 317.80 s [gammaloop-workspace-clippy] 4019 | (point.jacobian.clone() * point.inverse_jacobian.clone() - F(1.0)).abs() < F(1.0e-12)
  43. 317.80 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `point.jacobian`
  44. 317.80 s [gammaloop-workspace-clippy] |
  45. 317.80 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#clone_on_copy
  46. 317.80 s [gammaloop-workspace-clippy] = note: `-D clippy::clone-on-copy` implied by `-D warnings`
  47. 317.80 s [gammaloop-workspace-clippy] = help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
  48. 317.80 s [gammaloop-workspace-clippy]
  49. 317.80 s [gammaloop-workspace-clippy] error: using `clone` on type `F<f64>` which implements the `Copy` trait
  50. 317.80 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_maps.rs:4019:39
  51. 317.80 s [gammaloop-workspace-clippy] |
  52. 317.80 s [gammaloop-workspace-clippy] 4019 | (point.jacobian.clone() * point.inverse_jacobian.clone() - F(1.0)).abs() < F(1.0e-12)
  53. 317.80 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `point.inverse_jacobian`
  54. 317.80 s [gammaloop-workspace-clippy] |
  55. 317.80 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#clone_on_copy
  56. 317.80 s [gammaloop-workspace-clippy]
  57. 318.10 s [gammaloop-workspace-clippy] error: field assignment outside of initializer for an instance created with Default::default()
  58. 318.10 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4508:9
  59. 318.10 s [gammaloop-workspace-clippy] |
  60. 318.10 s [gammaloop-workspace-clippy] 4508 | selection.default_channel_selection = vec!["first".into(), "second".into()];
  61. 318.10 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  62. 318.10 s [gammaloop-workspace-clippy] |
  63. 318.10 s [gammaloop-workspace-clippy] note: consider initializing the variable with `settings::runtime::SamplingChannelSelection { default_channel_selection: vec!["first".into(), "second".into()], ..Default::default() }` and removing relevant reassignments
  64. 318.10 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4507:9
  65. 318.10 s [gammaloop-workspace-clippy] |
  66. 318.10 s [gammaloop-workspace-clippy] 4507 | let mut selection = SamplingChannelSelection::default();
  67. 318.10 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  68. 318.10 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#field_reassign_with_default
  69. 318.10 s [gammaloop-workspace-clippy] = note: `-D clippy::field-reassign-with-default` implied by `-D warnings`
  70. 318.10 s [gammaloop-workspace-clippy] = help: to override `-D warnings` add `#[allow(clippy::field_reassign_with_default)]`
  71. 318.10 s [gammaloop-workspace-clippy]
  72. 318.11 s [gammaloop-workspace-clippy] error: field assignment outside of initializer for an instance created with Default::default()
  73. 318.11 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4718:9
  74. 318.11 s [gammaloop-workspace-clippy] |
  75. 318.11 s [gammaloop-workspace-clippy] 4718 | selection.default_channel_selection = vec!["missing".into()];
  76. 318.11 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  77. 318.11 s [gammaloop-workspace-clippy] |
  78. 318.11 s [gammaloop-workspace-clippy] note: consider initializing the variable with `settings::runtime::SamplingChannelSelection { default_channel_selection: vec!["missing".into()], ..Default::default() }` and removing relevant reassignments
  79. 318.11 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4717:9
  80. 318.11 s [gammaloop-workspace-clippy] |
  81. 318.11 s [gammaloop-workspace-clippy] 4717 | let mut selection = SamplingChannelSelection::default();
  82. 318.11 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  83. 318.11 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#field_reassign_with_default
  84. 318.11 s [gammaloop-workspace-clippy]
  85. 318.11 s [gammaloop-workspace-clippy] error: field assignment outside of initializer for an instance created with Default::default()
  86. 318.11 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4738:9
  87. 318.11 s [gammaloop-workspace-clippy] |
  88. 318.11 s [gammaloop-workspace-clippy] 4738 | selection.default_channel_selection = vec!["named".into()];
  89. 318.11 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  90. 318.11 s [gammaloop-workspace-clippy] |
  91. 318.11 s [gammaloop-workspace-clippy] note: consider initializing the variable with `settings::runtime::SamplingChannelSelection { default_channel_selection: vec!["named".into()], ..Default::default() }` and removing relevant reassignments
  92. 318.11 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4737:9
  93. 318.11 s [gammaloop-workspace-clippy] |
  94. 318.11 s [gammaloop-workspace-clippy] 4737 | let mut selection = SamplingChannelSelection::default();
  95. 318.11 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  96. 318.11 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#field_reassign_with_default
  97. 318.11 s [gammaloop-workspace-clippy]
  98. 318.11 s [gammaloop-workspace-clippy] error: field assignment outside of initializer for an instance created with Default::default()
  99. 318.11 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4763:9
  100. 318.11 s [gammaloop-workspace-clippy] |
  101. 318.11 s [gammaloop-workspace-clippy] 4763 | selection.default_channel_selection = vec!["threshold".into()];
  102. 318.11 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  103. 318.11 s [gammaloop-workspace-clippy] |
  104. 318.11 s [gammaloop-workspace-clippy] note: consider initializing the variable with `settings::runtime::SamplingChannelSelection { default_channel_selection: vec!["threshold".into()], ..Default::default() }` and removing relevant reassignments
  105. 318.11 s [gammaloop-workspace-clippy] --> crates/gammalooprs/src/integrands/process/sampling_selection.rs:4762:9
  106. 318.11 s [gammaloop-workspace-clippy] |
  107. 318.11 s [gammaloop-workspace-clippy] 4762 | let mut selection = SamplingChannelSelection::default();
  108. 318.11 s [gammaloop-workspace-clippy] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  109. 318.11 s [gammaloop-workspace-clippy] = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#field_reassign_with_default
  110. 318.11 s [gammaloop-workspace-clippy]
  111. 318.11 s [gammaloop-workspace-clippy] error: field assignment outside of initializer for an instance created with Default::default()