[INFO] fetching crate spinlocks 0.0.1...
[INFO] checking spinlocks-0.0.1 against beta-2021-10-15 for beta-1.56-3
[INFO] extracting crate spinlocks 0.0.1 into /workspace/builds/worker-64/source
[INFO] validating manifest of crates.io crate spinlocks 0.0.1 on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate spinlocks 0.0.1
[INFO] finished tweaking crates.io crate spinlocks 0.0.1
[INFO] tweaked toml for crates.io crate spinlocks 0.0.1 written to /workspace/builds/worker-64/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 381f5682741097cb0a2463b0d88ab53f96e89bc61bba9f64b7be2a3682f42a23
[INFO] running `Command { std: "docker" "start" "-a" "381f5682741097cb0a2463b0d88ab53f96e89bc61bba9f64b7be2a3682f42a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "381f5682741097cb0a2463b0d88ab53f96e89bc61bba9f64b7be2a3682f42a23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "381f5682741097cb0a2463b0d88ab53f96e89bc61bba9f64b7be2a3682f42a23", kill_on_drop: false }`
[INFO] [stdout] 381f5682741097cb0a2463b0d88ab53f96e89bc61bba9f64b7be2a3682f42a23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93131f17011aa34203bded08f54f082dea7ce3fe3da9658b3a5aab16c9417177
[INFO] running `Command { std: "docker" "start" "-a" "93131f17011aa34203bded08f54f082dea7ce3fe3da9658b3a5aab16c9417177", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking time v0.3.3
[INFO] [stderr]     Checking spinlocks v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]   --> src/lib.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | #![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:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | #![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: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/lib.rs:390:3
[INFO] [stdout]     |
[INFO] [stdout] 390 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/lib.rs:429:3
[INFO] [stdout]     |
[INFO] [stdout] 429 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `should_fail` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:71:3
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[should_fail]
[INFO] [stdout]    |   ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/lib.rs:390:3
[INFO] [stdout]     |
[INFO] [stdout] 390 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:84:3
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[unsafe_destructor]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `should_fail` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 93 | #[should_fail(expected = "child thread None panicked")]
[INFO] [stdout]    |   ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope
[INFO] [stdout]    --> src/lib.rs:429:3
[INFO] [stdout]     |
[INFO] [stdout] 429 | #[unsafe_destructor]
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time`
[INFO] [stdout]    --> src/lib.rs:202:30
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 time = time::precise_time_ns();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time`
[INFO] [stdout]    --> src/lib.rs:261:30
[INFO] [stdout]     |
[INFO] [stdout] 261 |                 time = time::precise_time_ns();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | #![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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | #![feature(unsafe_destructor)]
[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:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | #![feature(core)]
[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:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | #![feature(std_misc)]
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | #![feature(test)]
[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:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 | impl<'a, T> !Send for SpinLockReadGuard<'a, T> {}
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #68318 <https://github.com/rust-lang/rust/issues/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:405:13
[INFO] [stdout]     |
[INFO] [stdout] 405 | impl<'a, T> !Send for SpinLockWriteGuard<'a, T> {}
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:298:23
[INFO] [stdout]     |
[INFO] [stdout] 298 |             return Ok(try!(SpinLockReadGuard::new(self, &self.data)))
[INFO] [stdout]     |                       ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:303:27
[INFO] [stdout]     |
[INFO] [stdout] 303 |                 return Ok(try!(SpinLockReadGuard::new(self, &self.data)))
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:335:16
[INFO] [stdout]     |
[INFO] [stdout] 335 |             Ok(try!(SpinLockWriteGuard::new(self, &self.data)))
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time`
[INFO] [stdout]    --> src/lib.rs:202:30
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 time = time::precise_time_ns();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time`
[INFO] [stdout]    --> src/lib.rs:261:30
[INFO] [stdout]     |
[INFO] [stdout] 261 |                 time = time::precise_time_ns();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `scoped` in module `thread`
[INFO] [stdout]   --> src/tests/mod.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |     thread::scoped(|| { let _  = spin.write().unwrap(); }).join();
[INFO] [stdout]    |             ^^^^^^ not found in `thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread`
[INFO] [stdout]    --> src/tests/mod.rs:105:35
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut workers : Vec<thread::JoinGuard<()>> = Vec::with_capacity(10); 
[INFO] [stdout]     |                                   ^^^^^^^^^ not found in `thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `scoped` in module `thread`
[INFO] [stdout]    --> src/tests/mod.rs:107:30
[INFO] [stdout]     |
[INFO] [stdout] 107 |         workers.push(thread::scoped(|| { let data = spin.read().unwrap(); assert_eq!(*data, 255);}) );
[INFO] [stdout]     |                              ^^^^^^ not found in `thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread`
[INFO] [stdout]    --> src/tests/mod.rs:117:35
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut workers : Vec<thread::JoinGuard<()>> = Vec::with_capacity(10); 
[INFO] [stdout]     |                                   ^^^^^^^^^ not found in `thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `scoped` in module `thread`
[INFO] [stdout]    --> src/tests/mod.rs:120:30
[INFO] [stdout]     |
[INFO] [stdout] 120 |         workers.push(thread::scoped(move || { let mut data = spin.write().unwrap(); *data = i ;assert_eq!(*data, i );}) );
[INFO] [stdout]     |                              ^^^^^^ not found in `thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]   --> src/lib.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | #![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:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | #![feature(unsafe_destructor)]
[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:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | #![feature(core)]
[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:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | #![feature(std_misc)]
[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:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | #![feature(test)]
[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:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 | impl<'a, T> !Send for SpinLockReadGuard<'a, T> {}
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #68318 <https://github.com/rust-lang/rust/issues/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:405:13
[INFO] [stdout]     |
[INFO] [stdout] 405 | impl<'a, T> !Send for SpinLockWriteGuard<'a, T> {}
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:298:23
[INFO] [stdout]     |
[INFO] [stdout] 298 |             return Ok(try!(SpinLockReadGuard::new(self, &self.data)))
[INFO] [stdout]     |                       ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:303:27
[INFO] [stdout]     |
[INFO] [stdout] 303 |                 return Ok(try!(SpinLockReadGuard::new(self, &self.data)))
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lib.rs:335:16
[INFO] [stdout]     |
[INFO] [stdout] 335 |             Ok(try!(SpinLockWriteGuard::new(self, &self.data)))
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/tests/mod.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |     for _ in (0..9) {
[INFO] [stdout]     |              ^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/tests/mod.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |     for i in (0u32..9) {
[INFO] [stdout]     |              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 self.count.compare_and_swap(count, count - EXCLWAIT + 1, Ordering::Acquire) == count { 
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:238:23
[INFO] [stdout]     |
[INFO] [stdout] 238 |         if self.count.compare_and_swap(0, SHARED | 1, Ordering::Acquire) != 0 {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:252:31
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 if self.count.compare_and_swap(0, SHARED | 1, Ordering::Acquire) == 0 {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:256:31
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 if self.count.compare_and_swap(count, count + 1, Ordering::Acquire) == count {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:297:23
[INFO] [stdout]     |
[INFO] [stdout] 297 |         if self.count.compare_and_swap(0, 1 | SHARED, Ordering::Acquire) == 0 {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:302:28
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 self.count.compare_and_swap(count, count + 1, Ordering::Acquire) == count { 
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |         if self.count.compare_and_swap(0, 1, Ordering::Acquire) == 0 {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:349:20
[INFO] [stdout]     |
[INFO] [stdout] 349 |         self.count.compare_and_swap(SHARED, 0, Ordering::Relaxed);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 self.count.compare_and_swap(count, count - EXCLWAIT + 1, Ordering::Acquire) == count { 
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:238:23
[INFO] [stdout]     |
[INFO] [stdout] 238 |         if self.count.compare_and_swap(0, SHARED | 1, Ordering::Acquire) != 0 {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:252:31
[INFO] [stdout]     |
[INFO] [stdout] 252 |                 if self.count.compare_and_swap(0, SHARED | 1, Ordering::Acquire) == 0 {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:256:31
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 if self.count.compare_and_swap(count, count + 1, Ordering::Acquire) == count {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:297:23
[INFO] [stdout]     |
[INFO] [stdout] 297 |         if self.count.compare_and_swap(0, 1 | SHARED, Ordering::Acquire) == 0 {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0554, E0557, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:302:28
[INFO] [stdout]     |
[INFO] [stdout] 302 |                 self.count.compare_and_swap(count, count + 1, Ordering::Acquire) == count { 
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |         if self.count.compare_and_swap(0, 1, Ordering::Acquire) == 0 {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/lib.rs:349:20
[INFO] [stdout]     |
[INFO] [stdout] 349 |         self.count.compare_and_swap(SHARED, 0, Ordering::Relaxed);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spinlocks` due to 13 previous errors; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 20 previous errors; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0554, E0557, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "93131f17011aa34203bded08f54f082dea7ce3fe3da9658b3a5aab16c9417177", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93131f17011aa34203bded08f54f082dea7ce3fe3da9658b3a5aab16c9417177", kill_on_drop: false }`
[INFO] [stdout] 93131f17011aa34203bded08f54f082dea7ce3fe3da9658b3a5aab16c9417177
