[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Frust-shared-ptr" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/rust-shared-ptr on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b731fdcf2d8b65519fba459382ad5f0dd893a43ad8756e2e347c713c951fc64 [INFO] running `Command { std: "docker" "start" "-a" "7b731fdcf2d8b65519fba459382ad5f0dd893a43ad8756e2e347c713c951fc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b731fdcf2d8b65519fba459382ad5f0dd893a43ad8756e2e347c713c951fc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b731fdcf2d8b65519fba459382ad5f0dd893a43ad8756e2e347c713c951fc64", kill_on_drop: false }` [INFO] [stdout] 7b731fdcf2d8b65519fba459382ad5f0dd893a43ad8756e2e347c713c951fc64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7cadbbd2cae4fbb65298a3dfd9ffc41c633b7f7cebc5316cd27c81e53d07041 [INFO] running `Command { std: "docker" "start" "-a" "c7cadbbd2cae4fbb65298a3dfd9ffc41c633b7f7cebc5316cd27c81e53d07041", kill_on_drop: false }` [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir) [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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(heap_api, filling_drop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(box_syntax, box_raw)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(coerce_unsized, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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] [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] [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] [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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core, nonzero, alloc, unsize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(heap_api, filling_drop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(box_syntax, box_raw)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(coerce_unsized, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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] [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] [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] [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[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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0374, E0425, E0432, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0374`. [INFO] [stdout] [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] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0374, E0425, E0432, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0374`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7cadbbd2cae4fbb65298a3dfd9ffc41c633b7f7cebc5316cd27c81e53d07041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7cadbbd2cae4fbb65298a3dfd9ffc41c633b7f7cebc5316cd27c81e53d07041", kill_on_drop: false }` [INFO] [stdout] c7cadbbd2cae4fbb65298a3dfd9ffc41c633b7f7cebc5316cd27c81e53d07041