[INFO] cloning repository https://github.com/plutolove/rust-datastructure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plutolove/rust-datastructure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2Frust-datastructure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2Frust-datastructure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d448b7dbb5e51719be8a79b161af29c949a64ce2 [INFO] checking plutolove/rust-datastructure against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2Frust-datastructure" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/rust-datastructure on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/plutolove/rust-datastructure already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5d45511b799f44b5ec279c294efcec93ef2c419cb5bee3272158931bb4a7c3b [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" "a5d45511b799f44b5ec279c294efcec93ef2c419cb5bee3272158931bb4a7c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5d45511b799f44b5ec279c294efcec93ef2c419cb5bee3272158931bb4a7c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d45511b799f44b5ec279c294efcec93ef2c419cb5bee3272158931bb4a7c3b", kill_on_drop: false }` [INFO] [stdout] a5d45511b799f44b5ec279c294efcec93ef2c419cb5bee3272158931bb4a7c3b [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f34038c64e3422930eae87a8d427026dc3847352854a49791aa8b3bddaf0af4 [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" "8f34038c64e3422930eae87a8d427026dc3847352854a49791aa8b3bddaf0af4", kill_on_drop: false }` [INFO] [stderr] Checking data-structure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::heap` [INFO] [stdout] --> src/collections/vector.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::heap::{Alloc, Layout, Heap, oom}; [INFO] [stdout] | ^^^^ could not find `heap` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/collections/bitmap.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ((self.bits[index] & (1 << subset)) != 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::heap` [INFO] [stdout] --> src/collections/vector.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::heap::{Alloc, Layout, Heap, oom}; [INFO] [stdout] | ^^^^ could not find `heap` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/collections/bitmap.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ((self.bits[index] & (1 << subset)) != 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/collections/linked_list.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/collections/linked_list.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `Unique<_>` in the current scope [INFO] [stdout] --> src/collections/vector.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | VecPtr{ptr: Unique::empty(), cap: cap} [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/collections/vector.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | let nptr = Heap.realloc(NonNull::from(self.ptr).as_opaque(), layout, cap * elem_size); [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/collections/vector.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe {Heap.dealloc(NonNull::from(self.ptr).as_opaque(), layout);} [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/collections/linked_list.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `into_raw_non_null` found for struct `Box<_, _>` in the current scope [INFO] [stdout] --> src/collections/linked_list.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | let node = Some(Box::into_raw_non_null(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `Box<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `Unique<_>` in the current scope [INFO] [stdout] --> src/collections/vector.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | VecPtr{ptr: Unique::empty(), cap: cap} [INFO] [stdout] | ^^^^^ function or associated item not found in `Unique<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/collections/vector.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | let nptr = Heap.realloc(NonNull::from(self.ptr).as_opaque(), layout, cap * elem_size); [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_opaque` found for struct `NonNull` in the current scope [INFO] [stdout] --> src/collections/vector.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe {Heap.dealloc(NonNull::from(self.ptr).as_opaque(), layout);} [INFO] [stdout] | ^^^^^^^^^ method not found in `NonNull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f34038c64e3422930eae87a8d427026dc3847352854a49791aa8b3bddaf0af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f34038c64e3422930eae87a8d427026dc3847352854a49791aa8b3bddaf0af4", kill_on_drop: false }` [INFO] [stdout] 8f34038c64e3422930eae87a8d427026dc3847352854a49791aa8b3bddaf0af4