[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 master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2Frust-datastructure" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/rust-datastructure on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking plutolove/rust-datastructure against try#3832a95f57d4260fb5641e183906f49b4e5c6bdd for pr-119369 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutolove%2Frust-datastructure" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plutolove/rust-datastructure on toolchain 3832a95f57d4260fb5641e183906f49b4e5c6bdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f6fd3c6d6bde5b2b2ce43f9577c859bcd0f4378748917cb6b1afd80847f765 [INFO] running `Command { std: "docker" "start" "-a" "80f6fd3c6d6bde5b2b2ce43f9577c859bcd0f4378748917cb6b1afd80847f765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f6fd3c6d6bde5b2b2ce43f9577c859bcd0f4378748917cb6b1afd80847f765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f6fd3c6d6bde5b2b2ce43f9577c859bcd0f4378748917cb6b1afd80847f765", kill_on_drop: false }` [INFO] [stdout] 80f6fd3c6d6bde5b2b2ce43f9577c859bcd0f4378748917cb6b1afd80847f765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3832a95f57d4260fb5641e183906f49b4e5c6bdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bd78636ed4ffb85e5c3487e9adcb197b4a7c5f6fb73245a908b3d7e4e9e7874 [INFO] running `Command { std: "docker" "start" "-a" "6bd78636ed4ffb85e5c3487e9adcb197b4a7c5f6fb73245a908b3d7e4e9e7874", 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] 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: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - ((self.bits[index] & (1 << subset)) != 0) [INFO] [stdout] 37 + (self.bits[index] & (1 << subset)) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - ((self.bits[index] & (1 << subset)) != 0) [INFO] [stdout] 37 + (self.bits[index] & (1 << subset)) != 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `box_into_raw_non_null` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_into_raw_non_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(unique)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `box_into_raw_non_null` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_into_raw_non_null)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(unique)] [INFO] [stdout] | ^^^^^^ [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] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 18 others [INFO] [stdout] --> /rustc/3832a95f57d4260fb5641e183906f49b4e5c6bdd/library/alloc/src/boxed.rs:215:5 [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] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 18 others [INFO] [stdout] --> /rustc/3832a95f57d4260fb5641e183906f49b4e5c6bdd/library/alloc/src/boxed.rs:215:5 [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] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 18 others [INFO] [stdout] --> /rustc/3832a95f57d4260fb5641e183906f49b4e5c6bdd/library/alloc/src/boxed.rs:215:5 [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] note: if you're trying to build a new `Box<_, _>` consider using one of the following associated functions: [INFO] [stdout] Box::::new [INFO] [stdout] Box::::new_uninit [INFO] [stdout] Box::::new_zeroed [INFO] [stdout] Box::::try_new [INFO] [stdout] and 18 others [INFO] [stdout] --> /rustc/3832a95f57d4260fb5641e183906f49b4e5c6bdd/library/alloc/src/boxed.rs:215:5 [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] note: if you're trying to build a new `Unique<_>` consider using one of the following associated functions: [INFO] [stdout] Unique::::dangling [INFO] [stdout] Unique::::new_unchecked [INFO] [stdout] Unique::::new [INFO] [stdout] --> /rustc/3832a95f57d4260fb5641e183906f49b4e5c6bdd/library/core/src/ptr/unique.rs:73:5 [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] note: if you're trying to build a new `Unique<_>` consider using one of the following associated functions: [INFO] [stdout] Unique::::dangling [INFO] [stdout] Unique::::new_unchecked [INFO] [stdout] Unique::::new [INFO] [stdout] --> /rustc/3832a95f57d4260fb5641e183906f49b4e5c6bdd/library/core/src/ptr/unique.rs:73:5 [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: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[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 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `data-structure` (lib) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `data-structure` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bd78636ed4ffb85e5c3487e9adcb197b4a7c5f6fb73245a908b3d7e4e9e7874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd78636ed4ffb85e5c3487e9adcb197b4a7c5f6fb73245a908b3d7e4e9e7874", kill_on_drop: false }` [INFO] [stdout] 6bd78636ed4ffb85e5c3487e9adcb197b4a7c5f6fb73245a908b3d7e4e9e7874