[INFO] fetching crate null-vec 0.1.0... [INFO] checking null-vec-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate null-vec 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate null-vec 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate null-vec 0.1.0 [INFO] finished tweaking crates.io crate null-vec 0.1.0 [INFO] tweaked toml for crates.io crate null-vec 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbafd6561d758cb8bf90d16e5d78a12084b2af34f72e4db2190b323da3e803e0 [INFO] running `Command { std: "docker" "start" "-a" "bbafd6561d758cb8bf90d16e5d78a12084b2af34f72e4db2190b323da3e803e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbafd6561d758cb8bf90d16e5d78a12084b2af34f72e4db2190b323da3e803e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbafd6561d758cb8bf90d16e5d78a12084b2af34f72e4db2190b323da3e803e0", kill_on_drop: false }` [INFO] [stdout] bbafd6561d758cb8bf90d16e5d78a12084b2af34f72e4db2190b323da3e803e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2a9d93c17388205f3bb10ee9df4238375a5cab4962f2bb60d53e12fba88ee70 [INFO] running `Command { std: "docker" "start" "-a" "e2a9d93c17388205f3bb10ee9df4238375a5cab4962f2bb60d53e12fba88ee70", kill_on_drop: false }` [INFO] [stderr] Checking null-vec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | raw: RawVec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | NullVec { raw: RawVec::new() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vec = NullVec { raw: RawVec::with_capacity(cap) }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | raw: RawVec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | NullVec { raw: RawVec::new() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vec = NullVec { raw: RawVec::with_capacity(cap) }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | NullVec { raw: RawVec::new() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vec = NullVec { raw: RawVec::with_capacity(cap) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | NullVec { raw: RawVec::new() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vec = NullVec { raw: RawVec::with_capacity(cap) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | for i in 0..vec.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let cap = self.raw.cap(); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | self.raw.reserve(cap, idx - cap + 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | for i in cap..self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | if idx < self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | if idx < self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | for i in 0..vec.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | for i in start..self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let cap = self.raw.cap(); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | self.raw.reserve(cap, idx - cap + 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | return self.raw.cap() [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | for i in cap..self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | &*self.raw.ptr().offset(idx as isize) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | &mut *self.raw.ptr().offset(idx as isize) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | if idx < self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `null-vec` due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | if idx < self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | for i in start..self.raw.cap() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/lib.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | return self.raw.cap() [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | &*self.raw.ptr().offset(idx as isize) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/lib.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | &mut *self.raw.ptr().offset(idx as isize) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e2a9d93c17388205f3bb10ee9df4238375a5cab4962f2bb60d53e12fba88ee70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a9d93c17388205f3bb10ee9df4238375a5cab4962f2bb60d53e12fba88ee70", kill_on_drop: false }` [INFO] [stdout] e2a9d93c17388205f3bb10ee9df4238375a5cab4962f2bb60d53e12fba88ee70