[INFO] fetching crate definitive 0.1.0... [INFO] checking definitive-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate definitive 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate definitive 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate definitive 0.1.0 [INFO] finished tweaking crates.io crate definitive 0.1.0 [INFO] tweaked toml for crates.io crate definitive 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45414c9eb75a6f524509405deffc8001029cf434f8ab07fe11ab81ecaf324ac2 [INFO] running `Command { std: "docker" "start" "-a" "45414c9eb75a6f524509405deffc8001029cf434f8ab07fe11ab81ecaf324ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45414c9eb75a6f524509405deffc8001029cf434f8ab07fe11ab81ecaf324ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45414c9eb75a6f524509405deffc8001029cf434f8ab07fe11ab81ecaf324ac2", kill_on_drop: false }` [INFO] [stdout] 45414c9eb75a6f524509405deffc8001029cf434f8ab07fe11ab81ecaf324ac2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 412ec45dfbf166493bc509af9179c29cf878109c6b619a9609da3de8c3fec885 [INFO] running `Command { std: "docker" "start" "-a" "412ec45dfbf166493bc509af9179c29cf878109c6b619a9609da3de8c3fec885", kill_on_drop: false }` [INFO] [stderr] Checking definitive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #![feature(const_generics, specialization, trivial_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #![feature(const_generics, specialization, trivial_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![feature(adt_const_params)]` and `#![feature(generic_const_exprs)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters with a default must be trailing [INFO] [stdout] --> src/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Vector([T; { N }]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/deref.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | type Target = [T; { N }]; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 4 - type Target = [T; { N }]; [INFO] [stdout] 4 + type Target = [T; N]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/traits.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] 28 + let mut inner: [T; N] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters with a default must be trailing [INFO] [stdout] --> src/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Vector([T; { N }]); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/traits.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 38 - let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] 38 + let mut inner: [T; N] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(components: [T; { N }]) -> Self { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 9 - pub fn new(components: [T; { N }]) -> Self { [INFO] [stdout] 9 + pub fn new(components: [T; N]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner: [T; { M }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - let mut inner: [T; { M }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] 19 + let mut inner: [T; M] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Vector([T; { N }]); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 70 - pub struct Vector([T; { N }]); [INFO] [stdout] 70 + pub struct Vector([T; N]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | impl From<[T; { N }]> for Vector { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 72 - impl From<[T; { N }]> for Vector { [INFO] [stdout] 72 + impl From<[T; N]> for Vector { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | fn from(v: [T; { N }]) -> Self { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 73 - fn from(v: [T; { N }]) -> Self { [INFO] [stdout] 73 + fn from(v: [T; N]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/add.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | Vector::::new([]) + Vector::new([]), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 51 - Vector::::new([]) + Vector::new([]), [INFO] [stdout] 51 + Vector::::new([]) + Vector::new([]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/add_assign.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let mut v = Vector::::from([]); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 23 - let mut v = Vector::::from([]); [INFO] [stdout] 23 + let mut v = Vector::::from([]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/deref.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | type Target = [T; { N }]; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 4 - type Target = [T; { N }]; [INFO] [stdout] 4 + type Target = [T; N]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/traits.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 28 - let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] 28 + let mut inner: [T; N] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/traits.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 38 - let mut inner: [T; { N }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] 38 + let mut inner: [T; N] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(components: [T; { N }]) -> Self { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 9 - pub fn new(components: [T; { N }]) -> Self { [INFO] [stdout] 9 + pub fn new(components: [T; N]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner: [T; { M }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - let mut inner: [T; { M }] = unsafe { core::mem::zeroed() }; [INFO] [stdout] 19 + let mut inner: [T; M] = unsafe { core::mem::zeroed() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Vector([T; { N }]); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 70 - pub struct Vector([T; { N }]); [INFO] [stdout] 70 + pub struct Vector([T; N]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | impl From<[T; { N }]> for Vector { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 72 - impl From<[T; { N }]> for Vector { [INFO] [stdout] 72 + impl From<[T; N]> for Vector { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | fn from(v: [T; { N }]) -> Self { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 73 - fn from(v: [T; { N }]) -> Self { [INFO] [stdout] 73 + fn from(v: [T; N]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `definitive` (lib) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `definitive` (lib test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "412ec45dfbf166493bc509af9179c29cf878109c6b619a9609da3de8c3fec885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412ec45dfbf166493bc509af9179c29cf878109c6b619a9609da3de8c3fec885", kill_on_drop: false }` [INFO] [stdout] 412ec45dfbf166493bc509af9179c29cf878109c6b619a9609da3de8c3fec885