Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- andalevor@andalevor-260-a140ur:~/Programming$ git clone https://github.com/savant2212/xdr-rs.git
- Cloning into 'xdr-rs'...
- remote: Enumerating objects: 196, done.
- Receiving objects: 100% (196/196), 28.53 KiB | 1.50 MiB/s, done.
- remote: Total 196 (delta 0), reused 0 (delta 0), pack-reused 196
- Resolving deltas: 100% (91/91), done.
- andalevor@andalevor-260-a140ur:~/Programming$ cd xdr-rs/
- andalevor@andalevor-260-a140ur:~/Programming/xdr-rs$ cargo build
- Updating crates.io index
- Compiling byteorder v1.4.3
- Compiling xdr v0.1.0 (/home/andalevor/Programming/xdr-rs)
- warning: trait objects without an explicit `dyn` are deprecated
- --> src/xdr.rs:44:29
- |
- 44 | fn cause(&self) -> Option<&error::Error> {
- | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
- |
- = note: `#[warn(bare_trait_objects)]` on by default
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:147:13
- |
- 147 | let len = try!(self.unpack::<u32>()) as usize;
- | ^^^
- |
- = note: `#[warn(deprecated)]` on by default
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:178:15
- |
- 178 | let count = try!(x.unpack::<u32>()) as usize;
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:206:13
- |
- 206 | let len = try!(x.unpack::<u32>()) as usize;
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:208:15
- |
- 208 | let bytes = try!(x.unpack_opaque_fixed_len(len));
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:211:4
- |
- 211 | try!(x.unpack_opaque_fixed_len(pad));
- | ^^^
- warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
- --> src/xdr.rs:40:26
- |
- 40 | Error::Io(ref err) => error::Error::description(err),
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
- --> src/xdr.rs:48:30
- |
- 48 | Error::Io(ref err) => err.cause(),
- | ^^^^^
- warning: 8 warnings emitted
- Finished dev [unoptimized + debuginfo] target(s) in 6.53s
- andalevor@andalevor-260-a140ur:~/Programming/xdr-rs$ cargo test
- warning: trait objects without an explicit `dyn` are deprecated
- --> src/xdr.rs:44:29
- |
- 44 | fn cause(&self) -> Option<&error::Error> {
- | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
- |
- = note: `#[warn(bare_trait_objects)]` on by default
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:147:13
- |
- 147 | let len = try!(self.unpack::<u32>()) as usize;
- | ^^^
- |
- = note: `#[warn(deprecated)]` on by default
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:178:15
- |
- 178 | let count = try!(x.unpack::<u32>()) as usize;
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:206:13
- |
- 206 | let len = try!(x.unpack::<u32>()) as usize;
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:208:15
- |
- 208 | let bytes = try!(x.unpack_opaque_fixed_len(len));
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:211:4
- |
- 211 | try!(x.unpack_opaque_fixed_len(pad));
- | ^^^
- warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
- --> src/xdr.rs:40:26
- |
- 40 | Error::Io(ref err) => error::Error::description(err),
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
- --> src/xdr.rs:48:30
- |
- 48 | Error::Io(ref err) => err.cause(),
- | ^^^^^
- warning: 8 warnings emitted
- Compiling xdr v0.1.0 (/home/andalevor/Programming/xdr-rs)
- warning: trait objects without an explicit `dyn` are deprecated
- --> src/xdr.rs:44:29
- |
- 44 | fn cause(&self) -> Option<&error::Error> {
- | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
- |
- = note: `#[warn(bare_trait_objects)]` on by default
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:147:13
- |
- 147 | let len = try!(self.unpack::<u32>()) as usize;
- | ^^^
- |
- = note: `#[warn(deprecated)]` on by default
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:178:15
- |
- 178 | let count = try!(x.unpack::<u32>()) as usize;
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:206:13
- |
- 206 | let len = try!(x.unpack::<u32>()) as usize;
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:208:15
- |
- 208 | let bytes = try!(x.unpack_opaque_fixed_len(len));
- | ^^^
- warning: use of deprecated macro `try`: use the `?` operator instead
- --> src/xdr.rs:211:4
- |
- 211 | try!(x.unpack_opaque_fixed_len(pad));
- | ^^^
- warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
- --> src/xdr.rs:40:26
- |
- 40 | Error::Io(ref err) => error::Error::description(err),
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
- --> src/xdr.rs:48:30
- |
- 48 | Error::Io(ref err) => err.cause(),
- | ^^^^^
- warning: 8 warnings emitted
- Finished test [unoptimized + debuginfo] target(s) in 4.43s
- Running unittests (target/debug/deps/xdr-828fbffba7961cb8)
- running 9 tests
- test empty_string_test ... ok
- test ascii_string_test ... ok
- test fixed_length_array_test ... ok
- test r_w_primitive_test ... ok
- test utf_8_string_test ... ok
- test u16_writer_test ... ok
- test u16_reader_test ... ok
- test variable_length_array_test ... ok
- test string_decode_test ... ok
- test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
- Doc-tests xdr
- running 2 tests
- test src/lib.rs - (line 10) ... ok
- test src/lib.rs - (line 22) ... ok
- test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.22s
- andalevor@andalevor-260-a140ur:~/Programming/xdr-rs$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement