[INFO] cloning repository https://github.com/Louis-Saglio/RustSandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Louis-Saglio/RustSandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouis-Saglio%2FRustSandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouis-Saglio%2FRustSandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1c61f6a4d0ec773b9c21d063f2d14e38ebe152f [INFO] checking Louis-Saglio/RustSandbox against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouis-Saglio%2FRustSandbox" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Louis-Saglio/RustSandbox on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Louis-Saglio/RustSandbox [INFO] finished tweaking git repo https://github.com/Louis-Saglio/RustSandbox [INFO] tweaked toml for git repo https://github.com/Louis-Saglio/RustSandbox written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Louis-Saglio/RustSandbox 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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Louis-Saglio/RustSandbox against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouis-Saglio%2FRustSandbox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Louis-Saglio/RustSandbox on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Louis-Saglio/RustSandbox [INFO] finished tweaking git repo https://github.com/Louis-Saglio/RustSandbox [INFO] tweaked toml for git repo https://github.com/Louis-Saglio/RustSandbox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Louis-Saglio/RustSandbox 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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 Louis-Saglio/RustSandbox against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouis-Saglio%2FRustSandbox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Louis-Saglio/RustSandbox on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Louis-Saglio/RustSandbox [INFO] finished tweaking git repo https://github.com/Louis-Saglio/RustSandbox [INFO] tweaked toml for git repo https://github.com/Louis-Saglio/RustSandbox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Louis-Saglio/RustSandbox 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee9f5296b0019ad34cd2e69a997083650f199b84346905a2dbf984b4c4a33da5 [INFO] running `Command { std: "docker" "start" "-a" "ee9f5296b0019ad34cd2e69a997083650f199b84346905a2dbf984b4c4a33da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee9f5296b0019ad34cd2e69a997083650f199b84346905a2dbf984b4c4a33da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9f5296b0019ad34cd2e69a997083650f199b84346905a2dbf984b4c4a33da5", kill_on_drop: false }` [INFO] [stdout] ee9f5296b0019ad34cd2e69a997083650f199b84346905a2dbf984b4c4a33da5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29e048514a0bab227ebc1f9a1025f72ed6d9f8006b2a178258208e5f972d45e5 [INFO] running `Command { std: "docker" "start" "-a" "29e048514a0bab227ebc1f9a1025f72ed6d9f8006b2a178258208e5f972d45e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust_sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `attacker_dice` [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn compute_defender_dice_number_0(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attacker_dice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attackers_nbr` [INFO] [stdout] --> src/main.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | fn compute_defender_dice_number_0(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attackers_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attackers_nbr` [INFO] [stdout] --> src/main.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | fn compute_defender_dice_number_1(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attackers_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attackers_nbr` [INFO] [stdout] --> src/main.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | fn compute_defender_dice_number_2(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attackers_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attacker_winning_rate`, `average_attacker_units_remaining`, and `average_defender_units_remaining` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 15 | attacker_winning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | average_attacker_units_remaining: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | average_defender_units_remaining: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl BattleResult { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 33 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_defender_dice_number_1` is never used [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn compute_defender_dice_number_1(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_defender_dice_number_2` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn compute_defender_dice_number_2(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_defender_dice_number_3` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn compute_defender_dice_number_3(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attacker_dice` [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn compute_defender_dice_number_0(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attacker_dice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attackers_nbr` [INFO] [stdout] --> src/main.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | fn compute_defender_dice_number_0(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attackers_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attackers_nbr` [INFO] [stdout] --> src/main.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | fn compute_defender_dice_number_1(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attackers_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attackers_nbr` [INFO] [stdout] --> src/main.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | fn compute_defender_dice_number_2(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attackers_nbr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attacker_winning_rate`, `average_attacker_units_remaining`, and `average_defender_units_remaining` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 15 | attacker_winning_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | average_attacker_units_remaining: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | average_defender_units_remaining: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl BattleResult { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 33 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_defender_dice_number_1` is never used [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn compute_defender_dice_number_1(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_defender_dice_number_2` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn compute_defender_dice_number_2(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_defender_dice_number_3` is never used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn compute_defender_dice_number_3(attacker_dice: &Vec, attackers_nbr: &u32, defenders_nbr: &u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "29e048514a0bab227ebc1f9a1025f72ed6d9f8006b2a178258208e5f972d45e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e048514a0bab227ebc1f9a1025f72ed6d9f8006b2a178258208e5f972d45e5", kill_on_drop: false }` [INFO] [stdout] 29e048514a0bab227ebc1f9a1025f72ed6d9f8006b2a178258208e5f972d45e5