Build #111093 2018-08-03T16:12:39.693465+00:00
# rustc version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)
# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)
# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading stats_alloc v0.1.0
Documenting stats_alloc v0.1.0
Running `rustdoc --crate-name stats_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:3:18
|
3 | use std::alloc::{GlobalAlloc, Layout, System};
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:3:31
|
3 | use std::alloc::{GlobalAlloc, Layout, System};
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api' (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:3:39
|
3 | use std::alloc::{GlobalAlloc, Layout, System};
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api' (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:28:17
|
28 | impl StatsAlloc<System> {
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:34:9
|
34 | impl<T: GlobalAlloc> StatsAlloc<T> {
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:79:26
|
79 | pub struct Region<'a, T: GlobalAlloc + 'a> {
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:84:13
|
84 | impl<'a, T: GlobalAlloc + 'a> Region<'a, T> {
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:109:5
|
109 | / unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
110 | | self.allocations.fetch_add(1, Ordering::SeqCst);
111 | | self.bytes_allocated.fetch_add(layout.size(), Ordering::SeqCst);
112 | | self.inner.alloc(layout)
113 | | }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:114:5
|
114 | / unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
115 | | self.deallocations.fetch_add(1, Ordering::SeqCst);
116 | | self.bytes_deallocated.fetch_add(layout.size(), Ordering::SeqCst);
117 | | self.inner.dealloc(ptr, layout)
118 | | }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:120:5
|
120 | / unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
121 | | self.allocations.fetch_add(1, Ordering::SeqCst);
122 | | self.bytes_allocated.fetch_add(layout.size(), Ordering::SeqCst);
123 | | self.inner.alloc_zeroed(layout)
124 | | }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:126:5
|
126 | / unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 {
127 | | self.reallocations.fetch_add(1, Ordering::SeqCst);
128 | | if new_size > layout.size() {
129 | | self.bytes_allocated.fetch_add(new_size - layout.size(), Ordering::SeqCst);
... |
134 | | self.inner.realloc(ptr, layout, new_size)
135 | | }
| |_____^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:108:16
|
108 | unsafe impl<T: GlobalAlloc> GlobalAlloc for StatsAlloc<T> {
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:108:29
|
108 | unsafe impl<T: GlobalAlloc> GlobalAlloc for StatsAlloc<T> {
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:8:26
|
8 | pub struct StatsAlloc<T: GlobalAlloc> {
| ^^^^^^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api' (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:30:19
|
30 | Self::new(System)
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:109:36
|
109 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:114:52
|
114 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:120:43
|
120 | unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'allocator_api': the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector (see issue #32838)
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:126:52
|
126 | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 {
| ^^^^^^
|
= help: add #![feature(allocator_api)] to the crate attributes to enable
error[E0053]: method `alloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:109:5
|
109 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `std::heap::Opaque`, found u8
|
= note: expected type `unsafe fn(&StatsAlloc<T>, std::heap::Layout) -> *mut std::heap::Opaque`
found type `unsafe fn(&StatsAlloc<T>, std::heap::Layout) -> *mut u8`
error[E0053]: method `dealloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:114:5
|
114 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `std::heap::Opaque`, found u8
|
= note: expected type `unsafe fn(&StatsAlloc<T>, *mut std::heap::Opaque, std::heap::Layout)`
found type `unsafe fn(&StatsAlloc<T>, *mut u8, std::heap::Layout)`
error[E0053]: method `alloc_zeroed` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:120:5
|
120 | unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `std::heap::Opaque`, found u8
|
= note: expected type `unsafe fn(&StatsAlloc<T>, std::heap::Layout) -> *mut std::heap::Opaque`
found type `unsafe fn(&StatsAlloc<T>, std::heap::Layout) -> *mut u8`
error[E0053]: method `realloc` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs:126:5
|
126 | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected extern type `std::heap::Opaque`, found u8
|
= note: expected type `unsafe fn(&StatsAlloc<T>, *mut std::heap::Opaque, std::heap::Layout, usize) -> *mut std::heap::Opaque`
found type `unsafe fn(&StatsAlloc<T>, *mut u8, std::heap::Layout, usize) -> *mut u8`
error: Compilation failed, aborting rustdoc
thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `stats_alloc`.,
cause: process didn't exit successfully: `rustdoc --crate-name stats_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.0/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.