[INFO] updating cached repository https://github.com/AngelVI13/rustoe [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 51a0b26d56662d94b6a24e3495bb719fef82ee31 [INFO] testing AngelVI13/rustoe against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelVI13%2Frustoe" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AngelVI13/rustoe on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/AngelVI13/rustoe already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 34cd4940e210946765bfcca83e9aa062ff46ef7a7fe23e9560e618688475f4ff [INFO] running `"docker" "start" "-a" "34cd4940e210946765bfcca83e9aa062ff46ef7a7fe23e9560e618688475f4ff"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tttoe v0.1.0 (/opt/rustwide/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:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut arena = Arena::new(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it 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; 6 warnings emitted [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" "34cd4940e210946765bfcca83e9aa062ff46ef7a7fe23e9560e618688475f4ff"` [INFO] running `"docker" "rm" "-f" "34cd4940e210946765bfcca83e9aa062ff46ef7a7fe23e9560e618688475f4ff"` [INFO] [stdout] 34cd4940e210946765bfcca83e9aa062ff46ef7a7fe23e9560e618688475f4ff