libreal 0.14.1

Utility library for programmers working in the real world, where heap allocation can fail
Build #54867 2017-06-04 06:28:13

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.19.0-dev (28a93c1f4 2017-05-31)# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)# build log
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading libreal v0.14.1
Downloading rel v0.1.2
Downloading containers v0.2.1
Downloading i-o v0.2.0
Downloading containers v0.1.1
Compiling typenum v1.9.0
Fresh void v1.0.2
Compiling rel v0.1.2
Running `rustc --crate-name build_script_main .cargo/registry/src/github.com-1ecc6299db9ec823/typenum-1.9.0/build/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="no_std"' -C metadata=e552bfb99c26332b -C extra-filename=-e552bfb99c26332b --out-dir /home/cratesfyi/cratesfyi/debug/build/typenum-e552bfb99c26332b -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name rel .cargo/registry/src/github.com-1ecc6299db9ec823/rel-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=24d5c1245e0643ff -C extra-filename=-24d5c1245e0643ff --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/typenum-e552bfb99c26332b/build-script-main`
Running `rustc --crate-name typenum .cargo/registry/src/github.com-1ecc6299db9ec823/typenum-1.9.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="no_std"' -C metadata=0dd78c81e7084fc0 -C extra-filename=-0dd78c81e7084fc0 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Compiling containers v0.1.1
Compiling containers v0.2.1
Running `rustc --crate-name containers .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ae7b77c2ac577592 -C extra-filename=-ae7b77c2ac577592 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern rel=/home/cratesfyi/cratesfyi/debug/deps/librel-24d5c1245e0643ff.rlib --extern-version rel=rel,0.1.2 --extern typenum=/home/cratesfyi/cratesfyi/debug/deps/libtypenum-0dd78c81e7084fc0.rlib --extern-version typenum=typenum,1.9.0 --cap-lints allow`
Running `rustc --crate-name containers .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=27b906544a384538 -C extra-filename=-27b906544a384538 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern rel=/home/cratesfyi/cratesfyi/debug/deps/librel-24d5c1245e0643ff.rlib --extern-version rel=rel,0.1.2 --extern typenum=/home/cratesfyi/cratesfyi/debug/deps/libtypenum-0dd78c81e7084fc0.rlib --extern-version typenum=typenum,1.9.0 --cap-lints allow`
error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:39:46
|
39 |     pub unsafe fn into_raw(self) -> *mut T { *self.0 }
|                                              ^^^^^^^

error[E0599]: no method named `get` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:45:45
|
45 |     fn deref(&self) -> &T { unsafe { self.0.get() } }
|                                             ^^^

error[E0599]: no method named `get_mut` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:49:57
|
49 |     fn deref_mut(&mut self) -> &mut T { unsafe { self.0.get_mut() } }
|                                                         ^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/boxed.rs:54:19
|
54 |         let ptr = *self.0;
|                   ^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:63:35
|
63 |         slice::from_raw_parts_mut(*self.ptr, self.cap)
|                                   ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:87:46
|
87 |             if self.len == 0 { dealloc_array(*self.ptr, self.cap) }
|                                              ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:89:38
|
89 |                 let ptr = reallocate(*self.ptr as *mut u8,
|                                      ^^^^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:115:32
|
115 |             let ptr = self.ptr.offset(k as isize);
|                                ^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:132:32
|
132 |             let ptr = self.ptr.offset(k as isize);
|                                ^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:134:40
|
134 |             ptr::copy(&*ptr.offset(1), ptr, self.len - k - 1);
|                                        ^^^ types differ in mutability
|
= note: expected type `*mut _`
found type `*const _`

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:179:38
|
179 |             ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len);
|                                      ^^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:179:56
|
179 |             ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len);
|                                                        ^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:194:55
|
194 |             ptr::copy_nonoverlapping(&xs[0], self.ptr.offset(self.len as isize), xs.len());
|                                                       ^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:216:47
|
216 |             ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len);
|                                               ^^^^^^

error: type `core::ptr::Unique<_>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:216:67
|
216 |             ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len);
|                                                                   ^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:63:35
|
63 |         slice::from_raw_parts_mut(*self.ptr, self.cap)
|                                   ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:87:46
|
87 |             if self.len == 0 { dealloc_array(*self.ptr, self.cap) }
|                                              ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:89:38
|
89 |                 let ptr = reallocate(*self.ptr as *mut u8,
|                                      ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:271:44
|
271 |                 let ptr = alloc_or_realloc(*self.ptr, self.cap * mem::size_of::<T>(), size);
|                                            ^^^^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:115:32
|
115 |             let ptr = self.ptr.offset(k as isize);
|                                ^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:287:31
|
287 |                 dealloc_array(*self.ptr, self.cap);
|                               ^^^^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:132:32
|
132 |             let ptr = self.ptr.offset(k as isize);
|                                ^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:134:40
|
134 |             ptr::copy(&*ptr.offset(1), ptr, self.len - k - 1);
|                                        ^^^ types differ in mutability
|
= note: expected type `*mut _`
found type `*const _`

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:179:38
|
179 |             ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len);
|                                      ^^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:179:56
|
179 |             ptr::copy_nonoverlapping(*xs.ptr, self.ptr.offset(self.len as isize), xs.len);
|                                                        ^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:194:60
|
194 |             ptr::copy_nonoverlapping(xs.as_ptr(), self.ptr.offset(self.len as isize), xs.len());
|                                                            ^^^^^^

error[E0599]: no method named `offset` found for type `core::ptr::Unique<T>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:216:47
|
216 |             ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len);
|                                               ^^^^^^

error: type `core::ptr::Unique<_>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:216:67
|
216 |             ptr::copy_nonoverlapping(self.ptr.offset(k as isize), *xs.ptr, xs.len);
|                                                                   ^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:271:44
|
271 |                 let ptr = alloc_or_realloc(*self.ptr, self.cap * mem::size_of::<T>(), size);
|                                            ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:361:62
|
361 |     fn deref(&self) -> &[T] { unsafe { slice::from_raw_parts(*self.ptr, self.len) } }
|                                                              ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:366:78
|
366 |     fn deref_mut(&mut self) -> &mut [T] { unsafe { slice::from_raw_parts_mut(*self.ptr, self.len) } }
|                                                                              ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:287:31
|
287 |                 dealloc_array(*self.ptr, self.cap);
|                               ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/collections/vec.rs:384:19
|
384 |         let ptr = *self.ptr;
|                   ^^^^^^^^^

error: aborting due to previous error(s)

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:361:62
|
361 |     fn deref(&self) -> &[T] { unsafe { slice::from_raw_parts(*self.ptr, self.len) } }
|                                                              ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:366:78
|
366 |     fn deref_mut(&mut self) -> &mut [T] { unsafe { slice::from_raw_parts_mut(*self.ptr, self.len) } }
|                                                                              ^^^^^^^^^

error: type `core::ptr::Unique<T>` cannot be dereferenced
--> .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.2.1/src/collections/vec.rs:384:19
|
384 |         let ptr = *self.ptr;
|                   ^^^^^^^^^

error: Could not compile `containers`.

Caused by:
process didn't exit successfully: `rustc --crate-name containers .cargo/registry/src/github.com-1ecc6299db9ec823/containers-0.1.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ae7b77c2ac577592 -C extra-filename=-ae7b77c2ac577592 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern rel=/home/cratesfyi/cratesfyi/debug/deps/librel-24d5c1245e0643ff.rlib --extern-version rel=rel,0.1.2 --extern typenum=/home/cratesfyi/cratesfyi/debug/deps/libtypenum-0dd78c81e7084fc0.rlib --extern-version typenum=typenum,1.9.0 --cap-lints allow` (exit code: 101)
error: aborting due to previous error(s)

thread 'main' panicked at 'build failed', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.