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

install/compilation failure #7

Open
mehar opened this issue Aug 10, 2019 · 2 comments · May be fixed by #11
Open

install/compilation failure #7

mehar opened this issue Aug 10, 2019 · 2 comments · May be fixed by #11

Comments

@mehar
Copy link

mehar commented Aug 10, 2019

Compiling kafka-benchmark v0.2.0 (/Users/mesimhad/research/kafka-benchmark)
error[E0599]: no method named send_copy found for type rdkafka::producer::BaseProducer<producer::BenchmarkProducerContext> in the current scope
--> src/producer/mod.rs:55:10
|
55 | .send_copy::<str, str>(&scenario.topic, None, Some("warmup"), None, (), None)
| ^^^^^^^^^

error[E0599]: no method named send_copy found for type rdkafka::producer::BaseProducer<producer::BenchmarkProducerContext> in the current scope
--> src/producer/mod.rs:68:28
|
68 | match producer.send_copy::<[u8], [u8]>(
| ^^^^^^^^^

error[E0599]: no method named send_copy found for type rdkafka::producer::FutureProducer in the current scope
--> src/producer/mod.rs:119:10
|
119 | .send_copy::<str, str>(&scenario.topic, None, Some("warmup"), None, None, 1000)
| ^^^^^^^^^

error[E0599]: no method named send_copy found for type rdkafka::producer::FutureProducer in the current scope
--> src/producer/mod.rs:131:31
|
131 | futures.push(producer.send_copy::<[u8], [u8]>(
| ^^^^^^^^^

error: aborting due to 4 previous errors

For more information about this error, try rustc --explain E0599.
error: failed to compile kafka-benchmark v0.2.0 (/Users/mesimhad/research/kafka-benchmark), intermediate artifacts can be found at /Users/mesimhad/research/kafka-benchmark/target

Caused by:
Could not compile kafka-benchmark.

To learn more, run the command again with --verbose.

@icunhacorrea
Copy link

I had the same issue, anyone have the solution for this? Thanks.

@renier
Copy link

renier commented Nov 7, 2019

Builds with rust 1.23.0

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.

3 participants