[INFO] cloning repository https://github.com/kien6034/Rust-indept
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kien6034/Rust-indept" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkien6034%2FRust-indept", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkien6034%2FRust-indept'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f7e14918dfceec427280e0aa16bac0636badc53
[INFO] checking kien6034/Rust-indept against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkien6034%2FRust-indept" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kien6034/Rust-indept
[INFO] finished tweaking git repo https://github.com/kien6034/Rust-indept
[INFO] tweaked toml for git repo https://github.com/kien6034/Rust-indept written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kien6034/Rust-indept on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kien6034/Rust-indept 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4
[INFO] running `Command { std: "docker" "start" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4", 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" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4", 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" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling syn v1.0.105
[INFO] [stderr]    Compiling serde_derive v1.0.149
[INFO] [stderr]    Compiling serde v1.0.149
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking rust-indept v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/smart_pointers/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use smart_pointer::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ the name `run` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 8 | pub use rc::*;
[INFO] [stdout]   |         ----- but the name `run` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dereferrence::*`
[INFO] [stdout]  --> src/smart_pointers/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use dereferrence::*;
[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: `rc::*`
[INFO] [stdout]  --> src/smart_pointers/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use rc::*;
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/generic_trait_lifetime/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use generic::*;
[INFO] [stdout]   |         ^^^^^^^^^^ the name `run` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 7 | pub use lifetime::*;
[INFO] [stdout]   |         ----------- but the name `run` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lifetime::*`
[INFO] [stdout]  --> src/generic_trait_lifetime/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use lifetime::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/types/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use phantomdata::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^ the name `run` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 4 | pub use typed_key_pattern::*;
[INFO] [stdout]   |         -------------------- but the name `run` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `error::Error`
[INFO] [stdout]  --> src/types/typed_key_pattern.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{result::{Result}, error::Error};
[INFO] [stdout]   |                    ^^^^^^   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/types/typed_key_pattern.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::{Value};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/future/mod.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{ Duration, Instant };
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]  --> src/future/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/smart_pointers/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use smart_pointer::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ the name `run` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 8 | pub use rc::*;
[INFO] [stdout]   |         ----- but the name `run` in the value namespace is also re-exported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dereferrence::*`
[INFO] [stdout]  --> src/smart_pointers/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use dereferrence::*;
[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: `rc::*`
[INFO] [stdout]  --> src/smart_pointers/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use rc::*;
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/generic_trait_lifetime/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use generic::*;
[INFO] [stdout]   |         ^^^^^^^^^^ the name `run` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 7 | pub use lifetime::*;
[INFO] [stdout]   |         ----------- but the name `run` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lifetime::*`
[INFO] [stdout]  --> src/generic_trait_lifetime/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use lifetime::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]  --> src/types/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use phantomdata::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^ the name `run` in the value namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 4 | pub use typed_key_pattern::*;
[INFO] [stdout]   |         -------------------- but the name `run` in the value namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result` and `error::Error`
[INFO] [stdout]  --> src/types/typed_key_pattern.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{result::{Result}, error::Error};
[INFO] [stdout]   |                    ^^^^^^   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/types/typed_key_pattern.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::{Value};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/future/mod.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{ Duration, Instant };
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]  --> src/future/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointers/smart_pointer.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Cons(i32, Box<List>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 22 -     Cons(i32, Box<List>),
[INFO] [stdout] 22 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/smart_pointers/rc.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Cons(i32, Rc<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 2 -     Cons(i32, Rc<List>),
[INFO] [stdout] 2 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `foo` is never read
[INFO] [stdout]   --> src/types/typed_key_pattern.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Config {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 16 |     foo: Foo
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DelayedFuture` is never constructed
[INFO] [stdout]  --> src/future/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct DelayedFuture {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/smart_pointers/dereferrence.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn my_smart_counter() {
[INFO] [stdout]    | --------------------- move the `impl` block outside of this function `my_smart_counter`
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl<T> Deref for MyBox<T> {
[INFO] [stdout]    |     ^^^^^^^^-----^^^^^-----^^^
[INFO] [stdout]    |             |         |
[INFO] [stdout]    |             |         `MyBox` is not local
[INFO] [stdout]    |             `Deref` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/smart_pointers/smart_pointer.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Cons(i32, Box<List>),
[INFO] [stdout]    |     ---- ^^^  ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 22 -     Cons(i32, Box<List>),
[INFO] [stdout] 22 +     Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]  --> src/smart_pointers/rc.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Cons(i32, Rc<List>),
[INFO] [stdout]   |     ---- ^^^  ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 2 -     Cons(i32, Rc<List>),
[INFO] [stdout] 2 +     Cons((), ()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `foo` is never read
[INFO] [stdout]   --> src/types/typed_key_pattern.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Config {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 16 |     foo: Foo
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/smart_pointers/dereferrence.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn my_smart_counter() {
[INFO] [stdout]    | --------------------- move the `impl` block outside of this function `my_smart_counter`
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl<T> Deref for MyBox<T> {
[INFO] [stdout]    |     ^^^^^^^^-----^^^^^-----^^^
[INFO] [stdout]    |             |         |
[INFO] [stdout]    |             |         `MyBox` is not local
[INFO] [stdout]    |             `Deref` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.12s
[INFO] running `Command { std: "docker" "inspect" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4", kill_on_drop: false }`
[INFO] [stdout] ef42fd6cfa6594cffecb9d4ed0985f4adf89bafb879b6785bba9b086ae422ea4
