[INFO] fetching crate sgx_serialize 1.1.1... [INFO] documenting sgx_serialize-1.1.1 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate sgx_serialize 1.1.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate sgx_serialize 1.1.1 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sgx_serialize 1.1.1 [INFO] finished tweaking crates.io crate sgx_serialize 1.1.1 [INFO] tweaked toml for crates.io crate sgx_serialize 1.1.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35827c850fe13a755d3f8b716842021159637bbb6358fdc0f82b4708c3bcd19a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "35827c850fe13a755d3f8b716842021159637bbb6358fdc0f82b4708c3bcd19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35827c850fe13a755d3f8b716842021159637bbb6358fdc0f82b4708c3bcd19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35827c850fe13a755d3f8b716842021159637bbb6358fdc0f82b4708c3bcd19a", kill_on_drop: false }` [INFO] [stdout] 35827c850fe13a755d3f8b716842021159637bbb6358fdc0f82b4708c3bcd19a [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3edb7a0ff254d5126b89c7169afab574cf9a38ea57dd39ad4cd028ad4f15c950 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3edb7a0ff254d5126b89c7169afab574cf9a38ea57dd39ad4cd028ad4f15c950", kill_on_drop: false }` [INFO] [stderr] Compiling sgx_build_helper v0.1.3 [INFO] [stderr] Checking sgx_types v1.1.1 [INFO] [stderr] Compiling sgx_tstd v1.1.1 [INFO] [stderr] Checking sgx_demangle v1.1.1 [INFO] [stderr] Checking sgx_alloc v1.1.1 [INFO] [stderr] Compiling hashbrown_tstd v0.7.1 [INFO] [stdout] error[E0407]: method `alloc_zeroed` is not a member of trait `AllocRef` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn alloc_zeroed(&mut self, layout: Layout) [INFO] [stdout] 57 | | -> Result<(NonNull, usize), AllocErr> [INFO] [stdout] 58 | | { [INFO] [stdout] 59 | | if layout.size() == 0 { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ not a member of trait `AllocRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / unsafe fn realloc(&mut self, [INFO] [stdout] 79 | | ptr: core::ptr::NonNull, [INFO] [stdout] 80 | | layout: Layout, [INFO] [stdout] 81 | | new_size: usize) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ not a member of trait `AllocRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(alloc_layout_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #![feature(dropck_eyepatch)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(allocator_api)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `alloc` has 2 parameters but the declaration in trait `core::alloc::AllocRef::alloc` has 3 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] = note: `alloc` from trait: `fn(&mut Self, core::alloc::Layout, core::alloc::AllocInit) -> core::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | ^^^^^ ----------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 83 | / match (layout.size(), new_size) { [INFO] [stdout] 84 | | (0, 0) => Ok((layout.dangling(), 0)), [INFO] [stdout] | | -------------------------- this is found to be of type `core::result::Result<(core::ptr::NonNull, usize), core::alloc::AllocErr>` [INFO] [stdout] 85 | | (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `core::alloc::MemoryBlock` [INFO] [stdout] 86 | | (_, 0) => { [INFO] [stdout] ... | [INFO] [stdout] 92 | | .map(|p| (p, new_size)), [INFO] [stdout] 93 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `core::result::Result<(core::ptr::NonNull, usize), _>` [INFO] [stdout] found enum `core::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::From>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/alignbox.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: ptr.cast().into(), [INFO] [stdout] | ^^^^ the trait `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::From>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/alignbox.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | self.ptr = ptr.cast().into(); [INFO] [stdout] | ^^^^ the trait `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::From>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/alignbox.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | ptr: ptr.into(), [INFO] [stdout] | ^^^^ the trait `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0277, E0308, E0407, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sgx_alloc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3edb7a0ff254d5126b89c7169afab574cf9a38ea57dd39ad4cd028ad4f15c950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edb7a0ff254d5126b89c7169afab574cf9a38ea57dd39ad4cd028ad4f15c950", kill_on_drop: false }` [INFO] [stdout] 3edb7a0ff254d5126b89c7169afab574cf9a38ea57dd39ad4cd028ad4f15c950