[INFO] cloning repository https://github.com/miyamofigo/rust-shared-ptr [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4935e3eb4a41b6a03fa22706a0f1cd51bcb81496 [INFO] checking miyamofigo/rust-shared-ptr against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/rust-shared-ptr on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] dcd49161bd3dc3f89df6a03c28d7969e3e46d7f005b9c6195a5842a4933071ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "dcd49161bd3dc3f89df6a03c28d7969e3e46d7f005b9c6195a5842a4933071ea"` [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/lib.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/lib.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | use alloc::heap::deallocate; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stderr] --> src/lib.rs:155:45 [INFO] [stderr] | [INFO] [stderr] 155 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stderr] --> src/lib.rs:354:43 [INFO] [stderr] | [INFO] [stderr] 354 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | impl !marker::Send for Shared {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | impl !marker::Sync for Shared {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:317:17 [INFO] [stderr] | [INFO] [stderr] 317 | impl !marker::Send for Weak2 {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | impl !marker::Sync for Weak2 {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | impl, U: ?Sized> CoerceUnsized> for Shared {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stderr] --> src/lib.rs:320:1 [INFO] [stderr] | [INFO] [stderr] 320 | impl, U: ?Sized> CoerceUnsized> for Weak2 {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/lib.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/lib.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | use alloc::heap::deallocate; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0374, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0374`. [INFO] [stderr] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stderr] --> src/lib.rs:155:45 [INFO] [stderr] | [INFO] [stderr] 155 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `POST_DROP_USIZE` in module `mem` [INFO] [stderr] --> src/lib.rs:354:43 [INFO] [stderr] | [INFO] [stderr] 354 | ptr as *const () as usize != mem::POST_DROP_USIZE { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `mem` [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | impl !marker::Send for Shared {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | impl !marker::Sync for Shared {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:317:17 [INFO] [stderr] | [INFO] [stderr] 317 | impl !marker::Send for Weak2 {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | impl !marker::Sync for Weak2 {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #68318 for more information [INFO] [stderr] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: could not compile `shared`. [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] [stderr] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | impl, U: ?Sized> CoerceUnsized> for Shared {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0374]: the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found [INFO] [stderr] --> src/lib.rs:320:1 [INFO] [stderr] | [INFO] [stderr] 320 | impl, U: ?Sized> CoerceUnsized> for Weak2 {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0374, E0425, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0374`. [INFO] [stderr] error: could not compile `shared`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dcd49161bd3dc3f89df6a03c28d7969e3e46d7f005b9c6195a5842a4933071ea"` [INFO] running `"docker" "rm" "-f" "dcd49161bd3dc3f89df6a03c28d7969e3e46d7f005b9c6195a5842a4933071ea"` [INFO] [stdout] dcd49161bd3dc3f89df6a03c28d7969e3e46d7f005b9c6195a5842a4933071ea