[INFO] fetching crate membuf 0.0.5... [INFO] checking membuf-0.0.5 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate membuf 0.0.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate membuf 0.0.5 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899ca60847476a07c80b0f00cdb4b187e404ed04490165f4e0af2203ec8dda04 [INFO] running `Command { std: "docker" "start" "-a" "899ca60847476a07c80b0f00cdb4b187e404ed04490165f4e0af2203ec8dda04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899ca60847476a07c80b0f00cdb4b187e404ed04490165f4e0af2203ec8dda04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899ca60847476a07c80b0f00cdb4b187e404ed04490165f4e0af2203ec8dda04", kill_on_drop: false }` [INFO] [stdout] 899ca60847476a07c80b0f00cdb4b187e404ed04490165f4e0af2203ec8dda04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ff7a469417d60759e628da66d058781a80b5b45a338d76af37cf2d0f3aa4cd5 [INFO] running `Command { std: "docker" "start" "-a" "2ff7a469417d60759e628da66d058781a80b5b45a338d76af37cf2d0f3aa4cd5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 `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[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[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[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[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:: { 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:: { 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:: { inner: buffer } [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:: { inner: MemBuf::new() } [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/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:: { 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:: { 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] Some errors have detailed explanations: E0282, 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/lib.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | let buffer: MemBuf = 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 = MemBuf::::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 = 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 = MemBuf::::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 = 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 = MemBuf::::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 = 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 = MemBuf::::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 = 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 = MemBuf::::allocate(128); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `membuf` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, 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 17 previous errors [INFO] running `Command { std: "docker" "inspect" "2ff7a469417d60759e628da66d058781a80b5b45a338d76af37cf2d0f3aa4cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff7a469417d60759e628da66d058781a80b5b45a338d76af37cf2d0f3aa4cd5", kill_on_drop: false }` [INFO] [stdout] 2ff7a469417d60759e628da66d058781a80b5b45a338d76af37cf2d0f3aa4cd5