[INFO] updating cached repository https://github.com/plutolove/rust-datastructure [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d448b7dbb5e51719be8a79b161af29c949a64ce2 [INFO] checking plutolove/rust-datastructure against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2Frust-datastructure" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/rust-datastructure on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/plutolove/rust-datastructure [INFO] finished tweaking git repo https://github.com/plutolove/rust-datastructure [INFO] tweaked toml for git repo https://github.com/plutolove/rust-datastructure written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/plutolove/rust-datastructure already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d7b51666469c792a8a3f40849607739bae1e705e" "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] e7f2cc9b0266e3ddf29961874e7fa93eb1b1363b97f65e99e7ee12522b542602 [INFO] running `"docker" "start" "-a" "e7f2cc9b0266e3ddf29961874e7fa93eb1b1363b97f65e99e7ee12522b542602"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking data-structure v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::heap` [INFO] [stderr] --> src/collections/vector.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::heap::{Alloc, Layout, Heap, oom}; [INFO] [stderr] | ^^^^ could not find `heap` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::heap` [INFO] [stderr] --> src/collections/vector.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::heap::{Alloc, Layout, Heap, oom}; [INFO] [stderr] | ^^^^ could not find `heap` in `std` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/collections/bitmap.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | ((self.bits[index] & (1 << subset)) != 0) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/collections/bitmap.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | ((self.bits[index] & (1 << subset)) != 0) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::boxed::Box::::into_raw_non_null': use `Box::leak(b).into()` or `NonNull::from(Box::leak(b))` instead [INFO] [stderr] --> src/collections/linked_list.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::boxed::Box::::into_raw_non_null': use `Box::leak(b).into()` or `NonNull::from(Box::leak(b))` instead [INFO] [stderr] --> src/collections/linked_list.rs:84:29 [INFO] [stderr] | [INFO] [stderr] 84 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::boxed::Box::::into_raw_non_null': use `Box::leak(b).into()` or `NonNull::from(Box::leak(b))` instead [INFO] [stderr] --> src/collections/linked_list.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::boxed::Box::::into_raw_non_null': use `Box::leak(b).into()` or `NonNull::from(Box::leak(b))` instead [INFO] [stderr] --> src/collections/linked_list.rs:84:29 [INFO] [stderr] | [INFO] [stderr] 84 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `empty` found for struct `std::ptr::Unique<_>` in the current scope [INFO] [stderr] --> src/collections/vector.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | VecPtr{ptr: Unique::empty(), cap: cap} [INFO] [stderr] | ^^^^^ function or associated item not found in `std::ptr::Unique<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_opaque` found for struct `std::ptr::NonNull` in the current scope [INFO] [stderr] --> src/collections/vector.rs:35:69 [INFO] [stderr] | [INFO] [stderr] 35 | let nptr = Heap.realloc(NonNull::from(self.ptr).as_opaque(), layout, cap * elem_size); [INFO] [stderr] | ^^^^^^^^^ method not found in `std::ptr::NonNull` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_opaque` found for struct `std::ptr::NonNull` in the current scope [INFO] [stderr] --> src/collections/vector.rs:63:62 [INFO] [stderr] | [INFO] [stderr] 63 | unsafe {Heap.dealloc(NonNull::from(self.ptr).as_opaque(), layout);} [INFO] [stderr] | ^^^^^^^^^ method not found in `std::ptr::NonNull` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `empty` found for struct `std::ptr::Unique<_>` in the current scope [INFO] [stderr] --> src/collections/vector.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | VecPtr{ptr: Unique::empty(), cap: cap} [INFO] [stderr] | ^^^^^ function or associated item not found in `std::ptr::Unique<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_opaque` found for struct `std::ptr::NonNull` in the current scope [INFO] [stderr] --> src/collections/vector.rs:35:69 [INFO] [stderr] | [INFO] [stderr] 35 | let nptr = Heap.realloc(NonNull::from(self.ptr).as_opaque(), layout, cap * elem_size); [INFO] [stderr] | ^^^^^^^^^ method not found in `std::ptr::NonNull` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 3 warnings emitted [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[E0599]: no method named `as_opaque` found for struct `std::ptr::NonNull` in the current scope [INFO] [stderr] --> src/collections/vector.rs:63:62 [INFO] [stderr] | [INFO] [stderr] 63 | unsafe {Heap.dealloc(NonNull::from(self.ptr).as_opaque(), layout);} [INFO] [stderr] | ^^^^^^^^^ method not found in `std::ptr::NonNull` [INFO] [stderr] [INFO] [stderr] error: could not compile `data-structure`. [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: aborting due to 4 previous errors; 3 warnings emitted [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 `data-structure`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e7f2cc9b0266e3ddf29961874e7fa93eb1b1363b97f65e99e7ee12522b542602"` [INFO] running `"docker" "rm" "-f" "e7f2cc9b0266e3ddf29961874e7fa93eb1b1363b97f65e99e7ee12522b542602"` [INFO] [stdout] e7f2cc9b0266e3ddf29961874e7fa93eb1b1363b97f65e99e7ee12522b542602