• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 16000541970
88%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2025 01:52PM UTC
Jobs 1
Files 829
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2025 12:56PM UTC coverage: 87.735% (+0.05%) from 87.69%
16000541970

push

github

web-flow
Fix future clippy issues (#14461)

* Fix future clippy issues

This commit fixes some issues the clippy on nightly has identified as
issues in the code. These will all become CI failures at some future
date (after we raise the MSRV to match the current rules nightly is
adding). However, most of the changes are good improvements and in this
case most are code style issues that make things a bit more concise. The
bulk of the changes here are just moving to use captured identifiers in
format strings.

* Update new qasm3 code too

* Fix new issues introduced in new commits

* Remove unneeded return statements

* Make lifetime syntaxes consistent

A new nightly rule was added to ensure that lifetime syntaxes are
matched in function signatures. In many cases we were excluding the
elided anonymous lifetime parameter being returned in the source which
clippy asserts is potentially confusing. This commit adds the explicit
anonymous paramter to these places to fix the warning.

* Fix rust tests too

129 of 244 new or added lines in 46 files covered. (52.87%)

4 existing lines in 3 files now uncovered.

80981 of 92302 relevant lines covered (87.73%)

505076.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.18
0.0% crates/accelerate/src/optimize_1q_gates.rs
1
88.97
0.0% crates/circuit/src/circuit_instruction.rs
1
82.48
-0.25% crates/circuit/src/object_registry.rs
1
86.87
0.05% crates/circuit/src/operations.rs
1
77.24
0.0% crates/circuit/src/register_data.rs
1
79.44
0.0% crates/circuit/src/symbol_parser.rs
1
76.67
0.63% crates/quantum_info/src/unitary_compose.rs
1
72.5
0.0% crates/synthesis/src/clifford/utils.rs
1
92.53
0.53% crates/synthesis/src/linear/utils.rs
1
79.26
-0.05% crates/transpiler/src/equivalence.rs
1
89.88
0.53% crates/transpiler/src/passes/commutation_cancellation.rs
2
91.45
0.0% crates/circuit/src/classical/expr/expr.rs
2
76.46
0.0% crates/circuit/src/rustworkx_core_vnext.rs
2
61.73
0.0% crates/qasm3/src/lib.rs
2
89.73
-0.01% crates/quantum_info/src/pauli_lindblad_map/qubit_sparse_pauli.rs
2
94.02
-0.0% crates/quantum_info/src/sparse_observable/mod.rs
2
82.56
0.0% crates/synthesis/src/discrete_basis/math.rs
2
84.99
0.18% crates/transpiler/src/target/mod.rs
3
37.74
0.0% crates/qasm3/src/ast.rs
3
90.53
0.0% crates/synthesis/src/two_qubit_decompose.rs
4
91.42
0.0% crates/circuit/src/circuit_data.rs
4
0.0
0.0% crates/circuit/src/dot_utils.rs
4
79.31
0.0% crates/circuit/src/duration.rs
4
94.9
0.0% crates/circuit/src/slice.rs
5
72.0
0.78% crates/qasm3/src/build.rs
5
57.68
0.0% crates/qasm3/src/printer.rs
10
73.3
0.65% crates/qasm3/src/exporter.rs
11
73.48
2.68% crates/qasm3/src/expr.rs
18
85.55
0.21% crates/circuit/src/dag_circuit.rs
19
73.98
-0.04% crates/circuit/src/symbol_expr.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.98
-0.04% crates/circuit/src/symbol_expr.rs
1
93.63
-0.29% crates/qasm2/src/expr.rs
2
92.27
0.77% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 16000541970.1 01 Jul 2025 01:52PM UTC 829
87.73
GitHub Action Run
Source Files on build 16000541970
  • Tree
  • List 829
  • Changed 46
  • Source Changed 46
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16000541970
  • 9aee4005 on github
  • Prev Build on gh-readonly-queue/main/pr-14675-835325167ee3e47ffbfe998f47868ffaefc71cba (#15925372786)
  • Next Build on main (#16024189427)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc