[INFO] fetching crate default-vec 0.2.0... [INFO] checking default-vec-0.2.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate default-vec 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate default-vec 0.2.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate default-vec 0.2.0 [INFO] finished tweaking crates.io crate default-vec 0.2.0 [INFO] tweaked toml for crates.io crate default-vec 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dedbd0f88278cb490f3f65cfb2dfe17f1ad3b9969e21fc26ff0d25744534a137 [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" "dedbd0f88278cb490f3f65cfb2dfe17f1ad3b9969e21fc26ff0d25744534a137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dedbd0f88278cb490f3f65cfb2dfe17f1ad3b9969e21fc26ff0d25744534a137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dedbd0f88278cb490f3f65cfb2dfe17f1ad3b9969e21fc26ff0d25744534a137", kill_on_drop: false }` [INFO] [stdout] dedbd0f88278cb490f3f65cfb2dfe17f1ad3b9969e21fc26ff0d25744534a137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334b9ba2e52b7a1dc3ba29a88dc985a61987a5c49b4ac1f382fe6a72376cacd0 [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" "334b9ba2e52b7a1dc3ba29a88dc985a61987a5c49b4ac1f382fe6a72376cacd0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking default-vec v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: module `raw_vec` is private [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `raw_vec` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `raw_vec` is private [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `raw_vec` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DefaultVec::default() [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the struct `DefaultVec` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec` [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 19 | DefaultVec::::default() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | if idx < self.capacity() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec::::capacity` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | for i in start..self.capacity() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec::::capacity` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DefaultVec::default() [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the struct `DefaultVec` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec` [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 19 | DefaultVec::::default() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | if idx < self.capacity() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec::::capacity` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | for i in start..self.capacity() { [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec::::capacity` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec::::capacity` [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn capacity(&self) -> usize { [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `default-vec` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec = DefaultVec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec::::new` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec::::new` [INFO] [stdout] 17 | /// Creates an empty vector. [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let mut vec = DefaultVec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `DefaultVec::::new` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl DefaultVec { [INFO] [stdout] | ^^^^^^^ required by this bound in `DefaultVec::::new` [INFO] [stdout] 17 | /// Creates an empty vector. [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "334b9ba2e52b7a1dc3ba29a88dc985a61987a5c49b4ac1f382fe6a72376cacd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334b9ba2e52b7a1dc3ba29a88dc985a61987a5c49b4ac1f382fe6a72376cacd0", kill_on_drop: false }` [INFO] [stdout] 334b9ba2e52b7a1dc3ba29a88dc985a61987a5c49b4ac1f382fe6a72376cacd0