[INFO] cloning repository https://github.com/virtustron/atomic_vec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/virtustron/atomic_vec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtustron%2Fatomic_vec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtustron%2Fatomic_vec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 303e0be0d35ff13698171d11407bfbbafdce32aa [INFO] testing virtustron/atomic_vec against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvirtustron%2Fatomic_vec" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/virtustron/atomic_vec on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/virtustron/atomic_vec [INFO] finished tweaking git repo https://github.com/virtustron/atomic_vec [INFO] tweaked toml for git repo https://github.com/virtustron/atomic_vec written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate git repo https://github.com/virtustron/atomic_vec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29bca5c57ba06f86f1090784f3c9d572531026a461bc26671b2211de58c14002 [INFO] running `Command { std: "docker" "start" "-a" "29bca5c57ba06f86f1090784f3c9d572531026a461bc26671b2211de58c14002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29bca5c57ba06f86f1090784f3c9d572531026a461bc26671b2211de58c14002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bca5c57ba06f86f1090784f3c9d572531026a461bc26671b2211de58c14002", kill_on_drop: false }` [INFO] [stdout] 29bca5c57ba06f86f1090784f3c9d572531026a461bc26671b2211de58c14002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec6f6bd98a9b945eea2d4492f8899cc81abad2a8a333633d885e08dd171ea5f9 [INFO] running `Command { std: "docker" "start" "-a" "ec6f6bd98a9b945eea2d4492f8899cc81abad2a8a333633d885e08dd171ea5f9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling atomic_vec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `alloc` [INFO] [stdout] --> src/my_array_queue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CachePadded` [INFO] [stdout] --> src/my_array_queue.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | head: CachePadded::new(AtomicUsize::new(head)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CachePadded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CachePadded` [INFO] [stdout] --> src/my_array_queue.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | tail: CachePadded::new(AtomicUsize::new(tail)), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CachePadded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Backoff` [INFO] [stdout] --> src/my_array_queue.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let backoff = Backoff::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Backoff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Backoff` [INFO] [stdout] --> src/my_array_queue.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | let backoff = Backoff::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Backoff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnsafeCell` in this scope [INFO] [stdout] --> src/my_array_queue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | value: UnsafeCell>, // value of element in queue [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::UnsafeCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::UnsafeCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CachePadded` in this scope [INFO] [stdout] --> src/my_array_queue.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | head: CachePadded, // "stamp": lower bits represent the index, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CachePadded` in this scope [INFO] [stdout] --> src/my_array_queue.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | tail: CachePadded, // "stamp": lower bits represent the index, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Slot` in this scope [INFO] [stdout] --> src/my_array_queue.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | buffer: *mut Slot, // holding slots [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/my_array_queue.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | _marker: PhantomData, // ??? Indicates that dropping an `ArrayQueue` may drop elements of type `T`. [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Slot` in this scope [INFO] [stdout] --> src/my_array_queue.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let boxed: Box<[Slot]> = (0..cap) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Slot` in this scope [INFO] [stdout] --> src/my_array_queue.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | Slot { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnsafeCell` [INFO] [stdout] --> src/my_array_queue.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | value: UnsafeCell::new(MaybeUninit::uninit()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::UnsafeCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::UnsafeCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Slot` in this scope [INFO] [stdout] --> src/my_array_queue.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | Box::into_raw(boxed) as *mut Slot [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PhantomData` in this scope [INFO] [stdout] --> src/my_array_queue.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | _marker: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `ArrayQueue` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let q1 = ArrayQueue::new(2); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | | [INFO] [stdout] | consider giving `q1` the explicit type `ArrayQueue`, where the type parameter `T` is specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomic_vec` due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "ec6f6bd98a9b945eea2d4492f8899cc81abad2a8a333633d885e08dd171ea5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6f6bd98a9b945eea2d4492f8899cc81abad2a8a333633d885e08dd171ea5f9", kill_on_drop: false }` [INFO] [stdout] ec6f6bd98a9b945eea2d4492f8899cc81abad2a8a333633d885e08dd171ea5f9