[INFO] crate sgx_tunittest 1.1.1 is already in cache
[INFO] checking sgx_tunittest-1.1.1 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate sgx_tunittest 1.1.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate sgx_tunittest 1.1.1 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate sgx_tunittest 1.1.1
[INFO] finished tweaking crates.io crate sgx_tunittest 1.1.1
[INFO] tweaked toml for crates.io crate sgx_tunittest 1.1.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7fa26578142d3cbe50a7d05bd01a2036b846850352b20f3b84b5f26dd331a40b
[INFO] running `"docker" "start" "-a" "7fa26578142d3cbe50a7d05bd01a2036b846850352b20f3b84b5f26dd331a40b"`
[INFO] [stderr]    Compiling sgx_build_helper v0.1.3
[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]     Checking sgx_libc v1.1.1
[INFO] [stderr]    Compiling hashbrown_tstd v0.7.1
[INFO] [stderr] error[E0407]: method `alloc_zeroed` is not a member of trait `AllocRef`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     fn alloc_zeroed(&mut self, layout: Layout)
[INFO] [stderr] 57 | |         -> Result<(NonNull<u8>, usize), AllocErr>
[INFO] [stderr] 58 | |     {
[INFO] [stderr] 59 | |         if layout.size() == 0 {
[INFO] [stderr] ...  |
[INFO] [stderr] 67 | |         }
[INFO] [stderr] 68 | |     }
[INFO] [stderr]    | |_____^ not a member of trait `AllocRef`
[INFO] [stderr] 
[INFO] [stderr] error[E0407]: method `realloc` is not a member of trait `AllocRef`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 78 | /     unsafe fn realloc(&mut self,
[INFO] [stderr] 79 | |                       ptr: core::ptr::NonNull<u8>,
[INFO] [stderr] 80 | |                       layout: Layout,
[INFO] [stderr] 81 | |                       new_size: usize) -> Result<(NonNull<u8>, usize), AllocErr> {
[INFO] [stderr] ...  |
[INFO] [stderr] 93 | |         }
[INFO] [stderr] 94 | |     }
[INFO] [stderr]    | |_____^ not a member of trait `AllocRef`
[INFO] [stderr] 
[INFO] [stderr] error[E0050]: method `alloc` has 2 parameters but the declaration in trait `core::alloc::AllocRef::alloc` has 3
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:43:14
[INFO] [stderr]    |
[INFO] [stderr] 43 |     fn alloc(&mut self, layout: Layout) -> Result<(NonNull<u8>, usize), AllocErr> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2
[INFO] [stderr]    |
[INFO] [stderr]    = note: `alloc` from trait: `fn(&mut Self, core::alloc::Layout, core::alloc::AllocInit) -> core::result::Result<core::alloc::MemoryBlock, core::alloc::AllocErr>`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:85:28
[INFO] [stderr]    |
[INFO] [stderr] 85 |             (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())),
[INFO] [stderr]    |                            ^^^^^ ----------------------------------------------------------- supplied 1 argument
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            expected 2 arguments
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: `match` arms have incompatible types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:85:23
[INFO] [stderr]    |
[INFO] [stderr] 83 | /         match (layout.size(), new_size) {
[INFO] [stderr] 84 | |             (0, 0) => Ok((layout.dangling(), 0)),
[INFO] [stderr]    | |                       -------------------------- this is found to be of type `core::result::Result<(core::ptr::NonNull<u8>, usize), core::alloc::AllocErr>`
[INFO] [stderr] 85 | |             (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())),
[INFO] [stderr]    | |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `core::alloc::MemoryBlock`
[INFO] [stderr] 86 | |             (_, 0) => {
[INFO] [stderr] ...  |
[INFO] [stderr] 92 | |                 .map(|p| (p, new_size)),
[INFO] [stderr] 93 | |         }
[INFO] [stderr]    | |_________- `match` arms have incompatible types
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected enum `core::result::Result<(core::ptr::NonNull<u8>, usize), _>`
[INFO] [stderr]               found enum `core::result::Result<core::alloc::MemoryBlock, _>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0050, E0061, E0308, E0407.
[INFO] [stderr] For more information about an error, try `rustc --explain E0050`.
[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 `"docker" "inspect" "7fa26578142d3cbe50a7d05bd01a2036b846850352b20f3b84b5f26dd331a40b"`
[INFO] running `"docker" "rm" "-f" "7fa26578142d3cbe50a7d05bd01a2036b846850352b20f3b84b5f26dd331a40b"`
[INFO] [stdout] 7fa26578142d3cbe50a7d05bd01a2036b846850352b20f3b84b5f26dd331a40b
