[INFO] cloning repository https://github.com/amoghyermalkar123/rust-basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amoghyermalkar123/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Frust-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Frust-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa9325b3949819dfad5454b2bae0e54814ad1f44
[INFO] checking amoghyermalkar123/rust-basics against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoghyermalkar123%2Frust-basics" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/amoghyermalkar123/rust-basics
[INFO] finished tweaking git repo https://github.com/amoghyermalkar123/rust-basics
[INFO] tweaked toml for git repo https://github.com/amoghyermalkar123/rust-basics written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/amoghyermalkar123/rust-basics on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/amoghyermalkar123/rust-basics 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a401a7029fb9b25a756d4ad286875cb0a96d30e598cdab22f1eddb72fe849bcd
[INFO] running `Command { std: "docker" "start" "-a" "a401a7029fb9b25a756d4ad286875cb0a96d30e598cdab22f1eddb72fe849bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a401a7029fb9b25a756d4ad286875cb0a96d30e598cdab22f1eddb72fe849bcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a401a7029fb9b25a756d4ad286875cb0a96d30e598cdab22f1eddb72fe849bcd", kill_on_drop: false }`
[INFO] [stdout] a401a7029fb9b25a756d4ad286875cb0a96d30e598cdab22f1eddb72fe849bcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9cdbeadc8275f2db697a284d6ac18b18bdee36957a967b9e128cfa47c31ae816
[INFO] running `Command { std: "docker" "start" "-a" "9cdbeadc8275f2db697a284d6ac18b18bdee36957a967b9e128cfa47c31ae816", kill_on_drop: false }`
[INFO] [stderr]     Checking generics v0.1.0 (/opt/rustwide/workdir/generics)
[INFO] [stderr]     Checking basics v0.1.0 (/opt/rustwide/workdir/basics)
[INFO] [stderr]     Checking collections v0.1.0 (/opt/rustwide/workdir/collections)
[INFO] [stderr]     Checking ownership v0.1.0 (/opt/rustwide/workdir/ownership)
[INFO] [stderr]     Checking enums v0.1.0 (/opt/rustwide/workdir/enums)
[INFO] [stderr]     Checking structs v0.1.0 (/opt/rustwide/workdir/structs)
[INFO] [stderr]     Checking traits v0.1.0 (/opt/rustwide/workdir/traits)
[INFO] [stderr]     Checking about_match v0.1.0 (/opt/rustwide/workdir/about_match)
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> ownership/src/ownership_basics.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let s1 = gives_ownership(); // gives_ownership moves its return
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s3`
[INFO] [stdout]    --> ownership/src/ownership_basics.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let s3 = takes_and_gives_back(s2); // s2 is moved into
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_s3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking error_handling v0.1.0 (/opt/rustwide/workdir/error_handling)
[INFO] [stdout] warning: function `invalidation` is never used
[INFO] [stdout]   --> ownership/src/ownership_basics.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn invalidation() {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copying` is never used
[INFO] [stdout]   --> ownership/src/ownership_basics.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn copying() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership` is never used
[INFO] [stdout]   --> ownership/src/ownership_basics.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn ownership() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_ownership` is never used
[INFO] [stdout]   --> ownership/src/ownership_basics.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn takes_ownership(some_string: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `makes_copy` is never used
[INFO] [stdout]   --> ownership/src/ownership_basics.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn makes_copy(number: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `give_and_take_main` is never used
[INFO] [stdout]    --> ownership/src/ownership_basics.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn give_and_take_main() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gives_ownership` is never used
[INFO] [stdout]    --> ownership/src/ownership_basics.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn gives_ownership() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `takes_and_gives_back` is never used
[INFO] [stdout]    --> ownership/src/ownership_basics.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn takes_and_gives_back(a_string: String) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mainer` is never used
[INFO] [stdout]  --> ownership/src/mutable_reference.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn mainer() {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change` is never used
[INFO] [stdout]  --> ownership/src/mutable_reference.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn change(some_string: &mut String) {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_types_of_references` is never used
[INFO] [stdout]   --> ownership/src/mutable_reference.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn combine_types_of_references() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `int64`
[INFO] [stdout]   --> enums/src/lib.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let int64 = RustTypes::IntVariants;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_int64`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback`
[INFO] [stdout]   --> enums/src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let loopback = IpAddr::V6(String::from("::1"));
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loopback2`
[INFO] [stdout]   --> enums/src/lib.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let loopback2 = IpAddr2::V6(String::from("::1"));
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> enums/src/lib.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let addr = IPs {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Int`, `String`, `SmallStr`, `Boolean`, and `Generic` are never constructed
[INFO] [stdout]  --> enums/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum RustTypes {
[INFO] [stdout]   |      --------- variants in this enum
[INFO] [stdout] 4 |     Int, 
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     SmallStr,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     Boolean,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     Generic,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]   --> enums/src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     V4(u8, u8, u8, u8),
[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] 18 -     V4(u8, u8, u8, u8),
[INFO] [stdout] 18 +     V4((), (), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> enums/src/lib.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     V6(String),
[INFO] [stdout]    |     -- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     V6(String),
[INFO] [stdout] 19 +     V6(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `address` and `address_two` are never read
[INFO] [stdout]   --> enums/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct IPs {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     address: IpAddr,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     address_two : IpAddr2,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> basics/src/data_types.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let (x, y, z) = tup;
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> basics/src/data_types.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let (x, y, z) = tup;
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stats_and_exprs` is never used
[INFO] [stdout]  --> basics/src/functions.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn stats_and_exprs() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compound_types` is never used
[INFO] [stdout]   --> basics/src/data_types.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn compound_types() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SomeData` is never constructed
[INFO] [stdout]   --> traits/src/trait_bound.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct SomeData<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 function `new` is never used
[INFO] [stdout]   --> traits/src/trait_bound.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<T> SomeData<T> {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 83 |     fn new(x:T, y:T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_things` is never used
[INFO] [stdout]   --> traits/src/trait_bound.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | impl<T: Display + PartialOrd> SomeData<T> {
[INFO] [stdout]    | ----------------------------------------- method in this implementation
[INFO] [stdout] 89 |     fn print_things(&self){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> generics/src/lib.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn err_generic_function<T>(data: &mut T) /*-> T*/ { 
[INFO] [stdout]   |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]   --> generics/src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Point<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 36 |     x: T,
[INFO] [stdout] 37 |     y: 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: method `y` is never used
[INFO] [stdout]   --> generics/src/lib.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl<T> Point<T> {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn y(&self) -> &T {
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> generics/src/lib.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | struct PointTwo<T, U> {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 67 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 68 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mixup` is never used
[INFO] [stdout]   --> generics/src/lib.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl<T, U> PointTwo<T, U> {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 72 |     fn mixup<V, W>(self, other: PointTwo<V, W>) -> PointTwo<T, W> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> error_handling/src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let f = match f {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustbasics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "9cdbeadc8275f2db697a284d6ac18b18bdee36957a967b9e128cfa47c31ae816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cdbeadc8275f2db697a284d6ac18b18bdee36957a967b9e128cfa47c31ae816", kill_on_drop: false }`
[INFO] [stdout] 9cdbeadc8275f2db697a284d6ac18b18bdee36957a967b9e128cfa47c31ae816
