[INFO] cloning repository https://github.com/L3xu5/rust-yadro-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/L3xu5/rust-yadro-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3xu5%2Frust-yadro-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3xu5%2Frust-yadro-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dfeb6b32fd0e4341eb105d18b2484143a4a342d8
[INFO] checking L3xu5/rust-yadro-test against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3xu5%2Frust-yadro-test" "/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/L3xu5/rust-yadro-test
[INFO] finished tweaking git repo https://github.com/L3xu5/rust-yadro-test
[INFO] tweaked toml for git repo https://github.com/L3xu5/rust-yadro-test written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/L3xu5/rust-yadro-test on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/L3xu5/rust-yadro-test 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking L3xu5/rust-yadro-test against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3xu5%2Frust-yadro-test" "/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/L3xu5/rust-yadro-test
[INFO] finished tweaking git repo https://github.com/L3xu5/rust-yadro-test
[INFO] tweaked toml for git repo https://github.com/L3xu5/rust-yadro-test written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/L3xu5/rust-yadro-test on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/L3xu5/rust-yadro-test 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "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-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7
[INFO] running `Command { std: "docker" "start" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7", 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" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7", 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" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking tokioexamples v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let mut my_vec3 = vec![6u64; capacity as usize];
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elem`
[INFO] [stdout]    --> src/main.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |     for mut elem in my_vec3 {
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elem`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_vec4`
[INFO] [stdout]    --> src/main.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     let my_vec4 = vec![0u64; capacity as usize];
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_vec4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `value` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = *tokio_protected_value.clone().lock().await;
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         value = 4;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `value` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |         let mut value = *protected_value.clone().lock().unwrap();
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/main.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         value = 4;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `value` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let mut value = *protected_value.clone().lock().unwrap();
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/main.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         value = 4;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let mut my_vec3 = vec![6u64; capacity as usize];
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |     let mut tokio_protected_value = std::sync::Arc::new(tokio::sync::Mutex::new(0u64));
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elem`
[INFO] [stdout]    --> src/main.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |     for mut elem in my_vec3 {
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elem`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_vec4`
[INFO] [stdout]    --> src/main.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     let my_vec4 = vec![0u64; capacity as usize];
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_vec4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `value` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = *tokio_protected_value.clone().lock().await;
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         value = 4;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn example1() {
[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 `Example2Struct` is never constructed
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Example2Struct {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn example2() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example3` is never used
[INFO] [stdout]    --> src/main.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn example3() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Triangle` is never constructed
[INFO] [stdout]    --> src/main.rs:313:16
[INFO] [stdout]     |
[INFO] [stdout] 313 |     pub struct Triangle {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `value` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |         let mut value = *protected_value.clone().lock().unwrap();
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/main.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |         value = 4;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `area`, `dist`, `perimeter`, and `new` are never used
[INFO] [stdout]    --> src/main.rs:324:16
[INFO] [stdout]     |
[INFO] [stdout] 322 |     impl Triangle {
[INFO] [stdout]     |     ------------- associated items in this implementation
[INFO] [stdout] 323 |         //calculate area which is a positive number
[INFO] [stdout] 324 |         pub fn area(&mut self) -> f32 {
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |         fn dist(a: (f32, f32), b: (f32, f32)) -> f32 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |         pub fn perimeter(&mut self) -> f32 {
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |         pub fn new(a: (f32, f32), b: (f32, f32), c: (f32, f32)) -> Triangle { // теперь конструктор принимает стороны как аргументы
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `value` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let mut value = *protected_value.clone().lock().unwrap();
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/main.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         value = 4;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |     let mut tokio_protected_value = std::sync::Arc::new(tokio::sync::Mutex::new(0u64));
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example1` is never used
[INFO] [stdout]   --> src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn example1() {
[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 `Example2Struct` is never constructed
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Example2Struct {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example2` is never used
[INFO] [stdout]    --> src/main.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn example2() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example3` is never used
[INFO] [stdout]    --> src/main.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn example3() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.51s
[INFO] running `Command { std: "docker" "inspect" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7", kill_on_drop: false }`
[INFO] [stdout] d63d76a6ff873401ca02cc0842336d92f77d05c4b6e8a49a5320be3f9dbdbcb7
