Build #111097 2018-08-03T16:26:56.239566+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.2
Documenting stats_alloc v0.1.2
Running `rustdoc --crate-name stats_alloc .cargo/registry/src/github.com-1ecc6299db9ec823/stats_alloc-0.1.2/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.2/src/lib.rs:28:18
|
28 | 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.2/src/lib.rs:28:31
|
28 | 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.2/src/lib.rs:28:39
|
28 | 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.2/src/lib.rs:53:17
|
53 | 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.2/src/lib.rs:59:9
|
59 | 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.2/src/lib.rs:104:26
|
104 | 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.2/src/lib.rs:109:13
|
109 | 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.2/src/lib.rs:134:5
|
134 | / unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
135 | | self.allocations.fetch_add(1, Ordering::SeqCst);
136 | | self.bytes_allocated.fetch_add(layout.size(), Ordering::SeqCst);
137 | | self.inner.alloc(layout)
138 | | }
| |_____^
|
= 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.2/src/lib.rs:139:5
|
139 | / unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
140 | | self.deallocations.fetch_add(1, Ordering::SeqCst);
141 | | self.bytes_deallocated.fetch_add(layout.size(), Ordering::SeqCst);
142 | | self.inner.dealloc(ptr, layout)
143 | | }
| |_____^
|
= 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.2/src/lib.rs:145:5
|
145 | / unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 {
146 | | self.allocations.fetch_add(1, Ordering::SeqCst);
147 | | self.bytes_allocated.fetch_add(layout.size(), Ordering::SeqCst);
148 | | self.inner.alloc_zeroed(layout)
149 | | }
| |_____^
|
= 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.2/src/lib.rs:151:5
|
151 | / unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 {
152 | | self.reallocations.fetch_add(1, Ordering::SeqCst);
153 | | if new_size > layout.size() {
154 | | self.bytes_allocated.fetch_add(new_size - layout.size(), Ordering::SeqCst);
... |
159 | | self.inner.realloc(ptr, layout, new_size)
160 | | }
| |_____^
|
= 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.2/src/lib.rs:133:16
|
133 | 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.2/src/lib.rs:133:29
|
133 | 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.2/src/lib.rs:33:26
|
33 | 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.2/src/lib.rs:55:19
|
55 | 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.2/src/lib.rs:134:36
|
134 | 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.2/src/lib.rs:139:52
|
139 | 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.2/src/lib.rs:145:43
|
145 | 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.2/src/lib.rs:151:52
|
151 | 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.2/src/lib.rs:134:5
|
134 | 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.2/src/lib.rs:139:5
|
139 | 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.2/src/lib.rs:145:5
|
145 | 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.2/src/lib.rs:151:5
|
151 | 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.2/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.