[INFO] fetching crate polytope 0.1.2... [INFO] checking polytope-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate polytope 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate polytope 0.1.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate polytope 0.1.2 [INFO] finished tweaking crates.io crate polytope 0.1.2 [INFO] tweaked toml for crates.io crate polytope 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 428f83fa827ec10db050988366f53a4297f7cea18798738e2d898965509e6332 [INFO] running `Command { std: "docker" "start" "-a" "428f83fa827ec10db050988366f53a4297f7cea18798738e2d898965509e6332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "428f83fa827ec10db050988366f53a4297f7cea18798738e2d898965509e6332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428f83fa827ec10db050988366f53a4297f7cea18798738e2d898965509e6332", kill_on_drop: false }` [INFO] [stdout] 428f83fa827ec10db050988366f53a4297f7cea18798738e2d898965509e6332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afa0f8377d008e6921562ddf4a0fa2f41125aa0e9ecce116bf04f5a597bc0abe [INFO] running `Command { std: "docker" "start" "-a" "afa0f8377d008e6921562ddf4a0fa2f41125aa0e9ecce116bf04f5a597bc0abe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Checking polytope v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [$($x:expr),*] => (Box::new([$($x),*])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn new(vertex: V) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Polytope:: { [INFO] [stdout] 105 | vertices: boxed![vertex], [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `boxed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [$($x:expr),*] => (Box::new([$($x),*])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn new(vertex: V) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | elements: boxed![], [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `boxed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | ($x:expr, $y:ty) => ($x.collect::>().into_boxed_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | .map(|mut elems| collect!(elems.drain(..), Element)), Box<[Element]>); [INFO] [stdout] | --------- ---------------------------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polytope` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [$($x:expr),*] => (Box::new([$($x),*])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn new(vertex: V) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Polytope:: { [INFO] [stdout] 105 | vertices: boxed![vertex], [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `boxed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | [$($x:expr),*] => (Box::new([$($x),*])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn new(vertex: V) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | elements: boxed![], [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `boxed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | ($x:expr, $y:ty) => ($x.collect::>().into_boxed_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | .map(|mut elems| collect!(elems.drain(..), Element)), Box<[Element]>); [INFO] [stdout] | --------- ---------------------------------- in this macro invocation [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `collect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:293:41 [INFO] [stdout] | [INFO] [stdout] 293 | assert!(q.vertices[0].coords == Box::new([-1.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:294:41 [INFO] [stdout] | [INFO] [stdout] 294 | assert!(q.vertices[1].coords == Box::new([ 1.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:296:34 [INFO] [stdout] | [INFO] [stdout] 296 | assert!(q.elements[0] == Box::new([Box::new([0, 1])])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | assert!(q.vertices[0].coords == Box::new([-1.0, -2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:308:41 [INFO] [stdout] | [INFO] [stdout] 308 | assert!(q.vertices[1].coords == Box::new([-1.0, 2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:309:41 [INFO] [stdout] | [INFO] [stdout] 309 | assert!(q.vertices[2].coords == Box::new([ 1.0, -2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | assert!(q.vertices[3].coords == Box::new([ 1.0, 2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:312:34 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(q.elements[0] == Box::new([ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 313 | | Box::new([0, 2]), [INFO] [stdout] 314 | | Box::new([1, 3]), [INFO] [stdout] 315 | | Box::new([0, 1]), [INFO] [stdout] 316 | | Box::new([2, 3]), [INFO] [stdout] 317 | | ])); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | assert!(q.elements[1] == Box::new([Box::new([2, 3, 0, 1])])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | assert!(q.vertices[0].coords == Box::new([-1.0, -2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:331:41 [INFO] [stdout] | [INFO] [stdout] 331 | assert!(q.vertices[1].coords == Box::new([-1.0, 2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:332:41 [INFO] [stdout] | [INFO] [stdout] 332 | assert!(q.vertices[2].coords == Box::new([ 1.0, -2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:333:41 [INFO] [stdout] | [INFO] [stdout] 333 | assert!(q.vertices[3].coords == Box::new([ 1.0, 2.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:334:41 [INFO] [stdout] | [INFO] [stdout] 334 | assert!(q.vertices[4].coords == Box::new([ 0.0, 0.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:336:34 [INFO] [stdout] | [INFO] [stdout] 336 | assert!(q.elements[0] == Box::new([ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 337 | | Box::new([0, 2]), [INFO] [stdout] 338 | | Box::new([1, 3]), [INFO] [stdout] 339 | | Box::new([0, 4]), [INFO] [stdout] ... | [INFO] [stdout] 342 | | Box::new([3, 4]), [INFO] [stdout] 343 | | ])); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:344:34 [INFO] [stdout] | [INFO] [stdout] 344 | assert!(q.elements[1] == Box::new([ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 345 | | Box::new([2, 4, 0]), [INFO] [stdout] 346 | | Box::new([3, 5, 1]), [INFO] [stdout] 347 | | ])); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:360:41 [INFO] [stdout] | [INFO] [stdout] 360 | assert!(q.vertices[0].coords == Box::new([-1.0, -2.0, -3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | assert!(q.vertices[1].coords == Box::new([-1.0, -2.0, 3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:362:41 [INFO] [stdout] | [INFO] [stdout] 362 | assert!(q.vertices[2].coords == Box::new([-1.0, 2.0, -3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:363:41 [INFO] [stdout] | [INFO] [stdout] 363 | assert!(q.vertices[3].coords == Box::new([-1.0, 2.0, 3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:364:41 [INFO] [stdout] | [INFO] [stdout] 364 | assert!(q.vertices[4].coords == Box::new([ 1.0, -2.0, -3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 365 | assert!(q.vertices[5].coords == Box::new([ 1.0, -2.0, 3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | assert!(q.vertices[6].coords == Box::new([ 1.0, 2.0, -3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:367:41 [INFO] [stdout] | [INFO] [stdout] 367 | assert!(q.vertices[7].coords == Box::new([ 1.0, 2.0, 3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:368:41 [INFO] [stdout] | [INFO] [stdout] 368 | assert!(q.vertices[8].coords == Box::new([ 0.0, 0.0, -3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:369:41 [INFO] [stdout] | [INFO] [stdout] 369 | assert!(q.vertices[9].coords == Box::new([ 0.0, 0.0, 3.0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:371:34 [INFO] [stdout] | [INFO] [stdout] 371 | assert!(q.elements[0] == Box::new([ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 372 | | Box::new([0, 4]), [INFO] [stdout] 373 | | Box::new([1, 5]), [INFO] [stdout] 374 | | Box::new([2, 6]), [INFO] [stdout] ... | [INFO] [stdout] 388 | | Box::new([8, 9]), [INFO] [stdout] 389 | | ])); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:390:34 [INFO] [stdout] | [INFO] [stdout] 390 | assert!(q.elements[1] == Box::new([ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 391 | | Box::new([4, 8, 0]), [INFO] [stdout] 392 | | Box::new([5, 9, 1]), [INFO] [stdout] 393 | | Box::new([6, 10, 2]), [INFO] [stdout] ... | [INFO] [stdout] 400 | | Box::new([15, 16, 10, 11]), [INFO] [stdout] 401 | | ])); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/lib.rs:402:34 [INFO] [stdout] | [INFO] [stdout] 402 | assert!(q.elements[2] == Box::new([ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 403 | | Box::new([6, 8, 4, 0, 1]), [INFO] [stdout] 404 | | Box::new([7, 9, 5, 2, 3]), [INFO] [stdout] 405 | | ])); [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polytope` (lib test) due to 4 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afa0f8377d008e6921562ddf4a0fa2f41125aa0e9ecce116bf04f5a597bc0abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa0f8377d008e6921562ddf4a0fa2f41125aa0e9ecce116bf04f5a597bc0abe", kill_on_drop: false }` [INFO] [stdout] afa0f8377d008e6921562ddf4a0fa2f41125aa0e9ecce116bf04f5a597bc0abe