Code Monkey home page Code Monkey logo

bailongma-rs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bailongma-rs's Issues

cargo build failed with stable toolchain

$ cargo build
warning: function is never used: `md5sum`
--> src/utils.rs:1:8
 |
1 | pub fn md5sum(bytes: &[u8]) -> String {
 |        ^^^^^^
 |
 = note: `#[warn(dead_code)]` on by default

warning: function is never used: `taos_hash_id`
--> src/utils.rs:9:8
 |
9 | pub fn taos_hash_id(bytes: &[u8]) -> i32 {
 |        ^^^^^^^^^^^^

warning: 2 warnings emitted

  Compiling bailongma v0.1.0 (/home/shuduo/work/taosdata/bailongma-rs)
warning: unused variable: `rt`
 --> src/bin/blm-bench-prom.rs:74:32
  |
74 |     fn build_timeseries(&self, rt: &tokio::runtime::Runtime, ts_offset: i64) {
  |                                ^^ help: if this is intentional, prefix it with an underscore: `_rt`
  |
  = note: `#[warn(unused_variables)]` on by default

warning: 1 warning emitted

warning: unused imports: `Arc`, `RwLock`
--> src/main.rs:4:12
 |
4 |     sync::{Arc, Mutex, RwLock},
 |            ^^^         ^^^^^^
 |
 = note: `#[warn(unused_imports)]` on by default

warning: unused imports: `HttpRequest`, `Responder`
 --> src/main.rs:12:10
  |
12 |     App, HttpRequest, HttpResponse, HttpServer, Responder, Result as WebResult,
  |          ^^^^^^^^^^^                            ^^^^^^^^^

warning: unused imports: `TaosCfg`, `TaosPool`
 --> src/main.rs:20:35
  |
20 | use libtaos::{self as taos, Taos, TaosCfg, TaosCfgBuilder, TaosCode, TaosPool};
  |                                   ^^^^^^^                            ^^^^^^^^

warning: unused imports: `FnvHashMap`, `FnvHashSet`
 --> src/main.rs:22:11
  |
22 | use fnv::{FnvHashMap, FnvHashSet};
  |           ^^^^^^^^^^  ^^^^^^^^^^

error[E0658]: use of unstable library feature 'backtrace'
  --> src/main.rs:330:77
   |
330 |                 error!("error in {} retry: {}\nbacktraces: {}", i, err, err.backtrace());
   |                                                                             ^^^^^^^^^
   |
   = note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487\> for more information

error[E0277]: `std::option::Option<&std::backtrace::Backtrace>` doesn't implement `std::fmt::Display`
  --> src/main.rs:330:73
   |
330 |                 error!("error in {} retry: {}\nbacktraces: {}", i, err, err.backtrace());
   |                                                                         ^^^^^^^^^^^^^^^ `std::option::Option<&std::backtrace::Backtrace>` cannot be formatted with the default formatter
   |
   = help: the trait `std::fmt::Display` is not implemented for `std::option::Option<&std::backtrace::Backtrace>`
   = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
   = note: required by `std::fmt::Display::fmt`
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors; 4 warnings emitted

Some errors have detailed explanations: E0277, E0658.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `bailongma`.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.