[INFO] cloning repository https://github.com/miyamofigo/rust-shared-ptr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miyamofigo/rust-shared-ptr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4935e3eb4a41b6a03fa22706a0f1cd51bcb81496 [INFO] checking miyamofigo/rust-shared-ptr against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: error closing file /workspace/builds/worker-0-tc2/source/.git/packed-refs.new: No space left on device [INFO] checking miyamofigo/rust-shared-ptr against try#ef5216c337126ffe24d074826f4023948c4a9b8e for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/rust-shared-ptr on toolchain ef5216c337126ffe24d074826f4023948c4a9b8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miyamofigo/rust-shared-ptr [INFO] finished tweaking git repo https://github.com/miyamofigo/rust-shared-ptr [INFO] tweaked toml for git repo https://github.com/miyamofigo/rust-shared-ptr written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/miyamofigo/rust-shared-ptr already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bc14c5c93f911e4e0a32c9ca9336dc20cad385c12a2cf84f6e9c05da8b46b18 [INFO] running `Command { std: "docker" "start" "-a" "3bc14c5c93f911e4e0a32c9ca9336dc20cad385c12a2cf84f6e9c05da8b46b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bc14c5c93f911e4e0a32c9ca9336dc20cad385c12a2cf84f6e9c05da8b46b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc14c5c93f911e4e0a32c9ca9336dc20cad385c12a2cf84f6e9c05da8b46b18", kill_on_drop: false }` [INFO] [stdout] 3bc14c5c93f911e4e0a32c9ca9336dc20cad385c12a2cf84f6e9c05da8b46b18 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ef5216c337126ffe24d074826f4023948c4a9b8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 476dc67b50c39a6c4f8d2389789509c89a80a5a1fc3b29fac49ae082271a0f52 [INFO] running `Command { std: "docker" "start" "-a" "476dc67b50c39a6c4f8d2389789509c89a80a5a1fc3b29fac49ae082271a0f52", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | _ptr: NonZero::new(Box::into_raw(box SharedBox { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 58 | | strong: Cell::new(1), [INFO] [stdout] 59 | | weak: Cell::new(1), [INFO] [stdout] 60 | | value: value [INFO] [stdout] 61 | | })), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 57 ~ _ptr: NonZero::new(Box::into_raw(Box::new(SharedBox { [INFO] [stdout] 58 | strong: Cell::new(1), [INFO] [stdout] 59 | weak: Cell::new(1), [INFO] [stdout] 60 | value: value [INFO] [stdout] 61 ~ }))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | _ptr: NonZero::new(Box::into_raw(box SharedBox { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 58 | | strong: Cell::new(1), [INFO] [stdout] 59 | | weak: Cell::new(1), [INFO] [stdout] 60 | | value: value [INFO] [stdout] 61 | | })), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 57 ~ _ptr: NonZero::new(Box::into_raw(Box::new(SharedBox { [INFO] [stdout] 58 | strong: Cell::new(1), [INFO] [stdout] 59 | weak: Cell::new(1), [INFO] [stdout] 60 | value: value [INFO] [stdout] 61 ~ }))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:417:41 [INFO] [stdout] | [INFO] [stdout] 417 | let x: Shared> = Shared::new(box 5); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - let x: Shared> = Shared::new(box 5); [INFO] [stdout] 417 + let x: Shared> = Shared::new(Box::new(5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:417:41 [INFO] [stdout] | [INFO] [stdout] 417 | let x: Shared> = Shared::new(box 5); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - let x: Shared> = Shared::new(box 5); [INFO] [stdout] 417 + let x: Shared> = Shared::new(Box::new(5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(box_syntax, box_raw)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(box_syntax, box_raw)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::nonzero` [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use core::nonzero::NonZero; [INFO] [stdout] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | use alloc::heap::deallocate; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::nonzero` [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use core::nonzero::NonZero; [INFO] [stdout] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::heap` [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | use alloc::heap::deallocate; [INFO] [stdout] | ^^^^ could not find `heap` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/lib.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/lib.rs:354:43 [INFO] [stdout] | [INFO] [stdout] 354 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | impl !marker::Send for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | impl !marker::Sync for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | impl !marker::Send for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | impl !marker::Sync for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(coerce_unsized, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/lib.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stdout] --> src/lib.rs:354:43 [INFO] [stdout] | [INFO] [stdout] 354 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | impl !marker::Send for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | impl !marker::Sync for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/lib.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | use core::intrinsics::{assume, drop_in_place, abort}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | impl !marker::Send for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | impl !marker::Sync for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(coerce_unsized, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/lib.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | drop_in_place(&mut (*ptr).value); [INFO] [stdout] | ^^^^^^^^^^^^^ [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:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [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:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [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:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `box_raw` has been stable since 1.4.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(box_syntax, box_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(heap_api, filling_drop)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `filling_drop` [INFO] [stdout] --> src/lib.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(heap_api, filling_drop)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/lib.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | use core::intrinsics::{assume, drop_in_place, abort}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/lib.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | drop_in_place(&mut (*ptr).value); [INFO] [stdout] | ^^^^^^^^^^^^^ [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:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl, U: ?Sized> CoerceUnsized> for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected a single field to be coerced, none found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures [INFO] [stdout] --> src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | impl, U: ?Sized> CoerceUnsized> for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected a single field to be coerced, none found [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:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [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:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `box_raw` has been stable since 1.4.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(box_syntax, box_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(heap_api, filling_drop)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `filling_drop` [INFO] [stdout] --> src/lib.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(heap_api, filling_drop)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl, U: ?Sized> CoerceUnsized> for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected a single field to be coerced, none found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures [INFO] [stdout] --> src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | impl, U: ?Sized> CoerceUnsized> for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected a single field to be coerced, none found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | Shared::strong_count(&this) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Shared` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 82 | Shared::::strong_count(&this) == 1 [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | Shared::weak_count(this) == 0 && Shared::strong_count(this) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Shared` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 102 | Shared::::weak_count(this) == 0 && Shared::strong_count(this) == 1 [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | .unwrap_or_else( || unsafe { abort() } )); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | .unwrap_or_else( || unsafe { abort() } )); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | Shared::strong_count(&this) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Shared` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 82 | Shared::::strong_count(&this) == 1 [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0374, E0425, E0432, E0557, E0635, E0658. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | Shared::weak_count(this) == 0 && Shared::strong_count(this) == 1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Shared` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 102 | Shared::::weak_count(this) == 0 && Shared::strong_count(this) == 1 [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` (lib) due to 18 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | .unwrap_or_else( || unsafe { abort() } )); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | .unwrap_or_else( || unsafe { abort() } )); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0374, E0425, E0432, E0557, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` (lib test) due to 18 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "476dc67b50c39a6c4f8d2389789509c89a80a5a1fc3b29fac49ae082271a0f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476dc67b50c39a6c4f8d2389789509c89a80a5a1fc3b29fac49ae082271a0f52", kill_on_drop: false }` [INFO] [stdout] 476dc67b50c39a6c4f8d2389789509c89a80a5a1fc3b29fac49ae082271a0f52