[INFO] crate spinlocks 0.0.1 is already in cache [INFO] testing spinlocks-0.0.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate spinlocks 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate spinlocks 0.0.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bcd6bc52733faf6f361e301d38fce6ef7aef44e9d754ce6dfe45e05b1693a2d [INFO] running `"docker" "start" "-a" "0bcd6bc52733faf6f361e301d38fce6ef7aef44e9d754ce6dfe45e05b1693a2d"` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time v0.2.10 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling spinlocks v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stderr] --> src/lib.rs:390:3 [INFO] [stderr] | [INFO] [stderr] 390 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stderr] --> src/lib.rs:429:3 [INFO] [stderr] | [INFO] [stderr] 429 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stderr] --> src/lib.rs:371:13 [INFO] [stderr] | [INFO] [stderr] 371 | impl<'a, T> !Send for SpinLockReadGuard<'a, T> {} [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:405:13 [INFO] [stderr] | [INFO] [stderr] 405 | impl<'a, T> !Send for SpinLockWriteGuard<'a, T> {} [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] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:298:23 [INFO] [stderr] | [INFO] [stderr] 298 | return Ok(try!(SpinLockReadGuard::new(self, &self.data))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:303:27 [INFO] [stderr] | [INFO] [stderr] 303 | return Ok(try!(SpinLockReadGuard::new(self, &self.data))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:335:16 [INFO] [stderr] | [INFO] [stderr] 335 | Ok(try!(SpinLockWriteGuard::new(self, &self.data))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/lib.rs:202:24 [INFO] [stderr] | [INFO] [stderr] 202 | time = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/lib.rs:261:24 [INFO] [stderr] | [INFO] [stderr] 261 | time = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] error: could not compile `spinlocks`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0bcd6bc52733faf6f361e301d38fce6ef7aef44e9d754ce6dfe45e05b1693a2d"` [INFO] running `"docker" "rm" "-f" "0bcd6bc52733faf6f361e301d38fce6ef7aef44e9d754ce6dfe45e05b1693a2d"` [INFO] [stdout] 0bcd6bc52733faf6f361e301d38fce6ef7aef44e9d754ce6dfe45e05b1693a2d