[INFO] cloning repository https://github.com/diplofocus/fluid-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diplofocus/fluid-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiplofocus%2Ffluid-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiplofocus%2Ffluid-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7c2d9a177e94d9ed088456b1ea960dcd109dc6b [INFO] checking diplofocus/fluid-sim/e7c2d9a177e94d9ed088456b1ea960dcd109dc6b against master#368e2fd458a22d0cc133d0c254f2612ee999744f for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiplofocus%2Ffluid-sim" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diplofocus/fluid-sim on toolchain 368e2fd458a22d0cc133d0c254f2612ee999744f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diplofocus/fluid-sim [INFO] finished tweaking git repo https://github.com/diplofocus/fluid-sim [INFO] tweaked toml for git repo https://github.com/diplofocus/fluid-sim written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/diplofocus/fluid-sim 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" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.17 [INFO] [stderr] Downloaded kdtree v0.7.0 [INFO] [stderr] Downloaded syn v2.0.62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2e31b46339896471294bb58be4823e5ccf94a8db70ec29ebc3fba0ddc887fd4 [INFO] running `Command { std: "docker" "start" "-a" "d2e31b46339896471294bb58be4823e5ccf94a8db70ec29ebc3fba0ddc887fd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2e31b46339896471294bb58be4823e5ccf94a8db70ec29ebc3fba0ddc887fd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e31b46339896471294bb58be4823e5ccf94a8db70ec29ebc3fba0ddc887fd4", kill_on_drop: false }` [INFO] [stdout] d2e31b46339896471294bb58be4823e5ccf94a8db70ec29ebc3fba0ddc887fd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3f465cfa860dd8f2a651a326dd795664b501c81c657c28c28261e822ca38ed [INFO] running `Command { std: "docker" "start" "-a" "1e3f465cfa860dd8f2a651a326dd795664b501c81c657c28c28261e822ca38ed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking piston-graphics_api_version v1.0.1 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling syn v2.0.62 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking wide v0.7.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking owned_ttf_parser v0.21.0 [INFO] [stderr] Checking ab_glyph v0.2.26 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.3.0 [INFO] [stderr] Checking spin_sleep v1.2.0 [INFO] [stderr] Checking piston-texture v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking piston2d-graphics v0.44.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking kdtree v0.7.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking pistoncore-window v1.0.0 [INFO] [stderr] Checking pistoncore-event_loop v0.55.0 [INFO] [stderr] Checking piston v0.55.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.84.0 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking pistoncore-glutin_window v0.72.0 [INFO] [stderr] Checking fluid-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | impl App<'a> { [INFO] [stdout] | - ^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | impl App<'a> { [INFO] [stdout] | - ^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'a` here: `<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/fluid_simulation.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::{iter, prelude::*}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::render_ui` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::ui::render_ui; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/fluid_simulation.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::{iter, prelude::*}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::render_ui` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::ui::render_ui; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.particles` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fluid_simulation.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 103 | for particle in &self.particles { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 107 | / self.particles [INFO] [stdout] 108 | | .par_iter_mut() [INFO] [stdout] | |___________________________^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 111 | let particles_to_consider = kdtree [INFO] [stdout] | ------ immutable borrow later captured here by closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.particles` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/fluid_simulation.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 103 | for particle in &self.particles { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 107 | / self.particles [INFO] [stdout] 108 | | .par_iter_mut() [INFO] [stdout] | |___________________________^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 111 | let particles_to_consider = kdtree [INFO] [stdout] | ------ immutable borrow later captured here by closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluid-simulation` (bin "fluid-simulation") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluid-simulation` (bin "fluid-simulation" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e3f465cfa860dd8f2a651a326dd795664b501c81c657c28c28261e822ca38ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3f465cfa860dd8f2a651a326dd795664b501c81c657c28c28261e822ca38ed", kill_on_drop: false }` [INFO] [stdout] 1e3f465cfa860dd8f2a651a326dd795664b501c81c657c28c28261e822ca38ed