[INFO] fetching crate gap_vec 0.1.0...
[INFO] checking gap_vec-0.1.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate gap_vec 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate gap_vec 0.1.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate gap_vec 0.1.0
[INFO] finished tweaking crates.io crate gap_vec 0.1.0
[INFO] tweaked toml for crates.io crate gap_vec 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0703af31c42d00909615187d3e02603ec2eff1d965c53a84f74755d7e0baab9c
[INFO] running `Command { std: "docker" "start" "-a" "0703af31c42d00909615187d3e02603ec2eff1d965c53a84f74755d7e0baab9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0703af31c42d00909615187d3e02603ec2eff1d965c53a84f74755d7e0baab9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0703af31c42d00909615187d3e02603ec2eff1d965c53a84f74755d7e0baab9c", kill_on_drop: false }`
[INFO] [stdout] 0703af31c42d00909615187d3e02603ec2eff1d965c53a84f74755d7e0baab9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6376da5df99bf5dec347da0f79fc1f8b5249889f8985a2aad6a5a7605a79a839
[INFO] running `Command { std: "docker" "start" "-a" "6376da5df99bf5dec347da0f79fc1f8b5249889f8985a2aad6a5a7605a79a839", kill_on_drop: false }`
[INFO] [stderr]     Checking gap_vec v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0603]: module `raw_vec` is private
[INFO] [stdout]   --> src/lib.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | use alloc::raw_vec::RawVec;
[INFO] [stdout]    |            ^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `raw_vec` is defined here
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/lib.rs:232:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `raw_vec` is private
[INFO] [stdout]   --> src/lib.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | use alloc::raw_vec::RawVec;
[INFO] [stdout]    |            ^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `raw_vec` is defined here
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/lib.rs:232:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | #![feature(core_intrinsics, alloc, raw_vec_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: the feature `raw_vec_internals` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 | #![feature(core_intrinsics, alloc, raw_vec_internals)]
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | #![feature(core_intrinsics, alloc, raw_vec_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: the feature `raw_vec_internals` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 | #![feature(core_intrinsics, alloc, raw_vec_internals)]
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 | #![feature(core_intrinsics, alloc, raw_vec_internals)]
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 | #![feature(core_intrinsics, alloc, raw_vec_internals)]
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]    --> src/lib.rs:400:21
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub struct Iter<'a, T: 'a> {
[INFO] [stdout]     |                     ^ unused type parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]    --> src/lib.rs:400:21
[INFO] [stdout]     |
[INFO] [stdout] 400 | pub struct Iter<'a, T: 'a> {
[INFO] [stdout]     |                     ^ unused type parameter
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         self.capacity() - self.gap.len()
[INFO] [stdout]     |         ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |         self.capacity() - self.gap.len()
[INFO] [stdout]     |         ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let raw = self.index_to_raw(index);
[INFO] [stdout]     |                   ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let raw = self.index_to_raw(index);
[INFO] [stdout]     |                   ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:198:18
[INFO] [stdout]     |
[INFO] [stdout] 198 |         if pos > self.len() {
[INFO] [stdout]     |                  ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:198:18
[INFO] [stdout]     |
[INFO] [stdout] 198 |         if pos > self.len() {
[INFO] [stdout]     |                  ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:274:28
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if self.gap.end == self.capacity() {
[INFO] [stdout]     |                            ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:274:28
[INFO] [stdout]     |
[INFO] [stdout] 274 |         if self.gap.end == self.capacity() {
[INFO] [stdout]     |                            ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&T`
[INFO] [stdout]    --> src/lib.rs:354:36
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let elements = indeces.map(|i| unsafe { &*self.space(i) });
[INFO] [stdout]     |                                    ^^^          --------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: try giving this closure an explicit return type
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let elements = indeces.map(|i| -> &T unsafe { &*self.space(i) });
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&T`
[INFO] [stdout]    --> src/lib.rs:354:36
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let elements = indeces.map(|i| unsafe { &*self.space(i) });
[INFO] [stdout]     |                                    ^^^          --------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: try giving this closure an explicit return type
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let elements = indeces.map(|i| -> &T unsafe { &*self.space(i) });
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:387:38
[INFO] [stdout]     |
[INFO] [stdout] 387 |             for i in self.gap.end .. self.capacity() {
[INFO] [stdout]     |                                      ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:387:38
[INFO] [stdout]     |
[INFO] [stdout] 387 |             for i in self.gap.end .. self.capacity() {
[INFO] [stdout]     |                                      ^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:408:24
[INFO] [stdout]     |
[INFO] [stdout] 408 |         if self.pos >= self.buf.len() {
[INFO] [stdout]     |                        ^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:408:24
[INFO] [stdout]     |
[INFO] [stdout] 408 |         if self.pos >= self.buf.len() {
[INFO] [stdout]     |                        ^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:421:9
[INFO] [stdout]     |
[INFO] [stdout] 421 |         Iter { buf: self, pos: 0 }
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Iter`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 421 |         Iter::<T> { buf: self, pos: 0 }
[INFO] [stdout]     |             +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:421:9
[INFO] [stdout]     |
[INFO] [stdout] 421 |         Iter { buf: self, pos: 0 }
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Iter`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 421 |         Iter::<T> { buf: self, pos: 0 }
[INFO] [stdout]     |             +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gap_vec` (lib) due to 11 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `gap_vec` (lib test) due to 11 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6376da5df99bf5dec347da0f79fc1f8b5249889f8985a2aad6a5a7605a79a839", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6376da5df99bf5dec347da0f79fc1f8b5249889f8985a2aad6a5a7605a79a839", kill_on_drop: false }`
[INFO] [stdout] 6376da5df99bf5dec347da0f79fc1f8b5249889f8985a2aad6a5a7605a79a839
