[INFO] fetching crate allocator_api 0.6.0... [INFO] checking allocator_api-0.6.0 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate allocator_api 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate allocator_api 0.6.0 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate allocator_api 0.6.0 [INFO] finished tweaking crates.io crate allocator_api 0.6.0 [INFO] tweaked toml for crates.io crate allocator_api 0.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a041a747197a01def8ffb3dfc206028c880dbd0b0ad320af20312ff07c979202 [INFO] running `Command { std: "docker" "start" "-a" "a041a747197a01def8ffb3dfc206028c880dbd0b0ad320af20312ff07c979202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a041a747197a01def8ffb3dfc206028c880dbd0b0ad320af20312ff07c979202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a041a747197a01def8ffb3dfc206028c880dbd0b0ad320af20312ff07c979202", kill_on_drop: false }` [INFO] [stdout] a041a747197a01def8ffb3dfc206028c880dbd0b0ad320af20312ff07c979202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c7de291bd15ac37fc209680efaa03593e81b0ed53aaa3410f298162b123debc [INFO] running `Command { std: "docker" "start" "-a" "5c7de291bd15ac37fc209680efaa03593e81b0ed53aaa3410f298162b123debc", kill_on_drop: false }` [INFO] [stderr] Checking allocator_api v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/liballoc/boxed.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | /// A pointer type for heap allocation. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/liballoc/raw_vec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / /// A low-level utility for more ergonomically allocating, reallocating, and deallocating [INFO] [stdout] 16 | | /// a buffer of memory on the heap without having to worry about all the corner cases [INFO] [stdout] 17 | | /// involved. This type is excellent for building your own data structures like Vec and VecDeque. [INFO] [stdout] 18 | | /// In particular: [INFO] [stdout] ... | [INFO] [stdout] 40 | | /// field. This allows zero-sized types to not be special-cased by consumers of [INFO] [stdout] 41 | | /// this type. [INFO] [stdout] | |_-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/liballoc/raw_vec.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `global_alloc` [INFO] [stdout] --> src/liballoc/raw_vec.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | global_alloc! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alloc::*` [INFO] [stdout] --> src/liballoc/raw_vec.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 764 | pub use crate::alloc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | pub use core::alloc::{Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn layouterr() -> LayoutErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | fn repeat(&self, n: usize) -> Result<(Self, usize), LayoutErr>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | fn array(n: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:87:57 [INFO] [stdout] | [INFO] [stdout] 87 | fn repeat(&self, n: usize) -> Result<(Self, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | fn array(n: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/liballoc/collections/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{AllocErr, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/liballoc/collections/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | impl From for CollectionAllocErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/liballoc/collections/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(_: LayoutErr) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/liballoc/boxed.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | /// A pointer type for heap allocation. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/liballoc/raw_vec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / /// A low-level utility for more ergonomically allocating, reallocating, and deallocating [INFO] [stdout] 16 | | /// a buffer of memory on the heap without having to worry about all the corner cases [INFO] [stdout] 17 | | /// involved. This type is excellent for building your own data structures like Vec and VecDeque. [INFO] [stdout] 18 | | /// In particular: [INFO] [stdout] ... | [INFO] [stdout] 40 | | /// field. This allows zero-sized types to not be special-cased by consumers of [INFO] [stdout] 41 | | /// this type. [INFO] [stdout] | |_-------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> src/liballoc/raw_vec.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[allow(missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `global_alloc` [INFO] [stdout] --> src/liballoc/raw_vec.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | global_alloc! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | pub use core::alloc::{Layout, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn layouterr() -> LayoutErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | fn repeat(&self, n: usize) -> Result<(Self, usize), LayoutErr>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | fn array(n: usize) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:87:57 [INFO] [stdout] | [INFO] [stdout] 87 | fn repeat(&self, n: usize) -> Result<(Self, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/libcore/alloc.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | fn array(n: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/liballoc/collections/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{AllocErr, LayoutErr}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/liballoc/collections/mod.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | impl From for CollectionAllocErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/liballoc/collections/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(_: LayoutErr) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::ptr::NonNull` to `core::ptr::NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | ptr: ptr.into(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::ptr::NonNull` to `core::ptr::NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:322:46 [INFO] [stdout] | [INFO] [stdout] 322 | Ok(ptr) => (new_cap, ptr.cast().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::ptr::NonNull` to `core::ptr::NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | Ok(ptr) => (new_cap, ptr.into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::ptr::NonNull` to `core::ptr::NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:617:41 [INFO] [stdout] | [INFO] [stdout] 617 | Ok(p) => self.ptr = p.cast().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::ptr::NonNull` to `core::ptr::NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | self.ptr = res?.cast().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | NonNull::new(alloc(layout.into())).ok_or(AllocErr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | dealloc(ptr.as_ptr(), layout.into()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | NonNull::new(realloc(ptr.as_ptr(), layout.into(), new_size)).ok_or(AllocErr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | NonNull::new(alloc_zeroed(layout.into())).ok_or(AllocErr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `NonNull` to `NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | ptr: ptr.into(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `allocator_api` (lib test) due to 9 previous errors; 13 warnings emitted [INFO] [stdout] error: this conversion is useless `NonNull` to `NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:322:46 [INFO] [stdout] | [INFO] [stdout] 322 | Ok(ptr) => (new_cap, ptr.cast().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `NonNull` to `NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | Ok(ptr) => (new_cap, ptr.into()), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `NonNull` to `NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:617:41 [INFO] [stdout] | [INFO] [stdout] 617 | Ok(p) => self.ptr = p.cast().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `NonNull` to `NonNull` [INFO] [stdout] --> src/liballoc/raw_vec.rs:686:24 [INFO] [stdout] | [INFO] [stdout] 686 | self.ptr = res?.cast().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | NonNull::new(alloc(layout.into())).ok_or(AllocErr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | dealloc(ptr.as_ptr(), layout.into()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 74 | NonNull::new(realloc(ptr.as_ptr(), layout.into(), new_size)).ok_or(AllocErr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `core::alloc::Layout` to `core::alloc::Layout` [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | NonNull::new(alloc_zeroed(layout.into())).ok_or(AllocErr) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `allocator_api` (lib) due to 9 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5c7de291bd15ac37fc209680efaa03593e81b0ed53aaa3410f298162b123debc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c7de291bd15ac37fc209680efaa03593e81b0ed53aaa3410f298162b123debc", kill_on_drop: false }` [INFO] [stdout] 5c7de291bd15ac37fc209680efaa03593e81b0ed53aaa3410f298162b123debc