Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building fails when selecting ilp-cbc feature #40

Closed
ninehusky opened this issue Jul 23, 2024 · 0 comments · Fixed by #41
Closed

Building fails when selecting ilp-cbc feature #40

ninehusky opened this issue Jul 23, 2024 · 0 comments · Fixed by #41

Comments

@ninehusky
Copy link
Contributor

Kind of a Rust newbie; sorry if this is a basic misunderstanding!

Here's what I'm seeing when running cargo build --features ilp-cbc:


error[E0432]: unresolved imports `crate::generate_random_egraph`, `crate::ELABORATE_TESTING`
    --> src/extract/faster_ilp_cbc.rs:1157:34
     |
1157 |         faster_ilp_cbc::extract, generate_random_egraph, ELABORATE_TESTING, EPSILON_ALLOWANCE,
     |                                  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^ no `ELABORATE_TESTING` in the root
     |                                  |
     |                                  no `generate_random_egraph` in the root

error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
   --> src/main.rs:98:53
    |
98  |                 extractor: extract::faster_ilp_cbc::FasterCbcExtractor::<10>.boxed(),
    |                                                     ^^^^^^^^^^^^^^^^^^------ help: remove these generics
    |                                                     |
    |                                                     expected 0 generic arguments
    |
note: struct defined here, with 0 generic parameters
   --> src/extract/faster_ilp_cbc.rs:184:12
    |
184 | pub struct FasterCbcExtractor;
    |            ^^^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0107, E0432.
For more information about an error, try `rustc --explain E0107`.
error: could not compile `extraction-gym` (bin "extraction-gym") due to 2 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant