[INFO] crate kg-js 0.1.1 is already in cache [INFO] checking kg-js-0.1.1 against try#8a5e87609850cdd8679aada01eb0f3062f254ca8 for pr-71140 [INFO] extracting crate kg-js 0.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate kg-js 0.1.1 on toolchain 8a5e87609850cdd8679aada01eb0f3062f254ca8 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate kg-js 0.1.1 [INFO] finished tweaking crates.io crate kg-js 0.1.1 [INFO] tweaked toml for crates.io crate kg-js 0.1.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+8a5e87609850cdd8679aada01eb0f3062f254ca8" "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] 76b22cdcd80ac345b0aa82c098397f987b6fe4d187886558b1bbbd835553c18c [INFO] running `"docker" "start" "-a" "76b22cdcd80ac345b0aa82c098397f987b6fe4d187886558b1bbbd835553c18c"` [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling synstructure v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling kg-js v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Checking nom v5.1.1 [INFO] [stderr] Compiling heapsize_derive v0.1.4 [INFO] [stderr] Checking kg-utils v0.3.1 [INFO] [stderr] Compiling kg-utils v0.2.4 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking kg-symbol v0.1.10 [INFO] [stderr] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/kg-symbol-0.1.10/src/lib.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | use std::alloc::{Layout, Alloc, Global, handle_alloc_error}; [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/kg-symbol-0.1.10/src/lib.rs:56:31 [INFO] [stderr] | [INFO] [stderr] 56 | let data = Global.alloc(layout).unwrap_or_else(|_| handle_alloc_error(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] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 6 | use std::alloc::AllocRef; [INFO] [stderr] | [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/kg-symbol-0.1.10/src/lib.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | Global.dealloc(self.0, 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] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 6 | use std::alloc::AllocRef; [INFO] [stderr] | [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 `kg-symbol`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "76b22cdcd80ac345b0aa82c098397f987b6fe4d187886558b1bbbd835553c18c"` [INFO] running `"docker" "rm" "-f" "76b22cdcd80ac345b0aa82c098397f987b6fe4d187886558b1bbbd835553c18c"` [INFO] [stdout] 76b22cdcd80ac345b0aa82c098397f987b6fe4d187886558b1bbbd835553c18c