[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#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/rust-shared-ptr on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-4/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: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c4f9c32d607392e86a88e9ff18b5fd82268a9234605fbdb2f848de2e54ef433 [INFO] running `Command { std: "docker" "start" "-a" "7c4f9c32d607392e86a88e9ff18b5fd82268a9234605fbdb2f848de2e54ef433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c4f9c32d607392e86a88e9ff18b5fd82268a9234605fbdb2f848de2e54ef433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4f9c32d607392e86a88e9ff18b5fd82268a9234605fbdb2f848de2e54ef433", kill_on_drop: false }` [INFO] [stdout] 7c4f9c32d607392e86a88e9ff18b5fd82268a9234605fbdb2f848de2e54ef433 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73a8641726edb103424d3b51ec62b8d353dfe9584b7a36f1c26c4d42ca5217e6 [INFO] running `Command { std: "docker" "start" "-a" "73a8641726edb103424d3b51ec62b8d353dfe9584b7a36f1c26c4d42ca5217e6", kill_on_drop: false }` [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir) [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[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 yet 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet 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] [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 yet 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet 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] [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: 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] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl, U: ?Sized> CoerceUnsized> for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stdout] --> src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | impl, U: ?Sized> CoerceUnsized> for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0374, E0425, E0432, E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0374`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` due to 12 previous errors; 2 warnings emitted [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | impl, U: ?Sized> CoerceUnsized> for Shared {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stdout] --> src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | impl, U: ?Sized> CoerceUnsized> for Weak2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0374, E0425, E0432, E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0374`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "73a8641726edb103424d3b51ec62b8d353dfe9584b7a36f1c26c4d42ca5217e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a8641726edb103424d3b51ec62b8d353dfe9584b7a36f1c26c4d42ca5217e6", kill_on_drop: false }` [INFO] [stdout] 73a8641726edb103424d3b51ec62b8d353dfe9584b7a36f1c26c4d42ca5217e6