[INFO] fetching crate luos_memory_sandbox 0.0.1... [INFO] checking luos_memory_sandbox-0.0.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate luos_memory_sandbox 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate luos_memory_sandbox 0.0.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate luos_memory_sandbox 0.0.1 [INFO] finished tweaking crates.io crate luos_memory_sandbox 0.0.1 [INFO] tweaked toml for crates.io crate luos_memory_sandbox 0.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97d61883d0cfb079a108ce16032fc00d70a81728bc5e8e6d90cb66a7590ee4a0 [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" "97d61883d0cfb079a108ce16032fc00d70a81728bc5e8e6d90cb66a7590ee4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d61883d0cfb079a108ce16032fc00d70a81728bc5e8e6d90cb66a7590ee4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d61883d0cfb079a108ce16032fc00d70a81728bc5e8e6d90cb66a7590ee4a0", kill_on_drop: false }` [INFO] [stdout] 97d61883d0cfb079a108ce16032fc00d70a81728bc5e8e6d90cb66a7590ee4a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7bb3021eff3f9dd1c8df80406a4489fc6cdbdf57f902311c49c1f567f40bb91 [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" "b7bb3021eff3f9dd1c8df80406a4489fc6cdbdf57f902311c49c1f567f40bb91", kill_on_drop: false }` [INFO] [stderr] Checking luos_memory_sandbox v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `std::alloc::Alloc`, `std::alloc::AllocErr` [INFO] [stdout] --> src/mem_sandbox.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::{Alloc, GlobalAlloc, Layout, AllocErr}; [INFO] [stdout] | ^^^^^ no `Alloc` in `alloc` ^^^^^^^^ no `AllocErr` in `alloc` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::{alloc, GlobalAlloc, Layout, AllocErr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::{Alloc, GlobalAlloc, Layout, AllocError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `luos_memory_sandbox` [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] [stdout] error[E0432]: unresolved imports `std::alloc::Alloc`, `std::alloc::AllocErr` [INFO] [stdout] --> src/mem_sandbox.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::{Alloc, GlobalAlloc, Layout, AllocErr}; [INFO] [stdout] | ^^^^^ no `Alloc` in `alloc` ^^^^^^^^ no `AllocErr` in `alloc` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::{alloc, GlobalAlloc, Layout, AllocErr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::{Alloc, GlobalAlloc, Layout, AllocError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/mem_sandbox.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | use std::alloc::{Alloc, Layout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/mem_sandbox.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 332 | use std::alloc::{Alloc, Layout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/mem_sandbox.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | use std::alloc::{Alloc, Layout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7bb3021eff3f9dd1c8df80406a4489fc6cdbdf57f902311c49c1f567f40bb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bb3021eff3f9dd1c8df80406a4489fc6cdbdf57f902311c49c1f567f40bb91", kill_on_drop: false }` [INFO] [stdout] b7bb3021eff3f9dd1c8df80406a4489fc6cdbdf57f902311c49c1f567f40bb91