[INFO] fetching crate sgx_alloc 1.1.1... [INFO] checking sgx_alloc-1.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate sgx_alloc 1.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate sgx_alloc 1.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6213f38b66590775b09e4dbecca6ffafed6a66b7729a43ac87928612a58aabd2 [INFO] running `Command { std: "docker" "start" "-a" "6213f38b66590775b09e4dbecca6ffafed6a66b7729a43ac87928612a58aabd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6213f38b66590775b09e4dbecca6ffafed6a66b7729a43ac87928612a58aabd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6213f38b66590775b09e4dbecca6ffafed6a66b7729a43ac87928612a58aabd2", kill_on_drop: false }` [INFO] [stdout] 6213f38b66590775b09e4dbecca6ffafed6a66b7729a43ac87928612a58aabd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c1ea9cd986b95e0e24d5b9f4730d4fbd6bc08e7bd258633b12806733d0dbef [INFO] running `Command { std: "docker" "start" "-a" "a3c1ea9cd986b95e0e24d5b9f4730d4fbd6bc08e7bd258633b12806733d0dbef", kill_on_drop: false }` [INFO] [stderr] Checking 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: the item `libc` is imported redundantly [INFO] [stdout] --> src/system.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `libc` is already imported here [INFO] [stdout] 121 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GlobalAlloc` is imported redundantly [INFO] [stdout] --> src/system.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `GlobalAlloc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 124 | use core::alloc::{GlobalAlloc, Layout}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Layout` is imported redundantly [INFO] [stdout] --> src/system.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `Layout` is already imported here [INFO] [stdout] ... [INFO] [stdout] 124 | use core::alloc::{GlobalAlloc, Layout}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: the item `libc` is imported redundantly [INFO] [stdout] --> src/system.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `libc` is already imported here [INFO] [stdout] 121 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GlobalAlloc` is imported redundantly [INFO] [stdout] --> src/system.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `GlobalAlloc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 124 | use core::alloc::{GlobalAlloc, Layout}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Layout` is imported redundantly [INFO] [stdout] --> src/system.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `Layout` is already imported here [INFO] [stdout] ... [INFO] [stdout] 124 | use core::alloc::{GlobalAlloc, Layout}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [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 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [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 test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3c1ea9cd986b95e0e24d5b9f4730d4fbd6bc08e7bd258633b12806733d0dbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c1ea9cd986b95e0e24d5b9f4730d4fbd6bc08e7bd258633b12806733d0dbef", kill_on_drop: false }` [INFO] [stdout] a3c1ea9cd986b95e0e24d5b9f4730d4fbd6bc08e7bd258633b12806733d0dbef