[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/5d6e9e03e3b10c7fda57ffe0f73837803793009e against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanlth%2FFluid-Solver" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/seanlth/Fluid-Solver on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/seanlth/Fluid-Solver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded lazy_static v0.1.15 [INFO] [stderr] Downloaded tempfile v3.0.5 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded rand_xorshift v0.1.0 [INFO] [stderr] Downloaded glutin v0.17.0 [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] [stderr] Downloaded shared_library v0.1.2 [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded gl_generator v0.10.0 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded cocoa v0.15.0 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded rand v0.6.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.6 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded khronos_api v3.0.0 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded rand_chacha v0.1.0 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.26 [INFO] [stderr] Downloaded glium v0.22.0 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded cc v1.0.27 [INFO] [stderr] Downloaded winit v0.16.2 [INFO] [stderr] Downloaded core-foundation v0.6.3 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded lodepng v2.4.2 [INFO] [stderr] Downloaded rgb v0.8.11 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded gleam v0.6.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3efb4cc8eee01df81459186f89f83806d0eb75010058fbbd48b73de5f6bdb37a [INFO] running `Command { std: "docker" "start" "-a" "3efb4cc8eee01df81459186f89f83806d0eb75010058fbbd48b73de5f6bdb37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3efb4cc8eee01df81459186f89f83806d0eb75010058fbbd48b73de5f6bdb37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3efb4cc8eee01df81459186f89f83806d0eb75010058fbbd48b73de5f6bdb37a", kill_on_drop: false }` [INFO] [stdout] 3efb4cc8eee01df81459186f89f83806d0eb75010058fbbd48b73de5f6bdb37a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 332d1df9a888b44a04356b5d599f0d3d613b87fc71062522dd96bcb0b123dcfd [INFO] running `Command { std: "docker" "start" "-a" "332d1df9a888b44a04356b5d599f0d3d613b87fc71062522dd96bcb0b123dcfd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling bitflags v1.0.4 [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 downcast-rs v1.0.3 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling lazy_static v0.1.15 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.1 [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 xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rgb v0.8.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling x11-dl v2.18.3 [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 osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/linear_solvers.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &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: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)... [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 | ...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: if this is a dyn-compatible trait, 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, &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: if this is a dyn-compatible trait, 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, &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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.17.0, winit v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "332d1df9a888b44a04356b5d599f0d3d613b87fc71062522dd96bcb0b123dcfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332d1df9a888b44a04356b5d599f0d3d613b87fc71062522dd96bcb0b123dcfd", kill_on_drop: false }` [INFO] [stdout] 332d1df9a888b44a04356b5d599f0d3d613b87fc71062522dd96bcb0b123dcfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30dc64e61239e1271e07b5807ceb0a628295019a6d8b647d5486520467ad6419 [INFO] running `Command { std: "docker" "start" "-a" "30dc64e61239e1271e07b5807ceb0a628295019a6d8b647d5486520467ad6419", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling bitflags v1.0.4 [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 stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [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 log v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling lazy_static v0.1.15 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling wayland-sys v0.20.12 [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 wayland-commons v0.20.12 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rgb v0.8.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling lodepng v2.4.2 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols 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 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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/linear_solvers.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &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: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)... [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 | ...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: if this is a dyn-compatible trait, 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, &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: if this is a dyn-compatible trait, 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, &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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] 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[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[E0425]: 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[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[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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `fluids` (example "scenario7") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: 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/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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] [stdout] error[E0425]: 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[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[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[E0425]: 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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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[E0425]: 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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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[E0425]: 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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` (example "scenario5") due to 3 previous errors [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] [stderr] error: could not compile `fluids` (example "scenario8") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` (example "scenario1") due to 3 previous errors [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] [stderr] error: could not compile `fluids` (example "scenario6") due to 3 previous errors [INFO] [stderr] error: could not compile `fluids` (example "scenario4") due to 3 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[E0425]: 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] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/linear_solvers.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `fluids` (example "scenario3") due to 3 previous errors [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] error[E0425]: 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] 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] 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] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | integrator: &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: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)... [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 | ...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: if this is a dyn-compatible trait, 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, &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: if this is a dyn-compatible trait, 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, &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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] [stderr] error: could not compile `fluids` (example "scenario2") due to 3 previous errors [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcBgzMWZ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lsolver" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{liblodepng-be0b360ad4b45a3e,librgb-04932dde66358988,libscoped_threadpool-63c9ed08b3b3f916,libglium-2dde8fe5b1449631,libglutin-5787062de11a16c8,libosmesa_sys-4730ff6635b994b0,libwinit-7f192b7967d01fe4,libsmithay_client_toolkit-9b316ee5c6b291f2,libwayland_protocols-ac80c71930896acc,libwayland_client-a3778ce51aca0db2,libwayland_commons-5409252d5732a8bf,libwayland_sys-c7d4498490a86b28,libdowncast_rs-9b113fbd4b6b37fa,libtempfile-765fe2bd7d2a5e7c,libremove_dir_all-10922cbfe6ae03b3,librand-2aff47f8df153e7b,librand_xorshift-a92821fb063aa537,librand_pcg-ab67e04aa6cbeec9,librand_hc-0983439ec46bf141,librand_chacha-759a1db778edf03f,librand_isaac-1780ff157c24b3ae,libnix-566d22d19c438bee,libmemmap-02f47f77f0b10797,libdlib-8f5754c252e0272f,liblibloading-75c463f95b569dcc,libbyteorder-4378ee34625a40bd,libbitflags-532b69877b10c8f7,libpercent_encoding-ec92e7f90dd941f7,libparking_lot-075821ee91ed4967,libparking_lot_core-e282ac70daaa64b9,librand-2b0106bbef6513fb,librand_core-b3af958206bb198c,librand_core-9046b3ae177a2995,liblock_api-07b36f6d8ee5dab8,libowning_ref-263ff535346db3b6,libstable_deref_trait-a2669e0baa8ea46a,libscopeguard-aa32d490de51ce8d,libx11_dl-7c5d9b072a50dca6,liblog-5cd5f95dd656b9bf,libshared_library-31f0fce447e1a4f7,liblazy_static-b2831b651d17f990,libfnv-65a8ef0401042cbb,libsmallvec-be9de499662d8400,libunreachable-18ab1dbbd8ddaf49,libvoid-26ef3a4b9d17b486,libbacktrace-c40d879df237b434,libbacktrace_sys-5fa4c4d7fb9feeb7,librustc_demangle-0f92a7eb0fce15b9,libcfg_if-7e0755a4f5515a0b,liblibc-3dcf41c8efb3886f,liblazy_static-7079e826c43ec392}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcBgzMWZ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/backtrace-sys-8f42782cb250c848/out" "-L" "/opt/rustwide/target/debug/build/libloading-e5feeb94c40946c7/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/fluids-cb0422ee6957617e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lsolver [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids` (lib test) due to 1 previous error; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "30dc64e61239e1271e07b5807ceb0a628295019a6d8b647d5486520467ad6419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30dc64e61239e1271e07b5807ceb0a628295019a6d8b647d5486520467ad6419", kill_on_drop: false }` [INFO] [stdout] 30dc64e61239e1271e07b5807ceb0a628295019a6d8b647d5486520467ad6419