[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 try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordDraagonLive%2Frust-from-csharp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LordDraagonLive/rust-from-csharp on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90f088e8209c984647009b6a6054e488680a840e2c9368d9fda7166cea585402 [INFO] running `Command { std: "docker" "start" "-a" "90f088e8209c984647009b6a6054e488680a840e2c9368d9fda7166cea585402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90f088e8209c984647009b6a6054e488680a840e2c9368d9fda7166cea585402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f088e8209c984647009b6a6054e488680a840e2c9368d9fda7166cea585402", kill_on_drop: false }` [INFO] [stdout] 90f088e8209c984647009b6a6054e488680a840e2c9368d9fda7166cea585402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 263036da952c756677f4092aeea299262d517ad7a950aa6af595e892f303f6de [INFO] running `Command { std: "docker" "start" "-a" "263036da952c756677f4092aeea299262d517ad7a950aa6af595e892f303f6de", 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.12s [INFO] running `Command { std: "docker" "inspect" "263036da952c756677f4092aeea299262d517ad7a950aa6af595e892f303f6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "263036da952c756677f4092aeea299262d517ad7a950aa6af595e892f303f6de", kill_on_drop: false }` [INFO] [stdout] 263036da952c756677f4092aeea299262d517ad7a950aa6af595e892f303f6de