[INFO] crate allocator 0.0.2 is already in cache [INFO] testing allocator-0.0.2 against 1.44.0 for beta-1.45-1 [INFO] extracting crate allocator 0.0.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate allocator 0.0.2 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate allocator 0.0.2 [INFO] finished tweaking crates.io crate allocator 0.0.2 [INFO] tweaked toml for crates.io crate allocator 0.0.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8c0f5a30e12c048a52b964b5e09bc466bc1ce403c146fac8e487ae32f103011 [INFO] running `"docker" "start" "-a" "e8c0f5a30e12c048a52b964b5e09bc466bc1ce403c146fac8e487ae32f103011"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling checked_cast v0.0.3 [INFO] [stderr] Compiling allocator v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stderr] --> src/allocator.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | static SIZES: [u64, ..58] = [ [INFO] [stderr] | ^ expected one of 7 possible tokens [INFO] [stderr] [INFO] [stderr] error[E0259]: the name `core` is defined multiple times [INFO] [stderr] --> src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | extern crate core; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ `core` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `core` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 9 | extern crate core as other_core; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]` [INFO] [stderr] --> src/macros.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![macro_escape] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: try an outer attribute: `#[macro_use]` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `allocator::Allocator` [INFO] [stderr] --> src/lib.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | pub use allocator::{Allocator}; [INFO] [stderr] | ^^^^^^^^^ no `Allocator` in `allocator` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::num::Int` [INFO] [stderr] --> src/noop.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use core::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `allocator::Allocator` [INFO] [stderr] --> src/noop.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | pub use allocator::{Allocator}; [INFO] [stderr] | ^^^^^^^^^ no `Allocator` in `allocator` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `allocator::Allocator` [INFO] [stderr] --> src/malloc.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | pub use allocator::{Allocator}; [INFO] [stderr] | ^^^^^^^^^ no `Allocator` in `allocator` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::num::Int` [INFO] [stderr] --> src/malloc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use core::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `allocator::Allocator` [INFO] [stderr] --> src/arena.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | pub use allocator::{Allocator}; [INFO] [stderr] | ^^^^^^^^^ no `Allocator` in `allocator` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::kinds` [INFO] [stderr] --> src/arena.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use core::kinds::marker; [INFO] [stderr] | ^^^^^ could not find `kinds` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::num::Int` [INFO] [stderr] --> src/arena.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use core::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::num::Int` [INFO] [stderr] --> src/rustalloc.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use core::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/rustalloc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use alloc::heap; [INFO] [stderr] | ^^^^^^^^^^^ no `heap` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `allocator::Allocator` [INFO] [stderr] --> src/rustalloc.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | pub use allocator::{Allocator}; [INFO] [stderr] | ^^^^^^^^^ no `Allocator` in `allocator` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `phase` in this scope [INFO] [stderr] --> src/lib.rs:14:3 [INFO] [stderr] | [INFO] [stderr] 14 | #[phase(plugin)] extern crate checked_cast; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `checked_cast` in this scope [INFO] [stderr] --> src/malloc.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | let p: *mut T = malloc(try!(checked_cast!(count, size_t))) as *mut T; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stderr] --> src/arena.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stderr] --> src/arena.rs:153:3 [INFO] [stderr] | [INFO] [stderr] 153 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:15:43 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe fn alloc(&mut self, _count: uint) -> Option<*mut T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | unsafe fn calloc(&mut self, _items: uint) -> Option<*mut T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:23:65 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe fn realloc(&mut self, _buf: &mut *mut T, current: uint, items: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:23:78 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe fn realloc(&mut self, _buf: &mut *mut T, current: uint, items: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:23:94 [INFO] [stderr] | [INFO] [stderr] 14 | impl Allocator for NoopAlloc { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 23 | unsafe fn realloc(&mut self, _buf: &mut *mut T, current: uint, items: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:31:64 [INFO] [stderr] | [INFO] [stderr] 31 | unsafe fn ensure(&mut self, _buf: &mut *mut T, current: uint, min: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:31:75 [INFO] [stderr] | [INFO] [stderr] 31 | unsafe fn ensure(&mut self, _buf: &mut *mut T, current: uint, min: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:31:91 [INFO] [stderr] | [INFO] [stderr] 14 | impl Allocator for NoopAlloc { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 31 | unsafe fn ensure(&mut self, _buf: &mut *mut T, current: uint, min: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/noop.rs:39:56 [INFO] [stderr] | [INFO] [stderr] 39 | unsafe fn free(&mut self, _buf: *mut T, _count: uint) {} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/malloc.rs:17:42 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe fn alloc(&mut self, count: uint) -> Option<*mut T> { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/malloc.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | unsafe fn calloc(&mut self, count: uint) -> Option<*mut T> { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/malloc.rs:32:65 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe fn realloc(&mut self, buf: &mut *mut T, _current: uint, count: uint) -> Option { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/malloc.rs:32:78 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe fn realloc(&mut self, buf: &mut *mut T, _current: uint, count: uint) -> Option { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/malloc.rs:32:94 [INFO] [stderr] | [INFO] [stderr] 16 | impl Allocator for Malloc { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 32 | unsafe fn realloc(&mut self, buf: &mut *mut T, _current: uint, count: uint) -> Option { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/malloc.rs:42:56 [INFO] [stderr] | [INFO] [stderr] 42 | unsafe fn free(&mut self, _buf: *mut T, _count: uint) { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | chunk_size: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | chunks: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | first_free: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new(chunk_size: uint) -> Arena { Arena { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:45:42 [INFO] [stderr] | [INFO] [stderr] 45 | fn add_custom_chunk(&mut self, size: uint, align: uint) -> Option<&mut Chunk> { unsafe { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:45:55 [INFO] [stderr] | [INFO] [stderr] 45 | fn add_custom_chunk(&mut self, size: uint, align: uint) -> Option<&mut Chunk> { unsafe { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/arena.rs:48:39 [INFO] [stderr] | [INFO] [stderr] 48 | let cp = self.ptr.offset(c as int); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/arena.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | for i in range(0, self.chunks as int) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/arena.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | for i in range(0, self.chunks as int) { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:66:42 [INFO] [stderr] | [INFO] [stderr] 66 | unsafe fn alloc(&mut self, count: uint) -> Option<*mut T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/arena.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 80 | for i in range(self.first_free, self.chunks) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/arena.rs:81:64 [INFO] [stderr] | [INFO] [stderr] 81 | let chunk: &mut Chunk = &mut *self.ptr.offset(i as int); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:99:65 [INFO] [stderr] | [INFO] [stderr] 99 | unsafe fn realloc(&mut self, _buf: &mut *mut T, current: uint, items: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:99:78 [INFO] [stderr] | [INFO] [stderr] 99 | unsafe fn realloc(&mut self, _buf: &mut *mut T, current: uint, items: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:99:94 [INFO] [stderr] | [INFO] [stderr] 65 | impl Allocator for Arena { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 99 | unsafe fn realloc(&mut self, _buf: &mut *mut T, current: uint, items: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:107:64 [INFO] [stderr] | [INFO] [stderr] 107 | unsafe fn ensure(&mut self, _buf: &mut *mut T, current: uint, min: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:107:75 [INFO] [stderr] | [INFO] [stderr] 107 | unsafe fn ensure(&mut self, _buf: &mut *mut T, current: uint, min: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:107:91 [INFO] [stderr] | [INFO] [stderr] 65 | impl Allocator for Arena { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 107 | unsafe fn ensure(&mut self, _buf: &mut *mut T, current: uint, min: uint) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:115:56 [INFO] [stderr] | [INFO] [stderr] 115 | unsafe fn free(&mut self, _buf: *mut T, _count: uint) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | cap: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | end: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:132:34 [INFO] [stderr] | [INFO] [stderr] 132 | fn fill(c: *mut Chunk, size: uint) -> Option<()> { #![inline] unsafe { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn alloc(&mut self, size: uint, align: uint) -> Option<*mut u8> { #![inline] unsafe { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/arena.rs:140:44 [INFO] [stderr] | [INFO] [stderr] 140 | fn alloc(&mut self, size: uint, align: uint) -> Option<*mut u8> { #![inline] unsafe { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/arena.rs:145:37 [INFO] [stderr] | [INFO] [stderr] 145 | Some(self.ptr.offset(off as int)) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rustalloc.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | unsafe fn alloc(&mut self, items: uint) -> Option<*mut T> { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rustalloc.rs:23:64 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe fn realloc(&mut self, buf: &mut *mut T, current: uint, exact: uint) -> Option { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rustalloc.rs:23:77 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe fn realloc(&mut self, buf: &mut *mut T, current: uint, exact: uint) -> Option { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rustalloc.rs:23:93 [INFO] [stderr] | [INFO] [stderr] 13 | impl Allocator for RustAlloc { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 23 | unsafe fn realloc(&mut self, buf: &mut *mut T, current: uint, exact: uint) -> Option { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/rustalloc.rs:35:54 [INFO] [stderr] | [INFO] [stderr] 35 | unsafe fn free(&mut self, buf: *mut T, items: uint) { #![inline] [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(unsafe_destructor, globs, phase, macro_rules)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use libc::{malloc,calloc,realloc,free,size_t, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use libc::{malloc,calloc,realloc,free,size_t, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | use libc::{malloc,calloc,realloc,free,size_t, c_void}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | use libc::{malloc,calloc,realloc,free,size_t, c_void}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:10:39 [INFO] [stderr] | [INFO] [stderr] 10 | use libc::{malloc,calloc,realloc,free,size_t, c_void}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | let p: *mut T = malloc(try!(checked_cast!(count, size_t))) as *mut T; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | let p: *mut T = calloc(count as size_t, mem::size_of::() as size_t) as *mut T; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:27:41 [INFO] [stderr] | [INFO] [stderr] 27 | let p: *mut T = calloc(count as size_t, mem::size_of::() as size_t) as *mut T; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:27:72 [INFO] [stderr] | [INFO] [stderr] 27 | let p: *mut T = calloc(count as size_t, mem::size_of::() as size_t) as *mut T; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | let p: *mut T = realloc((*buf) as *mut c_void, bytes as size_t) as *mut T; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:36:65 [INFO] [stderr] | [INFO] [stderr] 36 | let p: *mut T = realloc((*buf) as *mut c_void, bytes as size_t) as *mut T; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/malloc.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | free(_buf as *mut c_void); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stderr] --> src/arena.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use core::intrinsics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stderr] --> src/rustalloc.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use core::intrinsics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 78 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0259, E0412, E0425, E0432, E0554, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0259`. [INFO] [stderr] error: could not compile `allocator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e8c0f5a30e12c048a52b964b5e09bc466bc1ce403c146fac8e487ae32f103011"` [INFO] running `"docker" "rm" "-f" "e8c0f5a30e12c048a52b964b5e09bc466bc1ce403c146fac8e487ae32f103011"` [INFO] [stdout] e8c0f5a30e12c048a52b964b5e09bc466bc1ce403c146fac8e487ae32f103011