I am having compilation issues for signal. #39

Open
opened 2024-01-09 12:30:53 +00:00 by furkanturan · 1 comment
furkanturan commented 2024-01-09 12:30:53 +00:00 (Migrated from github.com)

I am having compilation issues for signal. Apparently, the query_string_val_on_tmln function is removed from the signal with a commend that says

(zoq) I am removing thse because they aren't used in Surfer so I can't test them properly

However, the main() directly depends on it.

Are there any pointer for resolving the issue?


user@computer:~/FastWaveBackend$ rustup default stable
info: using existing install for 'stable-x86_64-unknown-linux-gnu'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.70.0 (90c541806 2023-05-31)

user@computer:~/FastWaveBackend$ cargo run --release --example vcd
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.76
   Compiling unicode-ident v1.0.12
   Compiling utf8parse v0.2.1
   Compiling colorchoice v1.0.0
   Compiling anstyle-query v1.0.2
   Compiling anstyle v1.0.4
   Compiling strsim v0.10.0
   Compiling heck v0.4.1
   Compiling clap_lex v0.6.0
   Compiling iana-time-zone v0.1.59
   Compiling either v1.9.0
   Compiling anstyle-parse v0.2.3
   Compiling itertools v0.11.0
   Compiling anstream v0.6.5
   Compiling num-traits v0.2.17
   Compiling num-integer v0.1.45
   Compiling num-bigint v0.4.4
   Compiling num-iter v0.1.43
   Compiling num-rational v0.4.1
   Compiling clap_builder v4.4.14
   Compiling quote v1.0.35
   Compiling syn v2.0.48
   Compiling num-complex v0.4.4
   Compiling chrono v0.4.31
   Compiling clap_derive v4.4.7
   Compiling num v0.4.1
   Compiling clap v4.4.14
   Compiling fastwave_backend v0.1.0 (/home/fturan/FastWaveBackend)
error[E0599]: no method named `query_string_val_on_tmln` found for struct `Signal` in the current scope
  --> examples/vcd.rs:76:32
   |
76 |         let val = state_signal.query_string_val_on_tmln(&time, &vcd).unwrap();
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `query_val_on_tmln`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `fastwave_backend` (example "vcd") due to previous error
I am having compilation issues for `signal`. Apparently, the `query_string_val_on_tmln` function is removed from the signal with a commend that says > (zoq) I am removing thse because they aren't used in Surfer so I can't test them properly However, the `main()` directly depends on it. Are there any pointer for resolving the issue? ___ ``` user@computer:~/FastWaveBackend$ rustup default stable info: using existing install for 'stable-x86_64-unknown-linux-gnu' info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu unchanged - rustc 1.70.0 (90c541806 2023-05-31) user@computer:~/FastWaveBackend$ cargo run --release --example vcd Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling utf8parse v0.2.1 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.4 Compiling strsim v0.10.0 Compiling heck v0.4.1 Compiling clap_lex v0.6.0 Compiling iana-time-zone v0.1.59 Compiling either v1.9.0 Compiling anstyle-parse v0.2.3 Compiling itertools v0.11.0 Compiling anstream v0.6.5 Compiling num-traits v0.2.17 Compiling num-integer v0.1.45 Compiling num-bigint v0.4.4 Compiling num-iter v0.1.43 Compiling num-rational v0.4.1 Compiling clap_builder v4.4.14 Compiling quote v1.0.35 Compiling syn v2.0.48 Compiling num-complex v0.4.4 Compiling chrono v0.4.31 Compiling clap_derive v4.4.7 Compiling num v0.4.1 Compiling clap v4.4.14 Compiling fastwave_backend v0.1.0 (/home/fturan/FastWaveBackend) error[E0599]: no method named `query_string_val_on_tmln` found for struct `Signal` in the current scope --> examples/vcd.rs:76:32 | 76 | let val = state_signal.query_string_val_on_tmln(&time, &vcd).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `query_val_on_tmln` For more information about this error, try `rustc --explain E0599`. error: could not compile `fastwave_backend` (example "vcd") due to previous error ```
TheZoq2 commented 2024-01-09 12:33:41 +00:00 (Migrated from github.com)

Oh interesting, I guess I never tested the examples after removing that function 🤔. Since it worked and compiled as a library I was happy

Thanks for the report

If you'd like to take a stab at fixing it, the commit that broke these is probably in https://github.com/ThePerfectComputer/FastWaveBackend/pull/36 and should just be a matter of reverting the removal of that function

Oh interesting, I guess I never tested the examples after removing that function :thinking:. Since it worked and compiled as a library I was happy Thanks for the report If you'd like to take a stab at fixing it, the commit that broke these is probably in https://github.com/ThePerfectComputer/FastWaveBackend/pull/36 and should just be a matter of reverting the removal of that function
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Yehowshua/FastWaveBackend#39
No description provided.