[INFO] cloning repository https://github.com/LordDraagonLive/rust-from-csharp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordDraagonLive/rust-from-csharp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordDraagonLive%2Frust-from-csharp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordDraagonLive%2Frust-from-csharp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aaf57d185a7eea4f57c06a82bbef5f35ec0700d7
[INFO] checking LordDraagonLive/rust-from-csharp against fa2e5c134b37481738d46002dfb836237332dd9a for pr-164277
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordDraagonLive%2Frust-from-csharp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LordDraagonLive/rust-from-csharp
[INFO] finished tweaking git repo https://github.com/LordDraagonLive/rust-from-csharp
[INFO] tweaked toml for git repo https://github.com/LordDraagonLive/rust-from-csharp written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LordDraagonLive/rust-from-csharp on toolchain fa2e5c134b37481738d46002dfb836237332dd9a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LordDraagonLive/rust-from-csharp 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" "+fa2e5c134b37481738d46002dfb836237332dd9a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35
[INFO] running `Command { std: "docker" "start" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35", 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" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35", 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" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-from-csharp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num;
[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: `other_mod::OtherModType`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use other_mod::OtherModType; // importing OtherModType struct from other_mod module to main.rs file (this is the way to import struct...
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num;
[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: `other_mod::OtherModType`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use other_mod::OtherModType; // importing OtherModType struct from other_mod module to main.rs file (this is the way to import struct...
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let num1: i32 = 1; // i32 is the signed integer type
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num4`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let num4: u32 = 2; // u32 is the unsigned integer type
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num5`
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let num5: f32 = 3.0; // f32 is the floating point number type, is single precision
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num6`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let num6: f64 = 4.0; // f64 is the floating point number type, is double precision
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num2`
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let num2: i16 = 2;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num3`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let num3: i128 = 3;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tup`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let tup: (i32, f64, u8, &str) = (500, 6.4, 1, "John"); // tuples can have different data types
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmpCount` is never constructed
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct EmpCount {
[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 `can_drink` is never used
[INFO] [stdout]   --> src/main.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl Person {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     fn can_drink(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherModType` is never constructed
[INFO] [stdout]  --> src/other_mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct OtherModType {}
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let num1: i32 = 1; // i32 is the signed integer type
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num4`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let num4: u32 = 2; // u32 is the unsigned integer type
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num5`
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let num5: f32 = 3.0; // f32 is the floating point number type, is single precision
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num6`
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let num6: f64 = 4.0; // f64 is the floating point number type, is double precision
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num2`
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let num2: i16 = 2;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num3`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let num3: i128 = 3;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_num3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tup`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let tup: (i32, f64, u8, &str) = (500, 6.4, 1, "John"); // tuples can have different data types
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let a = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmpCount` is never constructed
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct EmpCount {
[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 `OtherModType` is never constructed
[INFO] [stdout]  --> src/other_mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct OtherModType {}
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35", kill_on_drop: false }`
[INFO] [stdout] dfcf31c3077211cb01f4f3b76d855b91b1b747882b8f2075cac59b40cc94cb35
