[INFO] fetching crate mct-rs 0.4.0...
[INFO] testing mct-rs-0.4.0 against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] extracting crate mct-rs 0.4.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate mct-rs 0.4.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate mct-rs 0.4.0
[INFO] tweaked toml for crates.io crate mct-rs 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate mct-rs 0.4.0 on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate mct-rs 0.4.0 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" "+cced03bfd61a304243a34504618ecec86c17063f" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.103
[INFO] [stderr]   Downloaded js-sys v0.3.80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a
[INFO] running `Command { std: "docker" "start" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a", 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" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a", 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" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mct-rs v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/mcts.rs:131:61
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stdout]     |                                                             ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stdout] 131 +                 let expq: Vec<f64> = qvalues.iter().map(|q| (q - maxq).exp() ).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.92s
[INFO] running `Command { std: "docker" "inspect" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a", 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" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/mcts.rs:131:61
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stdout]     |                                                             ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stdout] 131 +                 let expq: Vec<f64> = qvalues.iter().map(|q| (q - maxq).exp() ).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mct-rs v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/mcts.rs:131:61
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stdout]     |                                                             ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stdout] 131 +                 let expq: Vec<f64> = qvalues.iter().map(|q| (q - maxq).exp() ).collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]   --> examples/tictactoe.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct TicTacToeMDP {
[INFO] [stdout]    |                   ------------ field in this struct
[INFO] [stdout] 25 |     player: Player,
[INFO] [stdout] 26 |     state: TicTacToeState,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TicTacToeMDP` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/node.rs:228:35
[INFO] [stdout]     |
[INFO] [stdout] 228 |         fn get_transitions(&self, state: &u32, action: &TestAction) -> Vec<(u32, f64)> {
[INFO] [stdout]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]    --> src/node.rs:228:48
[INFO] [stdout]     |
[INFO] [stdout] 228 |         fn get_transitions(&self, state: &u32, action: &TestAction) -> Vec<(u32, f64)> {
[INFO] [stdout]     |                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/node.rs:232:30
[INFO] [stdout]     |
[INFO] [stdout] 232 |         fn get_reward(&self, state: &u32, action: &TestAction, next_state: &u32) -> f64 {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]    --> src/node.rs:232:43
[INFO] [stdout]     |
[INFO] [stdout] 232 |         fn get_reward(&self, state: &u32, action: &TestAction, next_state: &u32) -> f64 {
[INFO] [stdout]     |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_state`
[INFO] [stdout]    --> src/node.rs:232:64
[INFO] [stdout]     |
[INFO] [stdout] 232 |         fn get_reward(&self, state: &u32, action: &TestAction, next_state: &u32) -> f64 {
[INFO] [stdout]     |                                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DummyUCB` is never constructed
[INFO] [stdout]    --> src/node.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 |     struct DummyUCB;
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s
[INFO] running `Command { std: "docker" "inspect" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a", 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" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/mcts.rs:131:61
[INFO] [stderr]     |
[INFO] [stderr] 131 |                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stderr]     |                                                             ^                ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 131 -                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stderr] 131 +                 let expq: Vec<f64> = qvalues.iter().map(|q| (q - maxq).exp() ).collect();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]    --> src/node.rs:228:35
[INFO] [stderr]     |
[INFO] [stderr] 228 |         fn get_transitions(&self, state: &u32, action: &TestAction) -> Vec<(u32, f64)> {
[INFO] [stderr]     |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `action`
[INFO] [stderr]    --> src/node.rs:228:48
[INFO] [stderr]     |
[INFO] [stderr] 228 |         fn get_transitions(&self, state: &u32, action: &TestAction) -> Vec<(u32, f64)> {
[INFO] [stderr]     |                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]    --> src/node.rs:232:30
[INFO] [stderr]     |
[INFO] [stderr] 232 |         fn get_reward(&self, state: &u32, action: &TestAction, next_state: &u32) -> f64 {
[INFO] [stderr]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `action`
[INFO] [stderr]    --> src/node.rs:232:43
[INFO] [stderr]     |
[INFO] [stderr] 232 |         fn get_reward(&self, state: &u32, action: &TestAction, next_state: &u32) -> f64 {
[INFO] [stderr]     |                                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `next_state`
[INFO] [stderr]    --> src/node.rs:232:64
[INFO] [stderr]     |
[INFO] [stderr] 232 |         fn get_reward(&self, state: &u32, action: &TestAction, next_state: &u32) -> f64 {
[INFO] [stderr]     |                                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_state`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DummyUCB` is never constructed
[INFO] [stderr]    --> src/node.rs:249:12
[INFO] [stderr]     |
[INFO] [stderr] 249 |     struct DummyUCB;
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mct-rs` (lib) generated 1 warning (run `cargo fix --lib -p mct-rs` to apply 1 suggestion)
[INFO] [stderr] warning: `mct-rs` (lib test) generated 7 warnings (1 duplicate) (run `cargo fix --lib -p mct-rs --tests` to apply 5 suggestions)
[INFO] [stderr] warning: field `state` is never read
[INFO] [stderr]   --> examples/tictactoe.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub(crate) struct TicTacToeMDP {
[INFO] [stderr]    |                   ------------ field in this struct
[INFO] [stderr] 25 |     player: Player,
[INFO] [stderr] 26 |     state: TicTacToeState,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TicTacToeMDP` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mct-rs` (example "tictactoe") generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mct_rs-9a2cdd44f39ae2da)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test node::tests::test_back_propagate_increments_visits ... ok
[INFO] [stdout] test node::tests::test_expand_adds_one_child ... ok
[INFO] [stdout] test node::tests::test_get_outcome_child_adds_new_child ... ok
[INFO] [stdout] test node::tests::test_get_outcome_child_returns_existing_child ... ok
[INFO] [stdout] test node::tests::test_is_full_expanded ... ok
[INFO] [stdout] test node::tests::test_node_new ... ok
[INFO] [stdout] test node::tests::test_select_returns_terminal_node ... ok
[INFO] [stdout] test node::tests::test_select_traverses_fully_expanded ... ok
[INFO] [stdout] test node::tests::test_expand_terminal_returns_self ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mct_rs
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/mcts.rs:131:61
[INFO] [stderr]     |
[INFO] [stderr] 131 |                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stderr]     |                                                             ^                ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 131 -                 let expq: Vec<f64> = qvalues.iter().map(|q| ((q - maxq).exp())).collect();
[INFO] [stderr] 131 +                 let expq: Vec<f64> = qvalues.iter().map(|q| (q - maxq).exp() ).collect();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a", kill_on_drop: false }`
[INFO] [stdout] ad5e94a0f501cd952896a0a90e2bdf8906168ca413bc83e09156e75d117fda3a
