[INFO] cloning repository https://github.com/Anjaly1997/Master-Project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anjaly1997/Master-Project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnjaly1997%2FMaster-Project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnjaly1997%2FMaster-Project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8059b2a30a400159a0f5d65b5b0776ecb7e088b
[INFO] checking Anjaly1997/Master-Project against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnjaly1997%2FMaster-Project" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Anjaly1997/Master-Project
[INFO] finished tweaking git repo https://github.com/Anjaly1997/Master-Project
[INFO] tweaked toml for git repo https://github.com/Anjaly1997/Master-Project written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anjaly1997/Master-Project on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Anjaly1997/Master-Project 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded win-sys v0.3.1
[INFO] [stderr]   Downloaded shared_memory v0.12.4
[INFO] [stderr]   Downloaded nix v0.23.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a98dbe77a9d9d800fec50830406b50a1f24ba7c9c329f093b7a1a75437829b0f
[INFO] running `Command { std: "docker" "start" "-a" "a98dbe77a9d9d800fec50830406b50a1f24ba7c9c329f093b7a1a75437829b0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a98dbe77a9d9d800fec50830406b50a1f24ba7c9c329f093b7a1a75437829b0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a98dbe77a9d9d800fec50830406b50a1f24ba7c9c329f093b7a1a75437829b0f", kill_on_drop: false }`
[INFO] [stdout] a98dbe77a9d9d800fec50830406b50a1f24ba7c9c329f093b7a1a75437829b0f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93466a4f93ad9599eccbc687c25e76d9f9238578a7c3b3222f9391908169f14f
[INFO] running `Command { std: "docker" "start" "-a" "93466a4f93ad9599eccbc687c25e76d9f9238578a7c3b3222f9391908169f14f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking shared_memory v0.12.4
[INFO] [stderr]     Checking ring_buffer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `core::thread`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `thread` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `spin`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use spin::Mutex;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `spin`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `spin`, use `cargo add spin` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `println` in this scope
[INFO] [stdout]   --> src/main.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             println!("Queue full, skipping message");
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::cell::UnsafeCell`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::cell::UnsafeCell;
[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: `Shmem`
[INFO] [stdout]   --> src/main.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use shared_memory::{Shmem, ShmemConf};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout] 113 | / fn panic(_info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 114 | |     loop {}
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `shared_memory` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/292be5c7c05138d753bbd4b30db7a3f1a5c914f7/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.rlib
[INFO] [stdout]     = note: second definition in the local crate (`ring_buffer`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::thread`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `thread` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `core::thread`
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     use core::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^^ no `thread` in the root
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unresolved item through its public re-export instead
[INFO] [stdout]     |
[INFO] [stdout] 123 -     use core::thread;
[INFO] [stdout] 123 +     use crate::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `spin`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use spin::Mutex;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `spin`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `spin`, use `cargo add spin` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `spin`
[INFO] [stdout]    --> src/main.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     use spin::Mutex;
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `spin`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `spin`, use `cargo add spin` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `println` in this scope
[INFO] [stdout]   --> src/main.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             println!("Queue full, skipping message");
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ring_buffer` (bin "ring_buffer") due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std`
[INFO] [stdout]    --> src/main.rs:138:17
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 std::thread::sleep(Duration::from_millis(100));
[INFO] [stdout]     |                 ^^^ use of unresolved module or unlinked crate `std`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std`
[INFO] [stdout]    --> src/main.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |                 std::thread::sleep(Duration::from_millis(100));
[INFO] [stdout]     |                 ^^^ use of unresolved module or unlinked crate `std`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::cell::UnsafeCell`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::cell::UnsafeCell;
[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: `Shmem`
[INFO] [stdout]   --> src/main.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use shared_memory::{Shmem, ShmemConf};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::sync::atomic::AtomicBool`
[INFO] [stdout]    --> src/main.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     use core::sync::atomic::AtomicBool;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout] 113 | / fn panic(_info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 114 | |     loop {}
[INFO] [stdout] 115 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/292be5c7c05138d753bbd4b30db7a3f1a5c914f7/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d73d50f7d7b085f5.rlib
[INFO] [stdout]     = note: second definition in the local crate (`ring_buffer`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ring_buffer` (bin "ring_buffer" test) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "93466a4f93ad9599eccbc687c25e76d9f9238578a7c3b3222f9391908169f14f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93466a4f93ad9599eccbc687c25e76d9f9238578a7c3b3222f9391908169f14f", kill_on_drop: false }`
[INFO] [stdout] 93466a4f93ad9599eccbc687c25e76d9f9238578a7c3b3222f9391908169f14f
