[INFO] updating cached repository AngelVI13/rustoe [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/AngelVI13/rustoe [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/AngelVI13/rustoe" "work/ex/beta-1.38-1/sources/1.37.0/gh/AngelVI13/rustoe"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/AngelVI13/rustoe'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/AngelVI13/rustoe" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AngelVI13/rustoe"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AngelVI13/rustoe'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 51a0b26d56662d94b6a24e3495bb719fef82ee31 [INFO] sha for GitHub repo AngelVI13/rustoe: 51a0b26d56662d94b6a24e3495bb719fef82ee31 [INFO] validating manifest of AngelVI13/rustoe on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of AngelVI13/rustoe on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing AngelVI13/rustoe [INFO] finished frobbing AngelVI13/rustoe [INFO] frobbed toml for AngelVI13/rustoe written to work/ex/beta-1.38-1/sources/1.37.0/gh/AngelVI13/rustoe/Cargo.toml [INFO] started frobbing AngelVI13/rustoe [INFO] finished frobbing AngelVI13/rustoe [INFO] frobbed toml for AngelVI13/rustoe written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/AngelVI13/rustoe/Cargo.toml [INFO] crate AngelVI13/rustoe already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing AngelVI13/rustoe against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/AngelVI13/rustoe:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 554f16240f5a66f9d85c809967ccc6f859b3a4c2207ea7f3437be578c54d16d7 [INFO] running `"docker" "start" "-a" "554f16240f5a66f9d85c809967ccc6f859b3a4c2207ea7f3437be578c54d16d7"` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [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] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tttoe v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `crate::defines::*` [INFO] [stderr] --> src/uct.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::defines::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NodeData`, `NodeId` [INFO] [stderr] --> src/uct.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::node::{Arena, Node, NodeId, NodeData}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NodeData` [INFO] [stderr] --> src/main.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use node::{Arena, NodeData}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uct::uct` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use uct::uct; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arena` [INFO] [stderr] --> src/main.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut arena = Arena::new(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_arena` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut arena = Arena::new(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `*arena` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/uct.rs:20:55 [INFO] [stderr] | [INFO] [stderr] 14 | let mut node = &mut arena.nodes[rootnode_id.index]; [INFO] [stderr] | ----------- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 20 | let selected_child_id = node.select_child(arena); [INFO] [stderr] | ------------ ^^^^^ immutable borrow occurs here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow later used by call [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `*arena` as mutable more than once at a time [INFO] [stderr] --> src/uct.rs:33:47 [INFO] [stderr] | [INFO] [stderr] 14 | let mut node = &mut arena.nodes[rootnode_id.index]; [INFO] [stderr] | ----------- first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 33 | let new_child_id = node.add_child(arena, move_, &state); [INFO] [stderr] | --------- ^^^^^ second mutable borrow occurs here [INFO] [stderr] | | [INFO] [stderr] | first borrow later used by call [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `*arena` as mutable more than once at a time [INFO] [stderr] --> src/uct.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 62 | let rootnode = arena.get(&rootnode_id); [INFO] [stderr] | ----- first mutable borrow occurs here [INFO] [stderr] 63 | for child_id in rootnode.children.iter() { [INFO] [stderr] | ------------------------ first borrow later used here [INFO] [stderr] 64 | let child = arena.get(child_id); [INFO] [stderr] | ^^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0502. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: Could not compile `tttoe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "554f16240f5a66f9d85c809967ccc6f859b3a4c2207ea7f3437be578c54d16d7"` [INFO] running `"docker" "rm" "-f" "554f16240f5a66f9d85c809967ccc6f859b3a4c2207ea7f3437be578c54d16d7"` [INFO] [stdout] 554f16240f5a66f9d85c809967ccc6f859b3a4c2207ea7f3437be578c54d16d7