[INFO] cloning repository https://github.com/AngelVI13/rustoe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngelVI13/rustoe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Frustoe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Frustoe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d184189cf0701ee2ddce01972854bb41397e45b [INFO] checking AngelVI13/rustoe against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Frustoe" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AngelVI13/rustoe [INFO] finished tweaking git repo https://github.com/AngelVI13/rustoe [INFO] tweaked toml for git repo https://github.com/AngelVI13/rustoe written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AngelVI13/rustoe on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AngelVI13/rustoe 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" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be [INFO] running `Command { std: "docker" "start" "9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be", 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" "9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be", 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" "9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking tttoe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::defines::*` [INFO] [stdout] --> src/uct.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::defines::*; [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: `Node` [INFO] [stdout] --> src/uct.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::node_1::{Tree, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node` and `Tree` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use node_1::{Tree, Node}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::defines::*` [INFO] [stdout] --> src/uct.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::defines::*; [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: `Node` [INFO] [stdout] --> src/uct.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::node_1::{Tree, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node` and `Tree` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use node_1::{Tree, Node}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeId` is never constructed [INFO] [stdout] --> src/node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NodeId { [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 `NodeData` is never constructed [INFO] [stdout] --> src/node.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NodeData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default` and `new` are never used [INFO] [stdout] --> src/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl NodeData { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new(move_: Option, state: &Board) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Arena` is never constructed [INFO] [stdout] --> src/node.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Arena { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_node`, `add_child`, and `get` are never used [INFO] [stdout] --> src/node.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Arena { // todo: consider adding .get() implementation that return mut ref to Node [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new_node(&mut self, data: NodeData) -> NodeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_child(&mut self, parent_id: NodeId, child_id: NodeId) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get(&mut self, node_id: &NodeId) -> &mut Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_root`, `new_child`, `update`, `add_child`, `ucb1`, and `select_child` are never used [INFO] [stdout] --> src/node.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 97 | pub fn new_root(state: &Board, arena: &mut Arena) -> NodeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn new_child(&self, arena: &mut Arena, move_: usize, state: &Board) -> NodeId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn update(&mut self, result: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_child(&mut self, arena: &mut Arena, move_: usize, state: &Board) -> NodeId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn ucb1(&self, node: &Node) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn select_child(&self, arena: &Arena) -> NodeId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/node_1.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeId` is never constructed [INFO] [stdout] --> src/node.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NodeId { [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 `NodeData` is never constructed [INFO] [stdout] --> src/node.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NodeData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default` and `new` are never used [INFO] [stdout] --> src/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl NodeData { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new(move_: Option, state: &Board) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/node.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Arena` is never constructed [INFO] [stdout] --> src/node.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Arena { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_node`, `add_child`, and `get` are never used [INFO] [stdout] --> src/node.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Arena { // todo: consider adding .get() implementation that return mut ref to Node [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new_node(&mut self, data: NodeData) -> NodeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_child(&mut self, parent_id: NodeId, child_id: NodeId) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get(&mut self, node_id: &NodeId) -> &mut Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_root`, `new_child`, `update`, `add_child`, `ucb1`, and `select_child` are never used [INFO] [stdout] --> src/node.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 97 | pub fn new_root(state: &Board, arena: &mut Arena) -> NodeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn new_child(&self, arena: &mut Arena, move_: usize, state: &Board) -> NodeId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn update(&mut self, result: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_child(&mut self, arena: &mut Arena, move_: usize, state: &Board) -> NodeId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn ucb1(&self, node: &Node) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn select_child(&self, arena: &Arena) -> NodeId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/node_1.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be", kill_on_drop: false }` [INFO] [stdout] 9773b390961cce437561e954f96d8719dbf0d7f5c7473da7077469c80c1df0be