[INFO] fetching crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0... [INFO] checking lock-free-multi-producer-single-consumer-ring-buffer-0.4.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 [INFO] finished tweaking crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 [INFO] tweaked toml for crates.io crate lock-free-multi-producer-single-consumer-ring-buffer 0.4.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5290e59a1b7069baba5f2c069854e9bf0179dc32672e298b68320403ae45853f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5290e59a1b7069baba5f2c069854e9bf0179dc32672e298b68320403ae45853f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5290e59a1b7069baba5f2c069854e9bf0179dc32672e298b68320403ae45853f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5290e59a1b7069baba5f2c069854e9bf0179dc32672e298b68320403ae45853f", kill_on_drop: false }` [INFO] [stdout] 5290e59a1b7069baba5f2c069854e9bf0179dc32672e298b68320403ae45853f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abd5b77762eb4ae30890ac5a3cba12e51d90b7f69d3b3d2c353373f35225cbcc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "abd5b77762eb4ae30890ac5a3cba12e51d90b7f69d3b3d2c353373f35225cbcc", kill_on_drop: false }` [INFO] [stderr] Checking likely v0.1.0 [INFO] [stderr] Checking lock-free-multi-producer-single-consumer-ring-buffer v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use ::std::alloc::Alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `alloc` [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/RingBufferInnerHeader.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | 'workers: for _ in 0 .. self.number_of_producers [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | use ::std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/RingBufferInnerHeader.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | buffer: unsafe { uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::alloc::Alloc` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use ::std::alloc::Alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `alloc` [INFO] [stdout] | no `Alloc` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/RingBufferInnerHeader.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | 'workers: for _ in 0 .. self.number_of_producers [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | use ::std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/RingBufferInnerHeader.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | buffer: unsafe { uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { Global.dealloc(NonNull::new_unchecked(self as *mut _ as *mut _), self.layout()) } [INFO] [stdout] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 99 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let raw_this_pointer = Global.alloc(layout).expect("Out of memory"); [INFO] [stdout] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 99 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lock-free-multi-producer-single-consumer-ring-buffer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `dealloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe { Global.dealloc(NonNull::new_unchecked(self as *mut _ as *mut _), self.layout()) } [INFO] [stdout] | ^^^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 99 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `alloc` found for struct `std::alloc::Global` in the current scope [INFO] [stdout] --> src/RingBufferInner.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let raw_this_pointer = Global.alloc(layout).expect("Out of memory"); [INFO] [stdout] | ^^^^^ method not found in `std::alloc::Global` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 99 | use std::alloc::AllocRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "abd5b77762eb4ae30890ac5a3cba12e51d90b7f69d3b3d2c353373f35225cbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd5b77762eb4ae30890ac5a3cba12e51d90b7f69d3b3d2c353373f35225cbcc", kill_on_drop: false }` [INFO] [stdout] abd5b77762eb4ae30890ac5a3cba12e51d90b7f69d3b3d2c353373f35225cbcc