[INFO] cloning repository https://github.com/seanlth/Fluid-Solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanlth/Fluid-Solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2FFluid-Solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2FFluid-Solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d6e9e03e3b10c7fda57ffe0f73837803793009e [INFO] testing seanlth/Fluid-Solver against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2FFluid-Solver" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanlth/Fluid-Solver on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanlth/Fluid-Solver [INFO] finished tweaking git repo https://github.com/seanlth/Fluid-Solver [INFO] tweaked toml for git repo https://github.com/seanlth/Fluid-Solver written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/seanlth/Fluid-Solver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40adbc5e81ba2ca0f0c6a84714f5630e03314960f82ed88ac5910deb830bbed1 [INFO] running `Command { std: "docker" "start" "-a" "40adbc5e81ba2ca0f0c6a84714f5630e03314960f82ed88ac5910deb830bbed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40adbc5e81ba2ca0f0c6a84714f5630e03314960f82ed88ac5910deb830bbed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40adbc5e81ba2ca0f0c6a84714f5630e03314960f82ed88ac5910deb830bbed1", kill_on_drop: false }` [INFO] [stdout] 40adbc5e81ba2ca0f0c6a84714f5630e03314960f82ed88ac5910deb830bbed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 493b1a8a94f496f02d91c3f1e6cd464298d3e098a4feae09052f06d21adda908 [INFO] running `Command { std: "docker" "start" "-a" "493b1a8a94f496f02d91c3f1e6cd464298d3e098a4feae09052f06d21adda908", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cc v1.0.27 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling lazy_static v0.1.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rgb v0.8.11 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.2 [INFO] [stderr] Compiling lodepng v2.4.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling fluids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | implement_vertex!(Vertex, position, colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:229:6 [INFO] [stdout] | [INFO] [stdout] 229 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &dyn Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:88 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:102 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | integration: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - integration: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] 29 + integration: fn(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:77 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &dyn Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:107 [INFO] [stdout] | [INFO] [stdout] 64 | ...d, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:121 [INFO] [stdout] | [INFO] [stdout] 64 | ..., f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:74:60 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn integration(mut self, f: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn integration(mut self, f: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] 74 + pub fn integration(mut self, f: fn(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn empty(_: f64, _: f64, _: &Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 - pub fn empty(_: f64, _: f64, _: &Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] 2 + pub fn empty(_: f64, _: f64, _: &dyn Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn euler(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn euler(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 7 + pub fn euler(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn bogacki_shampine(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn bogacki_shampine(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 12 + pub fn bogacki_shampine(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn runge_kutta_4(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn runge_kutta_4(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 22 + pub fn runge_kutta_4(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | _: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - _: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 11 + _: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 12 + _: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 12 + _: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 22 + interpolator: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 23 + _: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 23 + _: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 59 + interpolator: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 60 + integrator: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 60 + integrator: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "493b1a8a94f496f02d91c3f1e6cd464298d3e098a4feae09052f06d21adda908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493b1a8a94f496f02d91c3f1e6cd464298d3e098a4feae09052f06d21adda908", kill_on_drop: false }` [INFO] [stdout] 493b1a8a94f496f02d91c3f1e6cd464298d3e098a4feae09052f06d21adda908 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdc278bc6daf5865e0b17a9505f976c879f5d91b97d9ffdb8cd823b437da900b [INFO] running `Command { std: "docker" "start" "-a" "bdc278bc6daf5865e0b17a9505f976c879f5d91b97d9ffdb8cd823b437da900b", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling lazy_static v0.1.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling rgb v0.8.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.2 [INFO] [stderr] Compiling lodepng v2.4.2 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling fluids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | implement_vertex!(Vertex, position, colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:229:6 [INFO] [stdout] | [INFO] [stdout] 229 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &dyn Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:88 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:102 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | integration: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - integration: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] 29 + integration: fn(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:77 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &dyn Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:107 [INFO] [stdout] | [INFO] [stdout] 64 | ...d, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:121 [INFO] [stdout] | [INFO] [stdout] 64 | ..., f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:74:60 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn integration(mut self, f: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn integration(mut self, f: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] 74 + pub fn integration(mut self, f: fn(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn empty(_: f64, _: f64, _: &Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 - pub fn empty(_: f64, _: f64, _: &Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] 2 + pub fn empty(_: f64, _: f64, _: &dyn Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn euler(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn euler(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 7 + pub fn euler(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn bogacki_shampine(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn bogacki_shampine(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 12 + pub fn bogacki_shampine(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn runge_kutta_4(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn runge_kutta_4(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 22 + pub fn runge_kutta_4(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | _: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - _: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 11 + _: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 12 + _: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 12 + _: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 22 + interpolator: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 23 + _: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 23 + _: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 59 + interpolator: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 60 + integrator: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 60 + integrator: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario6.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario5.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario6.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario6.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario6.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario6.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario6.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario6.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario6.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario4.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario7.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario5.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let mut solver:FluidSolver = FluidSolver::new(1.0, 128, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario5.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario5.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario5.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario5.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario5.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario5.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut solver:FluidSolver = FluidSolver::new(1.0, 128, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario3.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario4.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 128, 64, 0.01, 1.0, 9.8) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario4.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario4.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario4.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario4.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario4.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario4.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 128, 64, 0.01, 1.0, 9.8) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario7.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 64, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario7.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario7.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario7.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario7.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario3.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario3.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario3.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario3.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario3.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario3.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario7.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario7.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 64, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario3.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario2.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `Fluids` [INFO] [stdout] --> examples/scenario8.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate Fluids; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario1.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario1.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario1.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .interpolation(interpolation::bicubic_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario1.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario1.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario1.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario1.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario2.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario2.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario2.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario2.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario2.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario2.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario2.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | let mut solver:FluidSolver = FluidSolver::new(1.0, 64, 128, 0.01, 1.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FluidSolver` [INFO] [stdout] --> examples/scenario8.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let mut solver:FluidSolver = FluidSolver::new(1.0, 512, 512, 0.01, 1.0, 9.8) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FluidSolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `advection` [INFO] [stdout] --> examples/scenario8.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | ... .advection(advection::semi_lagrangian) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `advection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `interpolation` [INFO] [stdout] --> examples/scenario8.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | ... .interpolation(interpolation::bilinear_interpolate) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `integrators` [INFO] [stdout] --> examples/scenario8.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | ... .integration(integrators::euler) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `integrators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linear_solvers` [INFO] [stdout] --> examples/scenario8.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | ... .linear_solver(linear_solvers::relaxation_fast_c); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `linear_solvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Visualiser` [INFO] [stdout] --> examples/scenario8.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let visualiser = Visualiser::new(solver.rows, solver.columns); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Visualiser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FluidSolver` in this scope [INFO] [stdout] --> examples/scenario8.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let mut solver:FluidSolver = FluidSolver::new(1.0, 512, 512, 0.01, 1.0, 9.8) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | implement_vertex!(Vertex, position, colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:229:6 [INFO] [stdout] | [INFO] [stdout] 229 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/visualiser.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | implement_vertex!(Vertex2, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &dyn Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:88 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:27:102 [INFO] [stdout] | [INFO] [stdout] 27 | advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] 27 + advection: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | integration: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - integration: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] 29 + integration: fn(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:77 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &dyn Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:107 [INFO] [stdout] | [INFO] [stdout] 64 | ...d, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:64:121 [INFO] [stdout] | [INFO] [stdout] 64 | ..., f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] 64 + pub fn advection(mut self, f: fn(&mut Field, &Field, &Field, f64, f64, &Fn(f64, f64, &Field) -> f64, &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) ) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fluid_solver.rs:74:60 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn integration(mut self, f: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn integration(mut self, f: fn(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] 74 + pub fn integration(mut self, f: fn(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn empty(_: f64, _: f64, _: &Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 2 - pub fn empty(_: f64, _: f64, _: &Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] 2 + pub fn empty(_: f64, _: f64, _: &dyn Fn(f64, f64) -> f64, _: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn euler(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn euler(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 7 + pub fn euler(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn bogacki_shampine(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn bogacki_shampine(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 12 + pub fn bogacki_shampine(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/integrators.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn runge_kutta_4(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn runge_kutta_4(x: f64, t: f64, f: &Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] 22 + pub fn runge_kutta_4(x: f64, t: f64, f: &dyn Fn(f64, f64) -> f64, dt: f64) -> f64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | _: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - _: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 11 + _: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 12 + _: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 12 + _: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 22 + interpolator: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 23 + _: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - _: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 23 + _: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - interpolator: &Fn(f64, f64, &Field) -> f64, [INFO] [stdout] 59 + interpolator: &dyn Fn(f64, f64, &Field) -> f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 60 + integrator: &dyn Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/advection.rs:60:51 [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - integrator: &Fn(f64, f64, &Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] 60 + integrator: &Fn(f64, f64, &dyn Fn(f64, f64) -> f64, f64) -> f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 9 previous errors [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/fluids-bf584263510497f4.fluids.eeea8367-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/fluids-bf584263510497f4.fluids.eeea8367-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/fluids-bf584263510497f4.fluids.eeea8367-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/fluids-bf584263510497f4.5jbv1t3s6wy0m92.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-5a48a15a6b461d0f/out" "-L" "/opt/rustwide/target/debug/build/libloading-d31de2c18e413dfc/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lsolver" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/liblodepng-5c205b817ebbeb98.rlib" "/opt/rustwide/target/debug/deps/librgb-57b3106cdbc0995e.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-cd92c0cb6d288fd4.rlib" "/opt/rustwide/target/debug/deps/libglium-b3f37d0bd38052cf.rlib" "/opt/rustwide/target/debug/deps/libglutin-83e552717996f91a.rlib" "/opt/rustwide/target/debug/deps/libosmesa_sys-a405436d41aacf9a.rlib" "/opt/rustwide/target/debug/deps/libwinit-74322db1313d68a5.rlib" "/opt/rustwide/target/debug/deps/libsmithay_client_toolkit-99a515bfd85a416e.rlib" "/opt/rustwide/target/debug/deps/libwayland_protocols-7110657da24397d9.rlib" "/opt/rustwide/target/debug/deps/libwayland_client-4896b7d362341c68.rlib" "/opt/rustwide/target/debug/deps/libwayland_commons-c69dde9ec4dc2c0f.rlib" "/opt/rustwide/target/debug/deps/libwayland_sys-1000687c375e0637.rlib" "/opt/rustwide/target/debug/deps/libdowncast_rs-95cb6f9783277e5d.rlib" "/opt/rustwide/target/debug/deps/libtempfile-6323df50e1c41673.rlib" "/opt/rustwide/target/debug/deps/libremove_dir_all-ce7ac8e196fbd9fd.rlib" "/opt/rustwide/target/debug/deps/librand-ec2c83d2bbae7422.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-8fd0c09013522351.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-9c5c23212c9960f0.rlib" "/opt/rustwide/target/debug/deps/librand_hc-e7d58d179166f601.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-c01259031f0b1fa7.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-848567cda9806675.rlib" "/opt/rustwide/target/debug/deps/libnix-8ed9f74dac6c01bc.rlib" "/opt/rustwide/target/debug/deps/libmemmap-fadeebb2dc0dd752.rlib" "/opt/rustwide/target/debug/deps/libdlib-0b4baf82b2fe8e80.rlib" "/opt/rustwide/target/debug/deps/liblibloading-003efc14e3a06bc9.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-b111abf5f0f3f19e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-429e4cbc245a5b99.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-131c06f22212478d.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-636bf14023cdaee7.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-9ca02bb6a17570a6.rlib" "/opt/rustwide/target/debug/deps/librand-ca9196118766f34f.rlib" "/opt/rustwide/target/debug/deps/librand_core-4b453748fb73208e.rlib" "/opt/rustwide/target/debug/deps/librand_core-0a00e281bc0eee5f.rlib" "/opt/rustwide/target/debug/deps/liblock_api-1644e96621ae6150.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-3664dc1805246fed.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-8db8972750b36897.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-fe89376b6386e453.rlib" "/opt/rustwide/target/debug/deps/libx11_dl-1e4e416d8b19571f.rlib" "/opt/rustwide/target/debug/deps/liblog-7476b9725e555f7c.rlib" "/opt/rustwide/target/debug/deps/libshared_library-000153fa866fa98e.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-42373f229b193a12.rlib" "/opt/rustwide/target/debug/deps/libfnv-b5beda38ebb21b99.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-49264aef9a268d79.rlib" "/opt/rustwide/target/debug/deps/libunreachable-1875c2338f97d1c9.rlib" "/opt/rustwide/target/debug/deps/libvoid-7f02289a26fcea22.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-75fb7fe7fee7a1b7.rlib" "/opt/rustwide/target/debug/deps/libbacktrace_sys-e80a6b74fc2eb640.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-dd98fd200a7a81ce.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-eb65113c9bf31067.rlib" "/opt/rustwide/target/debug/deps/liblibc-5eda00717745caf9.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-75bb56bfa6405f19.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/fluids-bf584263510497f4" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lsolver [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bdc278bc6daf5865e0b17a9505f976c879f5d91b97d9ffdb8cd823b437da900b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc278bc6daf5865e0b17a9505f976c879f5d91b97d9ffdb8cd823b437da900b", kill_on_drop: false }` [INFO] [stdout] bdc278bc6daf5865e0b17a9505f976c879f5d91b97d9ffdb8cd823b437da900b