[INFO] fetching crate sgx_alloc 1.1.1... [INFO] building sgx_alloc-1.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate sgx_alloc 1.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate sgx_alloc 1.1.1 [INFO] finished tweaking crates.io crate sgx_alloc 1.1.1 [INFO] tweaked toml for crates.io crate sgx_alloc 1.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sgx_alloc 1.1.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cf2faef95c4f2530e8e57b9be75769eb6f8b90e4e2887cd6a94f0c9d5882959 [INFO] running `Command { std: "docker" "start" "-a" "1cf2faef95c4f2530e8e57b9be75769eb6f8b90e4e2887cd6a94f0c9d5882959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cf2faef95c4f2530e8e57b9be75769eb6f8b90e4e2887cd6a94f0c9d5882959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf2faef95c4f2530e8e57b9be75769eb6f8b90e4e2887cd6a94f0c9d5882959", kill_on_drop: false }` [INFO] [stdout] 1cf2faef95c4f2530e8e57b9be75769eb6f8b90e4e2887cd6a94f0c9d5882959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8eeac325035e7bff97d17c898742c27ca58e4a6eab788d5a2d7d222a331e729 [INFO] running `Command { std: "docker" "start" "-a" "b8eeac325035e7bff97d17c898742c27ca58e4a6eab788d5a2d7d222a331e729", kill_on_drop: false }` [INFO] [stderr] Compiling sgx_alloc v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `core::alloc::AllocRef`, `core::alloc::AllocErr` [INFO] [stdout] --> src/system.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | use core::alloc::{GlobalAlloc, AllocRef, AllocErr, Layout}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `AllocErr` in `alloc` [INFO] [stdout] | | help: a similar name exists in the module: `AllocError` [INFO] [stdout] | no `AllocRef` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/system.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/alignalloc.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/rsrvmem.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sgx_alloc` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8eeac325035e7bff97d17c898742c27ca58e4a6eab788d5a2d7d222a331e729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8eeac325035e7bff97d17c898742c27ca58e4a6eab788d5a2d7d222a331e729", kill_on_drop: false }` [INFO] [stdout] b8eeac325035e7bff97d17c898742c27ca58e4a6eab788d5a2d7d222a331e729