[INFO] fetching crate membuf 0.0.5...
[INFO] checking membuf-0.0.5 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate membuf 0.0.5 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate membuf 0.0.5 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate membuf 0.0.5
[INFO] finished tweaking crates.io crate membuf 0.0.5
[INFO] tweaked toml for crates.io crate membuf 0.0.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 163b663f023c8169ebb32ec2f8b8aaf356b6e1fa5602d9c5e4d287538d2b1eb9
[INFO] running `Command { std: "docker" "start" "-a" "163b663f023c8169ebb32ec2f8b8aaf356b6e1fa5602d9c5e4d287538d2b1eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "163b663f023c8169ebb32ec2f8b8aaf356b6e1fa5602d9c5e4d287538d2b1eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "163b663f023c8169ebb32ec2f8b8aaf356b6e1fa5602d9c5e4d287538d2b1eb9", kill_on_drop: false }`
[INFO] [stdout] 163b663f023c8169ebb32ec2f8b8aaf356b6e1fa5602d9c5e4d287538d2b1eb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fec612be9854e72198cc0d22daf8afa8524a5afd5b21f24b96a6be71ace24693
[INFO] running `Command { std: "docker" "start" "-a" "fec612be9854e72198cc0d22daf8afa8524a5afd5b21f24b96a6be71ace24693", kill_on_drop: false }`
[INFO] [stderr]     Checking membuf v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::nonzero::NonZero;
[INFO] [stdout]    |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::nonzero::NonZero;
[INFO] [stdout]    |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]  --> src/alloc.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::nonzero::NonZero;
[INFO] [stdout]   |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rt::heap`
[INFO] [stdout]  --> src/alloc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rt::heap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `heap` in `rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if ptr.is_null() { alloc::oom() }
[INFO] [stdout]    |                               ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         alloc::oom()
[INFO] [stdout]    |                ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]  --> src/alloc.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::nonzero::NonZero;
[INFO] [stdout]   |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]  --> src/lib.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![allow(raw_pointer_derive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nonzero` has been stable since 1.28.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rt::heap`
[INFO] [stdout]  --> src/alloc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rt::heap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `heap` in `rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `oom`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]  --> src/lib.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if ptr.is_null() { alloc::oom() }
[INFO] [stdout]    |                               ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         alloc::oom()
[INFO] [stdout]    |                ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]  --> src/lib.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![allow(raw_pointer_derive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(renamed_and_removed_lints)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `nonzero` has been stable since 1.28.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `oom`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]  --> src/lib.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> src/unique.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct UniqueBuf<T> {
[INFO] [stdout]    |                      ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> src/unique.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct UniqueBuf<T> {
[INFO] [stdout]    |                      ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf { inner: MemBuf::new() }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf::<T> { inner: MemBuf::new() }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf::<T> { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         self.inner.capacity()
[INFO] [stdout]    |         ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf { inner: buffer }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf::<T> { inner: buffer }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 97 |         unsafe { self.inner.deallocate() }
[INFO] [stdout]    |                  ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0425, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf { inner: MemBuf::new() }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf::<T> { inner: MemBuf::new() }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf::<T> { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         self.inner.capacity()
[INFO] [stdout]    |         ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `membuf` (lib) due to 14 previous errors; 4 warnings emitted
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf { inner: buffer }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf::<T> { inner: buffer }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 97 |         unsafe { self.inner.deallocate() }
[INFO] [stdout]    |                  ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:185:37
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let buffer: MemBuf<usize> = MemBuf::allocate(8);
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let buffer: MemBuf<usize> = MemBuf::<T>::allocate(8);
[INFO] [stdout]     |                                           +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:214:41
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut buffer: MemBuf<usize> = MemBuf::allocate(8);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut buffer: MemBuf<usize> = MemBuf::<T>::allocate(8);
[INFO] [stdout]     |                                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:245:32
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _: MemBuf<usize> = MemBuf::allocate(10_000_000_000_000_000_000);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _: MemBuf<usize> = MemBuf::<T>::allocate(10_000_000_000_000_000_000);
[INFO] [stdout]     |                                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:251:41
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let mut buffer: MemBuf<usize> = MemBuf::new();
[INFO] [stdout]     |                                         ^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let mut buffer: MemBuf<usize> = MemBuf::<T>::new();
[INFO] [stdout]     |                                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:258:41
[INFO] [stdout]     |
[INFO] [stdout] 258 |         let mut buffer: MemBuf<usize> = MemBuf::allocate(128);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 258 |         let mut buffer: MemBuf<usize> = MemBuf::<T>::allocate(128);
[INFO] [stdout]     |                                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0425, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `membuf` (lib test) due to 23 previous errors
[INFO] running `Command { std: "docker" "inspect" "fec612be9854e72198cc0d22daf8afa8524a5afd5b21f24b96a6be71ace24693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fec612be9854e72198cc0d22daf8afa8524a5afd5b21f24b96a6be71ace24693", kill_on_drop: false }`
[INFO] [stdout] fec612be9854e72198cc0d22daf8afa8524a5afd5b21f24b96a6be71ace24693
[INFO] checking membuf-0.0.5 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate membuf 0.0.5 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate membuf 0.0.5 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate membuf 0.0.5
[INFO] finished tweaking crates.io crate membuf 0.0.5
[INFO] tweaked toml for crates.io crate membuf 0.0.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 860a2462428551208bd50935ab83d16bbd5798fd09771e3ce8d0872faf81f783
[INFO] running `Command { std: "docker" "start" "-a" "860a2462428551208bd50935ab83d16bbd5798fd09771e3ce8d0872faf81f783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "860a2462428551208bd50935ab83d16bbd5798fd09771e3ce8d0872faf81f783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "860a2462428551208bd50935ab83d16bbd5798fd09771e3ce8d0872faf81f783", kill_on_drop: false }`
[INFO] [stdout] 860a2462428551208bd50935ab83d16bbd5798fd09771e3ce8d0872faf81f783
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3264d291adb70900a316beb644640daf124f81b024fd0d47aa1b3903f94dbc66
[INFO] running `Command { std: "docker" "start" "-a" "3264d291adb70900a316beb644640daf124f81b024fd0d47aa1b3903f94dbc66", kill_on_drop: false }`
[INFO] [stderr]     Checking membuf v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::nonzero::NonZero;
[INFO] [stdout]    |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]  --> src/alloc.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::nonzero::NonZero;
[INFO] [stdout]   |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]   --> src/lib.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::nonzero::NonZero;
[INFO] [stdout]    |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rt::heap`
[INFO] [stdout]  --> src/alloc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rt::heap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `heap` in `rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if ptr.is_null() { alloc::oom() }
[INFO] [stdout]    |                               ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         alloc::oom()
[INFO] [stdout]    |                ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]  --> src/lib.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![allow(raw_pointer_derive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nonzero` has been stable since 1.28.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `oom`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]  --> src/lib.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::nonzero`
[INFO] [stdout]  --> src/alloc.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::nonzero::NonZero;
[INFO] [stdout]   |           ^^^^^^^ could not find `nonzero` in `core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rt::heap`
[INFO] [stdout]  --> src/alloc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::rt::heap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `heap` in `rt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if ptr.is_null() { alloc::oom() }
[INFO] [stdout]    |                               ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `oom` in crate `alloc`
[INFO] [stdout]   --> src/alloc.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         alloc::oom()
[INFO] [stdout]    |                ^^^ not found in `alloc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok
[INFO] [stdout]  --> src/lib.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![allow(raw_pointer_derive)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout]   = note: `#[deny(renamed_and_removed_lints)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `nonzero` has been stable since 1.28.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> src/unique.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct UniqueBuf<T> {
[INFO] [stdout]    |                      ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `oom`
[INFO] [stdout]  --> src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]  --> src/lib.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core, nonzero, alloc, oom, heap_api)]
[INFO] [stdout]   |                                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf { inner: MemBuf::new() }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf::<T> { inner: MemBuf::new() }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf::<T> { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         self.inner.capacity()
[INFO] [stdout]    |         ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf { inner: buffer }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf::<T> { inner: buffer }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 97 |         unsafe { self.inner.deallocate() }
[INFO] [stdout]    |                  ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0425, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `membuf` (lib) due to 14 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0392]: type parameter `T` is never used
[INFO] [stdout]   --> src/unique.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct UniqueBuf<T> {
[INFO] [stdout]    |                      ^ unused type parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
[INFO] [stdout]    = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf { inner: MemBuf::new() }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 36 |         UniqueBuf::<T> { inner: MemBuf::new() }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 50 |         UniqueBuf::<T> { inner: MemBuf::allocate(cap) }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         self.inner.capacity()
[INFO] [stdout]    |         ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf { inner: buffer }
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `UniqueBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 91 |         UniqueBuf::<T> { inner: buffer }
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/unique.rs:97:18
[INFO] [stdout]    |
[INFO] [stdout] 97 |         unsafe { self.inner.deallocate() }
[INFO] [stdout]    |                  ^^^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:185:37
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let buffer: MemBuf<usize> = MemBuf::allocate(8);
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let buffer: MemBuf<usize> = MemBuf::<T>::allocate(8);
[INFO] [stdout]     |                                           +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:214:41
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut buffer: MemBuf<usize> = MemBuf::allocate(8);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let mut buffer: MemBuf<usize> = MemBuf::<T>::allocate(8);
[INFO] [stdout]     |                                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:245:32
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _: MemBuf<usize> = MemBuf::allocate(10_000_000_000_000_000_000);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _: MemBuf<usize> = MemBuf::<T>::allocate(10_000_000_000_000_000_000);
[INFO] [stdout]     |                                      +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:251:41
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let mut buffer: MemBuf<usize> = MemBuf::new();
[INFO] [stdout]     |                                         ^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let mut buffer: MemBuf<usize> = MemBuf::<T>::new();
[INFO] [stdout]     |                                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:258:41
[INFO] [stdout]     |
[INFO] [stdout] 258 |         let mut buffer: MemBuf<usize> = MemBuf::allocate(128);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `MemBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 258 |         let mut buffer: MemBuf<usize> = MemBuf::<T>::allocate(128);
[INFO] [stdout]     |                                               +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0392, E0425, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `membuf` (lib test) due to 23 previous errors
[INFO] running `Command { std: "docker" "inspect" "3264d291adb70900a316beb644640daf124f81b024fd0d47aa1b3903f94dbc66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3264d291adb70900a316beb644640daf124f81b024fd0d47aa1b3903f94dbc66", kill_on_drop: false }`
[INFO] [stdout] 3264d291adb70900a316beb644640daf124f81b024fd0d47aa1b3903f94dbc66
