[INFO] cloning repository https://github.com/HarshsDev/pointers
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarshsDev/pointers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshsDev%2Fpointers", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshsDev%2Fpointers'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc5d7a4a984409594559725aca4739b3d48751e8
[INFO] checking HarshsDev/pointers/fc5d7a4a984409594559725aca4739b3d48751e8 against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshsDev%2Fpointers" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HarshsDev/pointers
[INFO] finished tweaking git repo https://github.com/HarshsDev/pointers
[INFO] tweaked toml for git repo https://github.com/HarshsDev/pointers written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HarshsDev/pointers on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HarshsDev/pointers 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d
[INFO] running `Command { std: "docker" "start" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking pointers v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cell::UnsafeCell`
[INFO] [stdout]  --> src/rc.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, ops::Deref, ptr::NonNull};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `rc` should have an upper camel case name
[INFO] [stdout]  --> src/rc.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct rc<T> {
[INFO] [stdout]   |            ^^ help: convert the identifier to upper camel case: `Rc`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RefType` is never used
[INFO] [stdout]  --> src/RefCell.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum RefType {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefCell` is never constructed
[INFO] [stdout]   --> src/RefCell.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct RefCell<T>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used
[INFO] [stdout]   --> src/RefCell.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<T> RefCell<T> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |      pub fn borrow(&self) -> Option<Ref<'_,T>> {
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |      pub fn borrow_mut(&self) -> Option<RefMut<'_,T>> {
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ref` is never constructed
[INFO] [stdout]   --> src/RefCell.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Ref<'refCell,T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefMut` is never constructed
[INFO] [stdout]   --> src/RefCell.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct RefMut<'refCell, T> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RcInner` is never constructed
[INFO] [stdout]  --> src/rc.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RcInner<T> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `rc` is never constructed
[INFO] [stdout]  --> src/rc.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct rc<T> {
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rc.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<T> rc<T> {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(v:T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `RefCell` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod RefCell;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `ref_cell`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime `'refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Ref<'refCell,T> {
[INFO] [stdout]    |                ^^^^^^^^ help: convert the identifier to snake case: `'ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     refCell: &'refCell RefCell<T>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime `'refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct RefMut<'refCell, T> {
[INFO] [stdout]    |                   ^^^^^^^^ help: convert the identifier to snake case: `'ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     refCell: &'refCell RefCell<T>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `refCount` should have a snake case name
[INFO] [stdout]  --> src/rc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     refCount: Cell<usize>,
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `ref_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/rc.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         drop(self.inner);
[INFO] [stdout]    |         ^^^^^----------^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `NonNull<RcInner<T>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 53 -         drop(self.inner);
[INFO] [stdout] 53 +         let _ = self.inner;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell::UnsafeCell`
[INFO] [stdout]  --> src/rc.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::UnsafeCell, ops::Deref, ptr::NonNull};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `rc` should have an upper camel case name
[INFO] [stdout]  --> src/rc.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct rc<T> {
[INFO] [stdout]   |            ^^ help: convert the identifier to upper camel case: `Rc`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/lib.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RefType` is never used
[INFO] [stdout]  --> src/RefCell.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum RefType {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefCell` is never constructed
[INFO] [stdout]   --> src/RefCell.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct RefCell<T>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used
[INFO] [stdout]   --> src/RefCell.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<T> RefCell<T> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |      pub fn borrow(&self) -> Option<Ref<'_,T>> {
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |      pub fn borrow_mut(&self) -> Option<RefMut<'_,T>> {
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ref` is never constructed
[INFO] [stdout]   --> src/RefCell.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Ref<'refCell,T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefMut` is never constructed
[INFO] [stdout]   --> src/RefCell.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct RefMut<'refCell, T> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RcInner` is never constructed
[INFO] [stdout]  --> src/rc.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RcInner<T> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `rc` is never constructed
[INFO] [stdout]  --> src/rc.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct rc<T> {
[INFO] [stdout]   |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rc.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<T> rc<T> {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(v:T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `RefCell` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod RefCell;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `ref_cell`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime `'refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Ref<'refCell,T> {
[INFO] [stdout]    |                ^^^^^^^^ help: convert the identifier to snake case: `'ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     refCell: &'refCell RefCell<T>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime `'refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct RefMut<'refCell, T> {
[INFO] [stdout]    |                   ^^^^^^^^ help: convert the identifier to snake case: `'ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `refCell` should have a snake case name
[INFO] [stdout]   --> src/RefCell.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     refCell: &'refCell RefCell<T>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `ref_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `refCount` should have a snake case name
[INFO] [stdout]  --> src/rc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     refCount: Cell<usize>,
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `ref_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/rc.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         drop(self.inner);
[INFO] [stdout]    |         ^^^^^----------^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `NonNull<RcInner<T>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 53 -         drop(self.inner);
[INFO] [stdout] 53 +         let _ = self.inner;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d", kill_on_drop: false }`
[INFO] [stdout] 560f8a593955e92234abebd9a2c1799ef3cb9a2bfe05cf792dfa1262a499800d
