[INFO] crate ramp-primes 0.1.0 is already in cache [INFO] checking ramp-primes-0.1.0 against master#3dbade652ed8ebac70f903e01f51cd92c4e4302c for pr-69880 [INFO] extracting crate ramp-primes 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ramp-primes 0.1.0 on toolchain 3dbade652ed8ebac70f903e01f51cd92c4e4302c [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ramp-primes 0.1.0 [INFO] finished tweaking crates.io crate ramp-primes 0.1.0 [INFO] tweaked toml for crates.io crate ramp-primes 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate ramp-primes 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "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] d8ca4f17250e402163675407e700e6dc08b3105e74014da319c0dd251f239bd6 [INFO] running `"docker" "start" "-a" "d8ca4f17250e402163675407e700e6dc08b3105e74014da319c0dd251f239bd6"` [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num-traits v0.1.43 [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" "d8ca4f17250e402163675407e700e6dc08b3105e74014da319c0dd251f239bd6"` [INFO] running `"docker" "rm" "-f" "d8ca4f17250e402163675407e700e6dc08b3105e74014da319c0dd251f239bd6"` [INFO] [stdout] d8ca4f17250e402163675407e700e6dc08b3105e74014da319c0dd251f239bd6