[INFO] cloning repository https://github.com/Harshit933/rust-spin_lock
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Harshit933/rust-spin_lock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshit933%2Frust-spin_lock", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshit933%2Frust-spin_lock'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed14705f9f07c44e80166b25048632a05411537d
[INFO] testing Harshit933/rust-spin_lock against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshit933%2Frust-spin_lock" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Harshit933/rust-spin_lock
[INFO] finished tweaking git repo https://github.com/Harshit933/rust-spin_lock
[INFO] tweaked toml for git repo https://github.com/Harshit933/rust-spin_lock written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Harshit933/rust-spin_lock on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Harshit933/rust-spin_lock already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bff226f985ac2a2dc6eec1dc57220fc273be347abc879fcf5e44fa1277b4025a
[INFO] running `Command { std: "docker" "start" "-a" "bff226f985ac2a2dc6eec1dc57220fc273be347abc879fcf5e44fa1277b4025a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bff226f985ac2a2dc6eec1dc57220fc273be347abc879fcf5e44fa1277b4025a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bff226f985ac2a2dc6eec1dc57220fc273be347abc879fcf5e44fa1277b4025a", kill_on_drop: false }`
[INFO] [stdout] bff226f985ac2a2dc6eec1dc57220fc273be347abc879fcf5e44fa1277b4025a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac8b53c98d585aea7c1fc109c256a1cbcce5fbf3fbe0f6716c4d01075c869282
[INFO] running `Command { std: "docker" "start" "-a" "ac8b53c98d585aea7c1fc109c256a1cbcce5fbf3fbe0f6716c4d01075c869282", kill_on_drop: false }`
[INFO] [stderr]    Compiling spin-lock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cell::UnsafeCell` and `env::var`
[INFO] [stdout]  --> src/guard.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, env::var, ops::{Deref, DerefMut}};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/guard.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::spin_lock::SpinLock`
[INFO] [stdout]   --> src/guard.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     use crate::spin_lock::SpinLock;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self`, `spawn`, and `sync::atomic::Ordering::Relaxed`
[INFO] [stdout]   --> src/atomic_spin_lock.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use std::{sync::atomic::Ordering::Relaxed, thread::{self, spawn}};
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::atomic_spin_lock::SpinLockAtomic`
[INFO] [stdout]   --> src/atomic_spin_lock.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use crate::atomic_spin_lock::SpinLockAtomic;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]  --> src/spin_lock.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SpinLock<T> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used
[INFO] [stdout]   --> src/spin_lock.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub unsafe fn unlock(&self) {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guard` is never constructed
[INFO] [stdout]  --> src/guard.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Guard<'a, T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLockAtomic` is never constructed
[INFO] [stdout]   --> src/atomic_spin_lock.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct SpinLockAtomic {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `unlock`, and `lock` are never used
[INFO] [stdout]   --> src/atomic_spin_lock.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SpinLockAtomic {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn lock(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/spin_lock.rs:23:34
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stdout]    |                      --          ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<'a, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "ac8b53c98d585aea7c1fc109c256a1cbcce5fbf3fbe0f6716c4d01075c869282", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac8b53c98d585aea7c1fc109c256a1cbcce5fbf3fbe0f6716c4d01075c869282", kill_on_drop: false }`
[INFO] [stdout] ac8b53c98d585aea7c1fc109c256a1cbcce5fbf3fbe0f6716c4d01075c869282
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f4e0511c865445f2e05461872dd53448a1194be964ee58f6cd3def12dae514c
[INFO] running `Command { std: "docker" "start" "-a" "1f4e0511c865445f2e05461872dd53448a1194be964ee58f6cd3def12dae514c", kill_on_drop: false }`
[INFO] [stderr]    Compiling spin-lock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cell::UnsafeCell` and `env::var`
[INFO] [stdout]  --> src/guard.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, env::var, ops::{Deref, DerefMut}};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/guard.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::spin_lock::SpinLock`
[INFO] [stdout]   --> src/guard.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     use crate::spin_lock::SpinLock;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self`, `spawn`, and `sync::atomic::Ordering::Relaxed`
[INFO] [stdout]   --> src/atomic_spin_lock.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use std::{sync::atomic::Ordering::Relaxed, thread::{self, spawn}};
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::atomic_spin_lock::SpinLockAtomic`
[INFO] [stdout]   --> src/atomic_spin_lock.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use crate::atomic_spin_lock::SpinLockAtomic;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLock` is never constructed
[INFO] [stdout]  --> src/spin_lock.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SpinLock<T> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used
[INFO] [stdout]   --> src/spin_lock.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub unsafe fn unlock(&self) {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Guard` is never constructed
[INFO] [stdout]  --> src/guard.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Guard<'a, T> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpinLockAtomic` is never constructed
[INFO] [stdout]   --> src/atomic_spin_lock.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct SpinLockAtomic {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `unlock`, and `lock` are never used
[INFO] [stdout]   --> src/atomic_spin_lock.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SpinLockAtomic {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn unlock(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn lock(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/spin_lock.rs:23:34
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stdout]    |                      --          ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<'a, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::UnsafeCell` and `env::var`
[INFO] [stdout]  --> src/guard.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, env::var, ops::{Deref, DerefMut}};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `spawn` and `sync::atomic::Ordering::Relaxed`
[INFO] [stdout]   --> src/atomic_spin_lock.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |     use std::{sync::atomic::Ordering::Relaxed, thread::{self, spawn}};
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unlock` is never used
[INFO] [stdout]   --> src/spin_lock.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> SpinLock<T> {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub unsafe fn unlock(&self) {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/spin_lock.rs:23:34
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stdout]    |                      --          ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn lock<'a>(&'a self) -> Guard<'a, T> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "1f4e0511c865445f2e05461872dd53448a1194be964ee58f6cd3def12dae514c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f4e0511c865445f2e05461872dd53448a1194be964ee58f6cd3def12dae514c", kill_on_drop: false }`
[INFO] [stdout] 1f4e0511c865445f2e05461872dd53448a1194be964ee58f6cd3def12dae514c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 73655aec140d9861b107c84e70757fe7f5be8f1601060ad32fa95c57dc6c8bcc
[INFO] running `Command { std: "docker" "start" "-a" "73655aec140d9861b107c84e70757fe7f5be8f1601060ad32fa95c57dc6c8bcc", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `cell::UnsafeCell` and `env::var`
[INFO] [stderr]  --> src/guard.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{cell::UnsafeCell, env::var, ops::{Deref, DerefMut}};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]   --> src/guard.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     use std::thread;
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::spin_lock::SpinLock`
[INFO] [stderr]   --> src/guard.rs:38:9
[INFO] [stderr]    |
[INFO] [stderr] 38 |     use crate::spin_lock::SpinLock;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `self`, `spawn`, and `sync::atomic::Ordering::Relaxed`
[INFO] [stderr]   --> src/atomic_spin_lock.rs:36:15
[INFO] [stderr]    |
[INFO] [stderr] 36 |     use std::{sync::atomic::Ordering::Relaxed, thread::{self, spawn}};
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^           ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::atomic_spin_lock::SpinLockAtomic`
[INFO] [stderr]   --> src/atomic_spin_lock.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     use crate::atomic_spin_lock::SpinLockAtomic;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SpinLock` is never constructed
[INFO] [stderr]  --> src/spin_lock.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct SpinLock<T> {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `lock`, and `unlock` are never used
[INFO] [stderr]   --> src/spin_lock.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl<T> SpinLock<T> {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 16 |     pub fn new(value: T) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub unsafe fn unlock(&self) {
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Guard` is never constructed
[INFO] [stderr]  --> src/guard.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Guard<'a, T> {
[INFO] [stderr]   |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SpinLockAtomic` is never constructed
[INFO] [stderr]   --> src/atomic_spin_lock.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct SpinLockAtomic {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `unlock`, and `lock` are never used
[INFO] [stderr]   --> src/atomic_spin_lock.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl SpinLockAtomic {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 19 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn unlock(&self) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub fn lock(&self) {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/spin_lock.rs:23:34
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub fn lock<'a>(&'a self) -> Guard<T> {
[INFO] [stderr]    |                      --          ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      the lifetime is named here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub fn lock<'a>(&'a self) -> Guard<'a, T> {
[INFO] [stderr]    |                                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: `spin-lock` (lib) generated 11 warnings (run `cargo fix --lib -p spin-lock` to apply 6 suggestions)
[INFO] [stderr] warning: unused imports: `spawn` and `sync::atomic::Ordering::Relaxed`
[INFO] [stderr]   --> src/atomic_spin_lock.rs:36:15
[INFO] [stderr]    |
[INFO] [stderr] 36 |     use std::{sync::atomic::Ordering::Relaxed, thread::{self, spawn}};
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                 ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `unlock` is never used
[INFO] [stderr]   --> src/spin_lock.rs:37:19
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl<T> SpinLock<T> {
[INFO] [stderr]    | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 37 |     pub unsafe fn unlock(&self) {
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `spin-lock` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p spin-lock --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spin_lock-c2873c89708e4fe9)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test guard::tests::test_simple_spin_lock ... ok
[INFO] [stdout] test atomic_spin_lock::tests::try_simple_spin_lock has been running for over 60 seconds
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "73655aec140d9861b107c84e70757fe7f5be8f1601060ad32fa95c57dc6c8bcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73655aec140d9861b107c84e70757fe7f5be8f1601060ad32fa95c57dc6c8bcc", kill_on_drop: false }`
[INFO] [stdout] 73655aec140d9861b107c84e70757fe7f5be8f1601060ad32fa95c57dc6c8bcc
