[INFO] fetching crate default-vec 0.2.0... [INFO] checking default-vec-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate default-vec 0.2.0 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate default-vec 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14401e58cbbcbb78499cb2aa6f2c6c739c4ab91c26ff96acb80900c5cc19854c [INFO] running `Command { std: "docker" "start" "-a" "14401e58cbbcbb78499cb2aa6f2c6c739c4ab91c26ff96acb80900c5cc19854c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14401e58cbbcbb78499cb2aa6f2c6c739c4ab91c26ff96acb80900c5cc19854c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14401e58cbbcbb78499cb2aa6f2c6c739c4ab91c26ff96acb80900c5cc19854c", kill_on_drop: false }` [INFO] [stdout] 14401e58cbbcbb78499cb2aa6f2c6c739c4ab91c26ff96acb80900c5cc19854c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9ac4baf9b61a6aec51798c643d1ee86bb51f129471d1d4c78c8c7d662932ec7 [INFO] running `Command { std: "docker" "start" "-a" "d9ac4baf9b61a6aec51798c643d1ee86bb51f129471d1d4c78c8c7d662932ec7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/lib.rs:207:1 [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] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/lib.rs:207:1 [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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(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:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(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] 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 of the 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 generic argument [INFO] [stdout] | [INFO] [stdout] 5 | let mut vec = DefaultVec::::new(); [INFO] [stdout] | +++++ [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] [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 associated function [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 associated function [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: could not compile `default-vec` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 of the 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 generic argument [INFO] [stdout] | [INFO] [stdout] 40 | let mut vec = DefaultVec::::new(); [INFO] [stdout] | +++++ [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] [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 associated function [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 associated function [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: could not compile `default-vec` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d9ac4baf9b61a6aec51798c643d1ee86bb51f129471d1d4c78c8c7d662932ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ac4baf9b61a6aec51798c643d1ee86bb51f129471d1d4c78c8c7d662932ec7", kill_on_drop: false }` [INFO] [stdout] d9ac4baf9b61a6aec51798c643d1ee86bb51f129471d1d4c78c8c7d662932ec7