#425·evcxr

Frequent but intermittent integration test errors in COPR CI

Author: cyqsimonCreated Sep 24, 2025Updated Aug 16, 2026

In my COPR build of evcxr-repl, I've noticed intermittent but repeated failures of the two integration tests statement_and_expression and save_and_restore_variables. The failures happen randomly on all my chroots, namely EL{8,9,10}-{x86_64,aarch64}.

Error of statement_and_expression:

Couldn't automatically determine type of variable `a`.
Please give it an explicit type.

thread 'statement_and_expression' panicked at evcxr/tests/integration_tests.rs:553:9:
Unexpected compilation error. See above for details

Error of save_and_restore_variables:

error[E0658]: the `!` type is experimental
   --> src/lib.rs:122:37
    |
122 | evcxr_variable_store.put_variable::<!>(stringify!(v1), v1);
    |                                     ^
    |
    = note: see issue #35121 <https://github.com/rust-lang/rust/issues/35121> for more information


error[E0308]: mismatched types
   --> src/lib.rs:122:56
    |
122 | evcxr_variable_store.put_variable::<!>(stringify!(v1), v1);
    |                      -----------------                 ^^ expected `!`, found `Option<Baz>`
    |                      |
    |                      arguments to this method are incorrect
    |
    = note: expected type `!`
               found enum `Option<Baz>`
note: method defined here
   --> src/lib.rs:51:12
    |
 51 |     pub fn put_variable<T: 'static>(&mut self, name: &str, value: T) {
    |            ^^^^^^^^^^^^                                    --------


Some errors have detailed explanations: E0308, E0658.


thread 'save_and_restore_variables' panicked at evcxr/tests/integration_tests.rs:194:5:
Unexpected compilation error. See above for details

Full logs:

copr-evcxr-logs.tar.gz


In my personal experience, such errors are usually caused by unsynchronized parallelism leading to race conditions in the test harness and/or fixtures. But I don't know about this project well enough to comment on specifics.

Versions

Rust toolchain: 1.90.0 evcxr-repl: 0.21.1