[INFO] crate is_prime 1.0.5 is already in cache [INFO] checking is_prime-1.0.5 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate is_prime 1.0.5 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate is_prime 1.0.5 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate is_prime 1.0.5 [INFO] finished tweaking crates.io crate is_prime 1.0.5 [INFO] tweaked toml for crates.io crate is_prime 1.0.5 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "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] d6f50385cba51a164c23b8481c60179387bf5a1bd3fc1bfcb1f4092cba788e9b [INFO] running `"docker" "start" "-a" "d6f50385cba51a164c23b8481c60179387bf5a1bd3fc1bfcb1f4092cba788e9b"` [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling ramp v0.5.3 [INFO] [stderr] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.5.3/src/mem.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | use std::alloc::{self, Alloc}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Alloc` in `alloc` [INFO] [stderr] | help: a similar name exists in the module: `alloc` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.5.3/src/mem.rs:47:35 [INFO] [stderr] | [INFO] [stderr] 47 | let ret = match alloc::Global.alloc(layout.clone()) { [INFO] [stderr] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::alloc::AllocRef;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ramp-0.5.3/src/mem.rs:64:19 [INFO] [stderr] | [INFO] [stderr] 64 | alloc::Global.dealloc(ptr, layout); [INFO] [stderr] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::alloc::AllocRef;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `ramp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d6f50385cba51a164c23b8481c60179387bf5a1bd3fc1bfcb1f4092cba788e9b"` [INFO] running `"docker" "rm" "-f" "d6f50385cba51a164c23b8481c60179387bf5a1bd3fc1bfcb1f4092cba788e9b"` [INFO] [stdout] d6f50385cba51a164c23b8481c60179387bf5a1bd3fc1bfcb1f4092cba788e9b