[INFO] cloning repository https://github.com/rdavidson1994/sand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rdavidson1994/sand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidson1994%2Fsand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidson1994%2Fsand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f913b30e85c0a199bf08941db1b12401f7cfca48 [INFO] checking rdavidson1994/sand against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidson1994%2Fsand" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rdavidson1994/sand on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rdavidson1994/sand [INFO] finished tweaking git repo https://github.com/rdavidson1994/sand [INFO] tweaked toml for git repo https://github.com/rdavidson1994/sand written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rdavidson1994/sand 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc7e9671498eb09dd47eaf9a2b77d91e8a3d5176925fb0dd6d1d41a3dbf91084 [INFO] running `Command { std: "docker" "start" "-a" "cc7e9671498eb09dd47eaf9a2b77d91e8a3d5176925fb0dd6d1d41a3dbf91084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc7e9671498eb09dd47eaf9a2b77d91e8a3d5176925fb0dd6d1d41a3dbf91084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc7e9671498eb09dd47eaf9a2b77d91e8a3d5176925fb0dd6d1d41a3dbf91084", kill_on_drop: false }` [INFO] [stdout] cc7e9671498eb09dd47eaf9a2b77d91e8a3d5176925fb0dd6d1d41a3dbf91084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acdb2d0b3bd09ae7ff655902908da291e546a6ec311f1fc5a15e32d2c06a611c [INFO] running `Command { std: "docker" "start" "-a" "acdb2d0b3bd09ae7ff655902908da291e546a6ec311f1fc5a15e32d2c06a611c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking bytemuck v1.12.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking mem v0.5.0 [INFO] [stderr] Checking pistoncore-input v0.28.1 [INFO] [stderr] Checking piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Checking pistoncore-window v0.45.0 [INFO] [stderr] Checking pistoncore-event_loop v0.50.0 [INFO] [stderr] Checking piston v0.50.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.64.0 [INFO] [stderr] Checking sand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/conway.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 24 | for i in world.neighbors() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 25 | if let Some(tile) = &mut world[i] { [INFO] [stdout] | ^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/conway.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 43 | for i in world.neighbors() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 44 | if let Some(tile) = &mut world[i] { [INFO] [stdout] | ^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/conway.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 24 | for i in world.neighbors() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 25 | if let Some(tile) = &mut world[i] { [INFO] [stdout] | ^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/conway.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 43 | for i in world.neighbors() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 44 | if let Some(tile) = &mut world[i] { [INFO] [stdout] | ^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world` as mutable more than once at a time [INFO] [stdout] --> src/gas.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 34 | for (j, delta_v) in world.second().neighbors().zip(EXPLOSION_VECTORS.iter()) { [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] 35 | let mut new_tile = match world[j].take() { [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world` as mutable more than once at a time [INFO] [stdout] --> src/gas.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 34 | for (j, delta_v) in world.second().neighbors().zip(EXPLOSION_VECTORS.iter()) { [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] 35 | let mut new_tile = match world[j].take() { [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world` as mutable more than once at a time [INFO] [stdout] --> src/gas.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 34 | for (j, delta_v) in world.second().neighbors().zip(EXPLOSION_VECTORS.iter()) { [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 50 | world[j] = Some(new_tile); [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world` as mutable more than once at a time [INFO] [stdout] --> src/gas.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 34 | for (j, delta_v) in world.second().neighbors().zip(EXPLOSION_VECTORS.iter()) { [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 50 | world[j] = Some(new_tile); [INFO] [stdout] | ^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lava.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 15 | for i in world.neighbors() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 23 | world[i] = Some(Tile::new( [INFO] [stdout] | ^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/lava.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 15 | for i in world.neighbors() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 23 | world[i] = Some(Tile::new( [INFO] [stdout] | ^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sand` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sand` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "acdb2d0b3bd09ae7ff655902908da291e546a6ec311f1fc5a15e32d2c06a611c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acdb2d0b3bd09ae7ff655902908da291e546a6ec311f1fc5a15e32d2c06a611c", kill_on_drop: false }` [INFO] [stdout] acdb2d0b3bd09ae7ff655902908da291e546a6ec311f1fc5a15e32d2c06a611c