This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jamwt@dash:~/devel/client/rust/registry$ cat index/sl/og/slog | json_pp | |
| { | |
| "features" : { | |
| "release_max_level_off" : [], | |
| "max_level_trace" : [], | |
| "release_max_level_trace" : [], | |
| "max_level_warn" : [], | |
| "max_level_debug" : [], | |
| "release_max_level_warn" : [], | |
| "max_level_off" : [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jamwt@dash:~/devel/client/rust/registry$ tar -xf slog-atomic-0.2.0.crate -O slog-atomic-0.2.0/Cargo.toml | |
| [package] | |
| name = "slog-atomic" | |
| version = "0.2.0" | |
| authors = ["Dawid Ciężarkiewicz <dpc@dpc.pw>"] | |
| description = "Unix terminal drain and formatter for slog-rs" | |
| keywords = ["slog", "logging", "log", "atomic"] | |
| license = "MPL-2.0" | |
| documentation = "https://dpc.github.io/slog-rs/" | |
| homepage = "https://github.com/dpc/slog-rs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DEBUG:cargo: handle_error; err=CliError { error: Some(no matching package named `slog` found (required by `slog-term`) | |
| location searched: registry https://github.com/rust-lang/crates.io-index | |
| version required: *), unknown: false, exit_code: 101 } | |
| error: no matching package named `slog` found (required by `slog-term`) | |
| location searched: registry https://github.com/rust-lang/crates.io-index | |
| version required: * | |
| jamwt@dash:~/devel/client/rust/nucleus/com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TRACE:cargo::core::resolver: common[5]>slog 1 candidates | |
| TRACE:cargo::core::resolver: common[5]>slog 0 prev activations | |
| TRACE:cargo::core::resolver: common[5]>slog trying 1.0.0-alpha3 | |
| TRACE:cargo::core::resolver: activating slog v1.0.0-alpha3 | |
| TRACE:cargo::core::resolver: futures[0]>log 1 candidates | |
| TRACE:cargo::core::resolver: futures[0]>log 0 prev activations | |
| TRACE:cargo::core::resolver: futures[0]>log trying 0.3.6 | |
| TRACE:cargo::core::resolver: activating log v0.3.6 | |
| TRACE:cargo::core::resolver: common[6]>base64 1 candidates | |
| TRACE:cargo::core::resolver: common[6]>base64 0 prev activations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //! Safe cryptographic random number generation in Rust. | |
| //! Works on Windows, Mac, Linux, FreeBSD, etc. | |
| extern crate rand; // https://crates.io/crates/rand | |
| use rand::{Rng}; // The generic trait all random generators support. | |
| use rand::os::{OsRng}; // Specific implementation of above for strong crypto. | |
| fn main() { | |
| // OsRng is a type of `Rng` that wraps /dev/urandom, getrandom(), etc. | |
| let mut r = OsRng::new().unwrap(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::sync::mpsc; | |
| use futures::{ | |
| Future, | |
| }; | |
| use futures::stream::{ | |
| Stream, | |
| }; | |
| pub fn await_stream<T: Send + 'static, S: Stream<Item=T>>(stream: S) -> (Option<T>, S) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 93.86% (2,658B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. | |
| ->63.81% (1,807B) 0x50DE0DF: __tzfile_read (tzfile.c:278) | |
| | ->63.81% (1,807B) 0x50DD7AE: tzset_internal (tzset.c:447) | |
| | ->63.81% (1,807B) 0x50DDAD1: __tz_convert (tzset.c:632) | |
| | ->63.81% (1,807B) 0x3137D6: sys::inner::time_to_utc_tm::h9f3b17d1c988fbc4bdc (sys.rs:74) | |
| | ->63.81% (1,807B) 0x313605: at_utc::h75627e03dc1df4c1t1c (lib.rs:399) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| thread '<main>' panicked at '[BUG] at this point there should always be a message: 1', ../src/libcore/option.rs:330 | |
| stack backtrace: | |
| 1: 0x7f8eb8b7d98e - sys::backtrace::write::h42ae15d4d8dc9021Lqs | |
| 2: 0x7f8eb8b810d5 - panicking::on_panic::h16e339088a7da9f0l8w | |
| 3: 0x7f8eb8b7736e - rt::unwind::begin_unwind_inner::hb0ccf650c87729feZNw | |
| 4: 0x7f8eb8b77ccc - rt::unwind::begin_unwind_fmt::he51a7264215a12fc5Mw | |
| 5: 0x7f8eb8b80ac6 - rust_begin_unwind | |
| 6: 0x7f8eb8bac824 - panicking::panic_fmt::h6cd1cd2e7f8c91c019B | |
| 7: 0x7f8eb8b729ce - event_loop::EventLoop<H>::run_once::h15461418731634333358 | |
| 8: 0x7f8eb8b66b10 - main::hb66fa02c4781964cCda |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate eventual; | |
| extern crate mio; | |
| use std::collections::HashMap; | |
| use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | |
| use std::thread; | |
| use eventual::Async; | |
| static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I0715 20:02:48.521234 04193 common.go:198] MP version: HEAD | |
| === RUN Test | |
| I0715 20:02:48.521927 04193 all_test.go:37] Using seed: 1436990568521926197 | |
| I0715 20:02:49.451336 04193 osd2.go:48] Using tmp dir: /tmp/osd2-tests633816670 | |
| I0715 20:02:49.496960 <main> src/bin/osd2_init.rs:50] Creating cache file | |
| I0715 20:02:49.497218 <main> src/bin/osd2_init.rs:55] Wrapping cache with an allocator | |
| I0715 20:02:49.499978 <main> src/bin/osd2_init.rs:86] Setting up disk with 1GB seq zone size | |
| I0715 20:02:49.502291 <main> src/bin/osd2_init.rs:88] Creating disk backed by file medium of size 5368709120 | |
| I0715 20:02:49.505049 <main> src/bin/osd2_init.rs:95] Device info: <ZonedDevice block-size=4096B device-size=5120MiB zones=5> on <FileMedium /tmp/osd2-tests633816670/disk> | |
| I0715 20:02:49.508170 <main> src/bin/osd2_init.rs:105] Found conventional zone 0, initializing a dynamic allocator around it |