build checks.x86_64-linux.gammaloop-fmt

Reproduce this run
Original Run
  1. 0.64 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://github.com/alphal00p/gammaloop?ref=ir_safe_threshold_ct_rework&rev=0f3c75c08b143ceb3ca042d89635da65d3e874c6&shallow=1#checks.x86_64-linux.gammaloop-fmt --print-build-logs
  2. 0.70 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/494c24376b357b9e2a13d260e80e861810ab7e8f6ba34a2206cc787992343ef1.sqlite' is busy
  3. 0.81 s
  4. 2.23 s Downloading cached rustfmt-preview-stable-2026-07 from https://cache.nix-ci.com
  5. 2.23 s Downloading cached llvm-tools-preview-stable-2026-07 from https://cache.nix-ci.com
  6. 2.23 s Downloading cached clippy-preview-stable-2026-07 from https://cache.nix-ci.com
  7. 2.57 s Downloaded cached rustfmt-preview-stable-2026-07 (8.7 MiB) in 340ms
  8. 2.57 s Progress: 0 of 6 built, 1 of 3 downloaded from cache (2 downloading)
  9. 2.74 s Downloaded cached clippy-preview-stable-2026-07 (22.9 MiB) in 511ms
  10. 2.74 s Progress: 0 of 5 built, 2 of 3 downloaded from cache (1 downloading)
  11. 2.78 s Building /nix/store/0278k537z0dbnrpx1zavbqcn0h9lxpnr-clippy-stable-with-std-2026-07-09.drv
  12. 3.20 s [clippy-stable-with-std-2026-07:post-build] Uploading to the NixCI cache: /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09
  13. 3.25 s [clippy-stable-with-std-2026-07:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  14. 3.39 s [clippy-stable-with-std-2026-07:post-build] copying 0 paths...
  15. 3.48 s [clippy-stable-with-std-2026-07:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  16. 3.63 s [clippy-stable-with-std-2026-07:post-build] copying 0 paths...
  17. 3.65 s Uploaded clippy-stable-with-std-2026-07 in 458ms
  18. 3.65 s Progress: 1 of 5 built, 2 of 3 downloaded from cache (1 downloading)
  19. 3.65 s Built clippy-stable-with-std-2026-07 in 870ms
  20. 4.24 s Downloaded cached llvm-tools-preview-stable-2026-07 (201.8 MiB) in 2.0s
  21. 4.24 s Progress: 1 of 4 built, 3 of 3 downloaded from cache
  22. 4.27 s Building /nix/store/qgjs9pnh25i6xlw7f78s5yqb5p0mama9-rust-stable-with-components-2026-07-09.drv
  23. 4.31 s [rust-stable-with-components-2026-07] /nix/store/imnwv6nazijihjlgf2h3l1qm63m7l9wk-rust-stable-with-std-2026-07-09/lib:
  24. 4.31 s [rust-stable-with-components-2026-07] librustc_driver-a39fc8bf9e61dbb9.so: Keeping existing link to /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09/lib/librustc_driver-a39fc8bf9e61dbb9.so
  25. 4.31 s [rust-stable-with-components-2026-07] /nix/store/imnwv6nazijihjlgf2h3l1qm63m7l9wk-rust-stable-with-std-2026-07-09/bin:
  26. 4.31 s [rust-stable-with-components-2026-07] rust-gdbgui: Keeping existing link to /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09/bin/rust-gdbgui
  27. 4.31 s [rust-stable-with-components-2026-07] rustdoc: Keeping existing link to /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09/bin/rustdoc
  28. 4.31 s [rust-stable-with-components-2026-07] rust-lldb: Keeping existing link to /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09/bin/rust-lldb
  29. 4.31 s [rust-stable-with-components-2026-07] rustc: Keeping existing link to /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09/bin/rustc
  30. 4.31 s [rust-stable-with-components-2026-07] rust-gdb: Keeping existing link to /nix/store/r4bjy93lvnfma1awpi480n2mz3af0adx-clippy-stable-with-std-2026-07-09/bin/rust-gdb
  31. 4.83 s [rust-stable-with-components-2026-07:post-build] Uploading to the NixCI cache: /nix/store/9pb4ikjdw4gp766ayxl6gg3b7hqm6ds4-rust-stable-with-components-2026-07-09
  32. 4.87 s [rust-stable-with-components-2026-07:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  33. 5.00 s [rust-stable-with-components-2026-07:post-build] copying 0 paths...
  34. 5.06 s [rust-stable-with-components-2026-07:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  35. 5.10 s [rust-stable-with-components-2026-07:post-build] copying 0 paths...
  36. 5.11 s Uploaded rust-stable-with-components-2026-07 in 298ms
  37. 5.11 s Progress: 2 of 4 built, 3 of 3 downloaded from cache
  38. 5.11 s Built rust-stable-with-components-2026-07 in 843ms
  39. 5.19 s Building /nix/store/6b6gf98azafhqwklb8h1i6i7har8d5vr-gammaloop-workspace-fmt-0.1.0.drv
  40. 5.20 s [gammaloop-workspace-fmt] cargoVendorDir not set, will not automatically configure vendored sources
  41. 5.20 s [gammaloop-workspace-fmt] cargoArtifacts not set, will not reuse any cargo artifacts
  42. 5.28 s [gammaloop-workspace-fmt] Phase: unpackPhase
  43. 5.28 s [gammaloop-workspace-fmt] unpacking source archive /nix/store/ng18v6zzm4plh2jsjckvnk1ldjbnj37z-source
  44. 5.33 s [gammaloop-workspace-fmt] source root is source
  45. 5.35 s [gammaloop-workspace-fmt] Phase: patchPhase
  46. 5.35 s [gammaloop-workspace-fmt] Executing configureCargoCommonVars
  47. 5.35 s [gammaloop-workspace-fmt] Phase: updateAutotoolsGnuConfigScriptsPhase
  48. 5.37 s [gammaloop-workspace-fmt] Phase: configurePhase
  49. 5.37 s [gammaloop-workspace-fmt] default configurePhase, nothing to do
  50. 5.37 s [gammaloop-workspace-fmt] Phase: buildPhase
  51. 5.37 s [gammaloop-workspace-fmt] +++ command cargo --version
  52. 5.38 s [gammaloop-workspace-fmt] cargo 1.97.0 (c980f4866 2026-06-30)
  53. 5.38 s [gammaloop-workspace-fmt] +++ command cargo fmt -- --check
  54. 5.57 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammaloop-api/src/integrand_info.rs:1:
  55. 5.57 s [gammaloop-workspace-fmt] use std::fmt;
  56. 5.57 s [gammaloop-workspace-fmt]
  57. 5.57 s [gammaloop-workspace-fmt] use color_eyre::Result;
  58. 5.57 s [gammaloop-workspace-fmt] -use eyre::{Context, eyre};
  59. 5.57 s [gammaloop-workspace-fmt] +use eyre::{eyre, Context};
  60. 5.57 s [gammaloop-workspace-fmt] use gammalooprs::{
  61. 5.57 s [gammaloop-workspace-fmt] - DependentMomentaConstructor,
  62. 5.57 s [gammaloop-workspace-fmt] cff::esurface::EsurfaceExistenceStatus,
  63. 5.57 s [gammaloop-workspace-fmt] - graph::{FeynmanGraph, Graph, threshold_counterterms::ThresholdCountertermVariant},
  64. 5.57 s [gammaloop-workspace-fmt] + graph::{threshold_counterterms::ThresholdCountertermVariant, FeynmanGraph, Graph},
  65. 5.57 s [gammaloop-workspace-fmt] integrands::process::{ActiveF64Backend, LmbMultiChannelingSetup, ParamBuilder},
  66. 5.57 s [gammaloop-workspace-fmt] model::Model,
  67. 5.57 s [gammaloop-workspace-fmt] processes::{
  68. 5.57 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammaloop-api/src/integrand_info.rs:13:
  69. 5.57 s [gammaloop-workspace-fmt] ThresholdCountertermAssociation, ThresholdCountertermMetadataRegistry,
  70. 5.57 s [gammaloop-workspace-fmt] ThresholdCountertermMultiplierMetadata, ThresholdCountertermStatus,
  71. 5.57 s [gammaloop-workspace-fmt] },
  72. 5.57 s [gammaloop-workspace-fmt] - settings::{RuntimeSettings, global::FrozenCompilationMode, runtime::ParameterizationSettings},
  73. 5.57 s [gammaloop-workspace-fmt] + settings::{global::FrozenCompilationMode, runtime::ParameterizationSettings, RuntimeSettings},
  74. 5.57 s [gammaloop-workspace-fmt] utils::F,
  75. 5.57 s [gammaloop-workspace-fmt] + DependentMomentaConstructor,
  76. 5.57 s [gammaloop-workspace-fmt] };
  77. 5.57 s [gammaloop-workspace-fmt] use linnet::half_edge::involution::{EdgeVec, Orientation};
  78. 5.57 s [gammaloop-workspace-fmt] use schemars::JsonSchema;
  79. 7.15 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1678:
  80. 7.22 s [gammaloop-workspace-fmt] &subspaces[esurface_id.0]
  81. 7.22 s [gammaloop-workspace-fmt] })
  82. 7.22 s [gammaloop-workspace-fmt] };
  83. 7.22 s [gammaloop-workspace-fmt] - let mut partitions =
  84. 7.22 s [gammaloop-workspace-fmt] - BTreeMap::<(Option<usize>, LmbIndex), Vec<EsurfaceID>>::new();
  85. 7.22 s [gammaloop-workspace-fmt] + let mut partitions = BTreeMap::<(Option<usize>, LmbIndex), Vec<EsurfaceID>>::new();
  86. 7.22 s [gammaloop-workspace-fmt] for &esurface_id in existing_esurfaces {
  87. 7.22 s [gammaloop-workspace-fmt] partitions
  88. 7.22 s [gammaloop-workspace-fmt] .entry((
  89. 7.22 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1719:
  90. 7.22 s [gammaloop-workspace-fmt] usize::from(parent_lmb_index),
  91. 7.22 s [gammaloop-workspace-fmt] )
  92. 7.22 s [gammaloop-workspace-fmt] })?;
  93. 7.22 s [gammaloop-workspace-fmt] - let partition_threshold_subspaces = overlap_input.threshold_subspaces.map(|subspaces| {
  94. 7.22 s [gammaloop-workspace-fmt] - subspaces
  95. 7.22 s [gammaloop-workspace-fmt] - .iter()
  96. 7.22 s [gammaloop-workspace-fmt] - .enumerate()
  97. 7.22 s [gammaloop-workspace-fmt] - .map(|(index, subspace)| {
  98. 7.22 s [gammaloop-workspace-fmt] - if partition_esurfaces.contains(&EsurfaceID::from(index)) {
  99. 7.22 s [gammaloop-workspace-fmt] - subspace.clone()
  100. 7.22 s [gammaloop-workspace-fmt] - } else {
  101. 7.22 s [gammaloop-workspace-fmt] - partition_subspace.clone()
  102. 7.22 s [gammaloop-workspace-fmt] - }
  103. 7.22 s [gammaloop-workspace-fmt] - })
  104. 7.22 s [gammaloop-workspace-fmt] - .collect_vec()
  105. 7.22 s [gammaloop-workspace-fmt] - });
  106. 7.22 s [gammaloop-workspace-fmt] + let partition_threshold_subspaces =
  107. 7.22 s [gammaloop-workspace-fmt] + overlap_input.threshold_subspaces.map(|subspaces| {
  108. 7.22 s [gammaloop-workspace-fmt] + subspaces
  109. 7.22 s [gammaloop-workspace-fmt] + .iter()
  110. 7.22 s [gammaloop-workspace-fmt] + .enumerate()
  111. 7.22 s [gammaloop-workspace-fmt] + .map(|(index, subspace)| {
  112. 7.22 s [gammaloop-workspace-fmt] + if partition_esurfaces.contains(&EsurfaceID::from(index)) {
  113. 7.22 s [gammaloop-workspace-fmt] + subspace.clone()
  114. 7.22 s [gammaloop-workspace-fmt] + } else {
  115. 7.22 s [gammaloop-workspace-fmt] + partition_subspace.clone()
  116. 7.22 s [gammaloop-workspace-fmt] + }
  117. 7.22 s [gammaloop-workspace-fmt] + })
  118. 7.22 s [gammaloop-workspace-fmt] + .collect_vec()
  119. 7.22 s [gammaloop-workspace-fmt] + });
  120. 7.22 s [gammaloop-workspace-fmt] let partition_input = OverlapInput {
  121. 7.22 s [gammaloop-workspace-fmt] graph: overlap_input.graph,
  122. 7.22 s [gammaloop-workspace-fmt] settings: overlap_input.settings,
  123. 7.22 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1954:
  124. 7.22 s [gammaloop-workspace-fmt] if loop_moms_by_parent.contains_key(&parent_lmb_index) {
  125. 7.22 s [gammaloop-workspace-fmt] continue;
  126. 7.22 s [gammaloop-workspace-fmt] }
  127. 7.22 s [gammaloop-workspace-fmt] - let transformed = kinematic_point.lmb_transform(
  128. 7.22 s [gammaloop-workspace-fmt] - &graph.loop_momentum_basis,
  129. 7.22 s [gammaloop-workspace-fmt] - subspace.get_lmb(all_lmbs),
  130. 7.22 s [gammaloop-workspace-fmt] - );
  131. 7.22 s [gammaloop-workspace-fmt] + let transformed = kinematic_point
  132. 7.22 s [gammaloop-workspace-fmt] + .lmb_transform(&graph.loop_momentum_basis, subspace.get_lmb(all_lmbs));
  133. 7.22 s [gammaloop-workspace-fmt] loop_moms_by_parent.insert(
  134. 7.22 s [gammaloop-workspace-fmt] parent_lmb_index,
  135. 7.22 s [gammaloop-workspace-fmt] transformed.representative_sample().loop_moms().clone(),
  136. 7.22 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1974:
  137. 7.22 s [gammaloop-workspace-fmt] .collect::<BTreeMap<_, _>>();
  138. 7.22 s [gammaloop-workspace-fmt]
  139. 7.22 s [gammaloop-workspace-fmt] let masses_f64: EdgeVec<F<f64>> = masses.iter().map(|(_, m)| F(m.to_f64())).collect();
  140. 7.22 s [gammaloop-workspace-fmt] - let sample_left_transformed_f64 = &loop_moms_f64_by_parent
  141. 7.22 s [gammaloop-workspace-fmt] - [&left_subspace.parent_lmb_index()];
  142. 7.22 s [gammaloop-workspace-fmt] - let sample_right_transformed_f64 = &loop_moms_f64_by_parent
  143. 7.22 s [gammaloop-workspace-fmt] - [&right_subspace.parent_lmb_index()];
  144. 7.22 s [gammaloop-workspace-fmt] + let sample_left_transformed_f64 =
  145. 7.22 s [gammaloop-workspace-fmt] + &loop_moms_f64_by_parent[&left_subspace.parent_lmb_index()];
  146. 7.22 s [gammaloop-workspace-fmt] + let sample_right_transformed_f64 =
  147. 7.22 s [gammaloop-workspace-fmt] + &loop_moms_f64_by_parent[&right_subspace.parent_lmb_index()];
  148. 7.22 s [gammaloop-workspace-fmt] let external_moms_f64 = kinematic_point
  149. 7.22 s [gammaloop-workspace-fmt] .representative_sample()
  150. 7.22 s [gammaloop-workspace-fmt] .external_moms()
  151. 7.22 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:2097:
  152. 7.22 s [gammaloop-workspace-fmt] threshold_subspaces: right_threshold_subspaces,
  153. 7.22 s [gammaloop-workspace-fmt] };
  154. 7.22 s [gammaloop-workspace-fmt]
  155. 7.22 s [gammaloop-workspace-fmt] - let left_overlap_result =
  156. 7.22 s [gammaloop-workspace-fmt] - if variant_subspaces.is_some() {
  157. 7.22 s [gammaloop-workspace-fmt] - Self::overlap_with_center_partitions(
  158. 7.22 s [gammaloop-workspace-fmt] - &left_overlap_input,
  159. 7.22 s [gammaloop-workspace-fmt] - &left_existing_esurfaces,
  160. 7.22 s [gammaloop-workspace-fmt] - left_center_groups.unwrap(),
  161. 7.22 s [gammaloop-workspace-fmt] - left_runtime_variant_ids.unwrap(),
  162. 7.22 s [gammaloop-workspace-fmt] - shared_overlaps,
  163. 7.22 s [gammaloop-workspace-fmt] - &loop_moms_f64_by_parent,
  164. 7.22 s [gammaloop-workspace-fmt] - &external_moms_f64,
  165. 7.22 s [gammaloop-workspace-fmt] - probe_rotation,
  166. 7.22 s [gammaloop-workspace-fmt] - )
  167. 7.22 s [gammaloop-workspace-fmt] - } else {
  168. 7.22 s [gammaloop-workspace-fmt] - overlap_subspace::find_maximal_overlap(
  169. 7.22 s [gammaloop-workspace-fmt] - &left_overlap_input,
  170. 7.22 s [gammaloop-workspace-fmt] - &left_existing_esurfaces,
  171. 7.22 s [gammaloop-workspace-fmt] - sample_left_transformed_f64,
  172. 7.22 s [gammaloop-workspace-fmt] - &external_moms_f64,
  173. 7.22 s [gammaloop-workspace-fmt] - probe_rotation,
  174. 7.22 s [gammaloop-workspace-fmt] - )
  175. 7.22 s [gammaloop-workspace-fmt] - };
  176. 7.22 s [gammaloop-workspace-fmt] + let left_overlap_result = if variant_subspaces.is_some() {
  177. 7.22 s [gammaloop-workspace-fmt] + Self::overlap_with_center_partitions(
  178. 7.22 s [gammaloop-workspace-fmt] + &left_overlap_input,
  179. 7.22 s [gammaloop-workspace-fmt] + &left_existing_esurfaces,
  180. 7.22 s [gammaloop-workspace-fmt] + left_center_groups.unwrap(),
  181. 7.22 s [gammaloop-workspace-fmt] + left_runtime_variant_ids.unwrap(),
  182. 7.22 s [gammaloop-workspace-fmt] + shared_overlaps,
  183. 7.22 s [gammaloop-workspace-fmt] + &loop_moms_f64_by_parent,
  184. 7.22 s [gammaloop-workspace-fmt] + &external_moms_f64,
  185. 7.22 s [gammaloop-workspace-fmt] + probe_rotation,
  186. 7.22 s [gammaloop-workspace-fmt] + )
  187. 7.22 s [gammaloop-workspace-fmt] + } else {
  188. 7.22 s [gammaloop-workspace-fmt] + overlap_subspace::find_maximal_overlap(
  189. 7.22 s [gammaloop-workspace-fmt] + &left_overlap_input,
  190. 7.22 s [gammaloop-workspace-fmt] + &left_existing_esurfaces,
  191. 7.22 s [gammaloop-workspace-fmt] + sample_left_transformed_f64,
  192. 7.22 s [gammaloop-workspace-fmt] + &external_moms_f64,
  193. 7.22 s [gammaloop-workspace-fmt] + probe_rotation,
  194. 7.22 s [gammaloop-workspace-fmt] + )
  195. 7.22 s [gammaloop-workspace-fmt] + };
  196. 7.22 s [gammaloop-workspace-fmt] let left_overlap = match left_overlap_result {
  197. 7.22 s [gammaloop-workspace-fmt] Ok(left_overlap) => left_overlap,
  198. 7.22 s [gammaloop-workspace-fmt] Err(error) => {
  199. 7.22 s [gammaloop-workspace-fmt] Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:2135:
  200. 7.22 s [gammaloop-workspace-fmt] }
  201. 7.22 s [gammaloop-workspace-fmt] };
  202. 7.22 s [gammaloop-workspace-fmt]
  203. 7.22 s [gammaloop-workspace-fmt] - let right_overlap_result =
  204. 7.22 s [gammaloop-workspace-fmt] - if variant_subspaces.is_some() {
  205. 7.22 s [gammaloop-workspace-fmt] - Self::overlap_with_center_partitions(
  206. 7.22 s [gammaloop-workspace-fmt] - &right_overlap_input,
  207. 7.22 s [gammaloop-workspace-fmt] - &right_existing_esurfaces,
  208. 7.22 s [gammaloop-workspace-fmt] - right_center_groups.unwrap(),
  209. 7.22 s [gammaloop-workspace-fmt] - right_runtime_variant_ids.unwrap(),
  210. 7.22 s [gammaloop-workspace-fmt] - shared_overlaps,
  211. 7.22 s [gammaloop-workspace-fmt] - &loop_moms_f64_by_parent,
  212. 7.22 s [gammaloop-workspace-fmt] - &external_moms_f64,
  213. 7.22 s [gammaloop-workspace-fmt] - probe_rotation,
  214. 7.22 s [gammaloop-workspace-fmt] - )
  215. 7.22 s [gammaloop-workspace-fmt] - } else {
  216. 7.22 s [gammaloop-workspace-fmt] - overlap_subspace::find_maximal_overlap(
  217. 7.22 s [gammaloop-workspace-fmt] - &right_overlap_input,
  218. 7.22 s [gammaloop-workspace-fmt] - &right_existing_esurfaces,
  219. 7.22 s [gammaloop-workspace-fmt] - sample_right_transformed_f64,
  220. 7.22 s [gammaloop-workspace-fmt] - &external_moms_f64,
  221. 7.22 s [gammaloop-workspace-fmt] - probe_rotation,
  222. 7.22 s [gammaloop-workspace-fmt] - )
  223. 7.22 s [gammaloop-workspace-fmt] - };
  224. 7.22 s [gammaloop-workspace-fmt] + let right_overlap_result = if variant_subspaces.is_some() {
  225. 7.22 s [gammaloop-workspace-fmt] + Self::overlap_with_center_partitions(
  226. 7.22 s [gammaloop-workspace-fmt] + &right_overlap_input,
  227. 7.22 s [gammaloop-workspace-fmt] + &right_existing_esurfaces,
  228. 7.22 s [gammaloop-workspace-fmt] + right_center_groups.unwrap(),
  229. 7.22 s [gammaloop-workspace-fmt] + right_runtime_variant_ids.unwrap(),
  230. 7.22 s [gammaloop-workspace-fmt] + shared_overlaps,
  231. 7.22 s [gammaloop-workspace-fmt] + &loop_moms_f64_by_parent,
  232. 7.22 s [gammaloop-workspace-fmt] + &external_moms_f64,
  233. 7.22 s [gammaloop-workspace-fmt] + probe_rotation,
  234. 7.22 s [gammaloop-workspace-fmt] + )
  235. 7.22 s [gammaloop-workspace-fmt] + } else {
  236. 7.22 s [gammaloop-workspace-fmt] + overlap_subspace::find_maximal_overlap(
  237. 7.22 s [gammaloop-workspace-fmt] + &right_overlap_input,
  238. 7.22 s [gammaloop-workspace-fmt] + &right_existing_esurfaces,
  239. 7.22 s [gammaloop-workspace-fmt] + sample_right_transformed_f64,
  240. 7.22 s [gammaloop-workspace-fmt] + &external_moms_f64,
  241. 7.22 s [gammaloop-workspace-fmt] + probe_rotation,
  242. 7.22 s [gammaloop-workspace-fmt] + )
  243. 7.22 s [gammaloop-workspace-fmt] + };
  244. 7.22 s [gammaloop-workspace-fmt] let right_overlap = match right_overlap_result {
  245. 7.22 s [gammaloop-workspace-fmt] Ok(right_overlap) => right_overlap,
  246. 7.22 s [gammaloop-workspace-fmt] Err(error) => {
  247. 8.31 s Progress: 2 of 3 built (1 failed), 3 of 3 downloaded from cache
  248. 8.31 s Failed to build gammaloop-workspace-fmt after 3.1s
  249. 8.31 s Cannot build '/nix/store/6b6gf98azafhqwklb8h1i6i7har8d5vr-gammaloop-workspace-fmt-0.1.0.drv'.
  250. 8.31 s Reason: builder failed with exit code 1.
  251. 8.31 s Output paths:
  252. 8.31 s /nix/store/6aiqf7g51z8km72q1w9kb3blb7wcfsha-gammaloop-workspace-fmt-0.1.0
  253. 8.31 s Last 207 log lines:
  254. 8.31 s > cargoVendorDir not set, will not automatically configure vendored sources
  255. 8.31 s > cargoArtifacts not set, will not reuse any cargo artifacts
  256. 8.31 s > Running phase: unpackPhase
  257. 8.31 s > unpacking source archive /nix/store/ng18v6zzm4plh2jsjckvnk1ldjbnj37z-source
  258. 8.31 s > source root is source
  259. 8.31 s > Running phase: patchPhase
  260. 8.31 s > Executing configureCargoCommonVars
  261. 8.31 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  262. 8.31 s > Running phase: configurePhase
  263. 8.31 s > default configurePhase, nothing to do
  264. 8.31 s > Running phase: buildPhase
  265. 8.31 s > +++ command cargo --version
  266. 8.31 s > cargo 1.97.0 (c980f4866 2026-06-30)
  267. 8.31 s > +++ command cargo fmt -- --check
  268. 8.31 s > Diff in /build/source/crates/gammaloop-api/src/integrand_info.rs:1:
  269. 8.31 s > use std::fmt;
  270. 8.31 s >
  271. 8.31 s > use color_eyre::Result;
  272. 8.31 s > -use eyre::{Context, eyre};
  273. 8.31 s > +use eyre::{eyre, Context};
  274. 8.31 s > use gammalooprs::{
  275. 8.31 s > - DependentMomentaConstructor,
  276. 8.31 s > cff::esurface::EsurfaceExistenceStatus,
  277. 8.31 s > - graph::{FeynmanGraph, Graph, threshold_counterterms::ThresholdCountertermVariant},
  278. 8.31 s > + graph::{threshold_counterterms::ThresholdCountertermVariant, FeynmanGraph, Graph},
  279. 8.31 s > integrands::process::{ActiveF64Backend, LmbMultiChannelingSetup, ParamBuilder},
  280. 8.31 s > model::Model,
  281. 8.31 s > processes::{
  282. 8.31 s > Diff in /build/source/crates/gammaloop-api/src/integrand_info.rs:13:
  283. 8.31 s > ThresholdCountertermAssociation, ThresholdCountertermMetadataRegistry,
  284. 8.31 s > ThresholdCountertermMultiplierMetadata, ThresholdCountertermStatus,
  285. 8.31 s > },
  286. 8.31 s > - settings::{RuntimeSettings, global::FrozenCompilationMode, runtime::ParameterizationSettings},
  287. 8.31 s > + settings::{global::FrozenCompilationMode, runtime::ParameterizationSettings, RuntimeSettings},
  288. 8.31 s > utils::F,
  289. 8.31 s > + DependentMomentaConstructor,
  290. 8.31 s > };
  291. 8.31 s > use linnet::half_edge::involution::{EdgeVec, Orientation};
  292. 8.31 s > use schemars::JsonSchema;
  293. 8.31 s > Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1678:
  294. 8.31 s > &subspaces[esurface_id.0]
  295. 8.31 s > })
  296. 8.31 s > };
  297. 8.31 s > - let mut partitions =
  298. 8.31 s > - BTreeMap::<(Option<usize>, LmbIndex), Vec<EsurfaceID>>::new();
  299. 8.31 s > + let mut partitions = BTreeMap::<(Option<usize>, LmbIndex), Vec<EsurfaceID>>::new();
  300. 8.31 s > for &esurface_id in existing_esurfaces {
  301. 8.31 s > partitions
  302. 8.31 s > .entry((
  303. 8.31 s > Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1719:
  304. 8.31 s > usize::from(parent_lmb_index),
  305. 8.31 s > )
  306. 8.31 s > })?;
  307. 8.31 s > - let partition_threshold_subspaces = overlap_input.threshold_subspaces.map(|subspaces| {
  308. 8.31 s > - subspaces
  309. 8.31 s > - .iter()
  310. 8.31 s > - .enumerate()
  311. 8.31 s > - .map(|(index, subspace)| {
  312. 8.31 s > - if partition_esurfaces.contains(&EsurfaceID::from(index)) {
  313. 8.31 s > - subspace.clone()
  314. 8.31 s > - } else {
  315. 8.31 s > - partition_subspace.clone()
  316. 8.31 s > - }
  317. 8.31 s > - })
  318. 8.31 s > - .collect_vec()
  319. 8.31 s > - });
  320. 8.31 s > + let partition_threshold_subspaces =
  321. 8.31 s > + overlap_input.threshold_subspaces.map(|subspaces| {
  322. 8.31 s > + subspaces
  323. 8.31 s > + .iter()
  324. 8.31 s > + .enumerate()
  325. 8.31 s > + .map(|(index, subspace)| {
  326. 8.31 s > + if partition_esurfaces.contains(&EsurfaceID::from(index)) {
  327. 8.31 s > + subspace.clone()
  328. 8.31 s > + } else {
  329. 8.31 s > + partition_subspace.clone()
  330. 8.31 s > + }
  331. 8.31 s > + })
  332. 8.31 s > + .collect_vec()
  333. 8.31 s > + });
  334. 8.31 s > let partition_input = OverlapInput {
  335. 8.31 s > graph: overlap_input.graph,
  336. 8.31 s > settings: overlap_input.settings,
  337. 8.31 s > Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1954:
  338. 8.31 s > if loop_moms_by_parent.contains_key(&parent_lmb_index) {
  339. 8.31 s > continue;
  340. 8.31 s > }
  341. 8.31 s > - let transformed = kinematic_point.lmb_transform(
  342. 8.31 s > - &graph.loop_momentum_basis,
  343. 8.31 s > - subspace.get_lmb(all_lmbs),
  344. 8.31 s > - );
  345. 8.31 s > + let transformed = kinematic_point
  346. 8.31 s > + .lmb_transform(&graph.loop_momentum_basis, subspace.get_lmb(all_lmbs));
  347. 8.31 s > loop_moms_by_parent.insert(
  348. 8.31 s > parent_lmb_index,
  349. 8.31 s > transformed.representative_sample().loop_moms().clone(),
  350. 8.31 s > Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:1974:
  351. 8.31 s > .collect::<BTreeMap<_, _>>();
  352. 8.31 s >
  353. 8.31 s > let masses_f64: EdgeVec<F<f64>> = masses.iter().map(|(_, m)| F(m.to_f64())).collect();
  354. 8.31 s > - let sample_left_transformed_f64 = &loop_moms_f64_by_parent
  355. 8.31 s > - [&left_subspace.parent_lmb_index()];
  356. 8.31 s > - let sample_right_transformed_f64 = &loop_moms_f64_by_parent
  357. 8.31 s > - [&right_subspace.parent_lmb_index()];
  358. 8.31 s > + let sample_left_transformed_f64 =
  359. 8.31 s > + &loop_moms_f64_by_parent[&left_subspace.parent_lmb_index()];
  360. 8.31 s > + let sample_right_transformed_f64 =
  361. 8.31 s > + &loop_moms_f64_by_parent[&right_subspace.parent_lmb_index()];
  362. 8.31 s > let external_moms_f64 = kinematic_point
  363. 8.31 s > .representative_sample()
  364. 8.31 s > .external_moms()
  365. 8.31 s > Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:2097:
  366. 8.31 s > threshold_subspaces: right_threshold_subspaces,
  367. 8.31 s > };
  368. 8.31 s >
  369. 8.31 s > - let left_overlap_result =
  370. 8.31 s > - if variant_subspaces.is_some() {
  371. 8.31 s > - Self::overlap_with_center_partitions(
  372. 8.31 s > - &left_overlap_input,
  373. 8.31 s > - &left_existing_esurfaces,
  374. 8.31 s > - left_center_groups.unwrap(),
  375. 8.31 s > - left_runtime_variant_ids.unwrap(),
  376. 8.31 s > - shared_overlaps,
  377. 8.31 s > - &loop_moms_f64_by_parent,
  378. 8.31 s > - &external_moms_f64,
  379. 8.31 s > - probe_rotation,
  380. 8.31 s > - )
  381. 8.31 s > - } else {
  382. 8.31 s > - overlap_subspace::find_maximal_overlap(
  383. 8.31 s > - &left_overlap_input,
  384. 8.31 s > - &left_existing_esurfaces,
  385. 8.31 s > - sample_left_transformed_f64,
  386. 8.31 s > - &external_moms_f64,
  387. 8.31 s > - probe_rotation,
  388. 8.31 s > - )
  389. 8.31 s > - };
  390. 8.31 s > + let left_overlap_result = if variant_subspaces.is_some() {
  391. 8.31 s > + Self::overlap_with_center_partitions(
  392. 8.31 s > + &left_overlap_input,
  393. 8.31 s > + &left_existing_esurfaces,
  394. 8.31 s > + left_center_groups.unwrap(),
  395. 8.31 s > + left_runtime_variant_ids.unwrap(),
  396. 8.31 s > + shared_overlaps,
  397. 8.31 s > + &loop_moms_f64_by_parent,
  398. 8.31 s > + &external_moms_f64,
  399. 8.31 s > + probe_rotation,
  400. 8.31 s > + )
  401. 8.31 s > + } else {
  402. 8.31 s > + overlap_subspace::find_maximal_overlap(
  403. 8.31 s > + &left_overlap_input,
  404. 8.31 s > + &left_existing_esurfaces,
  405. 8.31 s > + sample_left_transformed_f64,
  406. 8.31 s > + &external_moms_f64,
  407. 8.31 s > + probe_rotation,
  408. 8.31 s > + )
  409. 8.31 s > + };
  410. 8.31 s > let left_overlap = match left_overlap_result {
  411. 8.31 s > Ok(left_overlap) => left_overlap,
  412. 8.31 s > Err(error) => {
  413. 8.31 s > Diff in /build/source/crates/gammalooprs/src/subtraction/lu_counterterm.rs:2135:
  414. 8.31 s > }
  415. 8.31 s > };
  416. 8.31 s >
  417. 8.31 s > - let right_overlap_result =
  418. 8.31 s > - if variant_subspaces.is_some() {
  419. 8.31 s > - Self::overlap_with_center_partitions(
  420. 8.31 s > - &right_overlap_input,
  421. 8.31 s > - &right_existing_esurfaces,
  422. 8.31 s > - right_center_groups.unwrap(),
  423. 8.31 s > - right_runtime_variant_ids.unwrap(),
  424. 8.31 s > - shared_overlaps,
  425. 8.31 s > - &loop_moms_f64_by_parent,
  426. 8.31 s > - &external_moms_f64,
  427. 8.31 s > - probe_rotation,
  428. 8.31 s > - )
  429. 8.31 s > - } else {
  430. 8.31 s > - overlap_subspace::find_maximal_overlap(
  431. 8.31 s > - &right_overlap_input,
  432. 8.31 s > - &right_existing_esurfaces,
  433. 8.31 s > - sample_right_transformed_f64,
  434. 8.31 s > - &external_moms_f64,
  435. 8.31 s > - probe_rotation,
  436. 8.31 s > - )
  437. 8.31 s > - };
  438. 8.31 s > + let right_overlap_result = if variant_subspaces.is_some() {
  439. 8.31 s > + Self::overlap_with_center_partitions(
  440. 8.31 s > + &right_overlap_input,
  441. 8.31 s > + &right_existing_esurfaces,
  442. 8.31 s > + right_center_groups.unwrap(),
  443. 8.31 s > + right_runtime_variant_ids.unwrap(),
  444. 8.31 s > + shared_overlaps,
  445. 8.31 s > + &loop_moms_f64_by_parent,
  446. 8.31 s > + &external_moms_f64,
  447. 8.31 s > + probe_rotation,
  448. 8.31 s > + )
  449. 8.31 s > + } else {
  450. 8.31 s > + overlap_subspace::find_maximal_overlap(
  451. 8.31 s > + &right_overlap_input,
  452. 8.31 s > + &right_existing_esurfaces,
  453. 8.31 s > + sample_right_transformed_f64,
  454. 8.31 s > + &external_moms_f64,
  455. 8.31 s > + probe_rotation,
  456. 8.31 s > + )
  457. 8.31 s > + };
  458. 8.31 s > let right_overlap = match right_overlap_result {
  459. 8.31 s > Ok(right_overlap) => right_overlap,
  460. 8.31 s > Err(error) => {
  461. 8.31 s For full logs, run:
  462. 8.31 s nix log /nix/store/6b6gf98azafhqwklb8h1i6i7har8d5vr-gammaloop-workspace-fmt-0.1.0.drv
  463. 8.33 s Build failed.