[INFO] cloning repository https://github.com/f4try/tutorials_rust_cfd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/f4try/tutorials_rust_cfd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff4try%2Ftutorials_rust_cfd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff4try%2Ftutorials_rust_cfd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e1e1f75142d039726620f40f8d20b22c8e2ad0e [INFO] checking f4try/tutorials_rust_cfd against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff4try%2Ftutorials_rust_cfd" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/f4try/tutorials_rust_cfd on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/f4try/tutorials_rust_cfd [INFO] finished tweaking git repo https://github.com/f4try/tutorials_rust_cfd [INFO] tweaked toml for git repo https://github.com/f4try/tutorials_rust_cfd written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/f4try/tutorials_rust_cfd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-bitmap v0.3.0 [INFO] [stderr] Downloaded font-kit v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeda846dbc9ad6681a367e384c26e1f0b93937c78bd894a8ad567bf6407919b7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aeda846dbc9ad6681a367e384c26e1f0b93937c78bd894a8ad567bf6407919b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeda846dbc9ad6681a367e384c26e1f0b93937c78bd894a8ad567bf6407919b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeda846dbc9ad6681a367e384c26e1f0b93937c78bd894a8ad567bf6407919b7", kill_on_drop: false }` [INFO] [stdout] aeda846dbc9ad6681a367e384c26e1f0b93937c78bd894a8ad567bf6407919b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9370f7d374a3b85f1b86203ce64e6acad11ea5a5f74c0384522121957ba57a52 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9370f7d374a3b85f1b86203ce64e6acad11ea5a5f74c0384522121957ba57a52", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking gnuplot v0.0.37 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking font-kit v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking plotters-bitmap v0.3.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking cfd_tut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `criterion_plot` [INFO] [stdout] --> examples/tut_criterion_plot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion_plot::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `criterion_plot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/tut01_1D_convection.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut03_convergence_cfl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for n in 1..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut03_convergence_cfl.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for n in 1..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/tut06_array_operations.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tut03_convergence_cfl.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut uh = u.slice_mut(s![(0.5/dx) as usize..(1./dx +1.) as usize]); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tut03_convergence_cfl.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut uh = u.slice_mut(s![(0.5/dx) as usize..(1./dx +1.) as usize]); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/tut02_1D_nonlinear_convection.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let c = 1.; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut02_1D_nonlinear_convection.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for n in 1..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `itertools_num` [INFO] [stdout] --> examples/tut_criterion_plot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools_num::linspace; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `itertools_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tut02_1D_nonlinear_convection.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut uh = u.slice_mut(s![(0.5/dx) as usize..(1./dx +1.) as usize]); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `tut02_1D_nonlinear_convection` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tut02_1_d_nonlinear_convection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sigma` [INFO] [stdout] --> examples/tut05_burgers.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let sigma = 0.5; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sigma` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> examples/tut05_burgers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let t = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut05_burgers.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | for n in 1..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pn` is never read [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut pn = Array2::::zeros((row,col)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | for q in 0..nit{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/tut00_quick_intro.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | for i in 0..5{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nt` [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let nt = 10; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let c = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `un` is never read [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut un = Array2::::zeros((ny,nx)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vn` is never read [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut vn = Array2::::zeros((ny,nx)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pn` [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut pn = Array2::::zeros((ny,nx)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `b` is assigned to, but never used [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut b = Array2::::zeros((ny,nx)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_b` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | b = build_up_b(rho, dt, dx, dy, &u, &v); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Boxed` [INFO] [stdout] --> examples/tut_criterion_plot.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | k.set(Boxed::Yes) [INFO] [stdout] | ^^^^^ use of undeclared type `Boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Position` [INFO] [stdout] --> examples/tut_criterion_plot.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | .set(Position::Inside(Vertical::Top, Horizontal::Left)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vertical` [INFO] [stdout] --> examples/tut_criterion_plot.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | .set(Position::Inside(Vertical::Top, Horizontal::Left)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Vertical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Horizontal` [INFO] [stdout] --> examples/tut_criterion_plot.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | .set(Position::Inside(Vertical::Top, Horizontal::Left)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> examples/tut_criterion_plot.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | lp.set(Color::DarkViolet) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineType` [INFO] [stdout] --> examples/tut_criterion_plot.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | .set(LineType::Dash) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LineType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointType` [INFO] [stdout] --> examples/tut_criterion_plot.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | .set(PointType::Circle) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PointType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Child` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn main()->Result>{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Child; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Figure` [INFO] [stdout] --> examples/tut_criterion_plot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Figure::new() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use gnuplot::Figure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Key` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | .configure(Key, |k| { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LinesPoints` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | .plot(LinesPoints { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Label` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | .set(Label("sin(x)")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pn` is never read [INFO] [stdout] --> examples/tut13_poisson.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut pn = p.clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PointSize` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | .set(PointSize(1.5)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnuplot::PointSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Steps` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .plot(Steps { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> examples/tut_criterion_plot.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | s.set(Color::Rgb(0, 158, 115)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Label` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | .set(Label("atan(x)")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LineWidth` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | .set(LineWidth(2.)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use gnuplot::LineWidth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Impulses` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | .plot(Impulses { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> examples/tut_criterion_plot.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | i.set(Color::Rgb(86, 180, 233)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use plotters::prelude::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Label` in this scope [INFO] [stdout] --> examples/tut_criterion_plot.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | .set(Label("cos(atan(x))")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut01_1D_convection.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | for n in 1..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pd` [INFO] [stdout] --> examples/tut13_poisson.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let pd=p.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tut01_1D_convection.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut uh = u.slice_mut(s![(0.5/dx) as usize..(1./dx +1.) as usize]); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `tut01_1D_convection` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tut01_1_d_convection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pn` is never read [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut pn = p.clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | for n in 1..nit{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `un` is never read [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut un = u.clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vn` is never read [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vn = v.clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | for n in 0..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let c = 1.; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut b = Array2::::zeros((ny,nx)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfd_tut` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plot2D` should have a snake case name [INFO] [stdout] --> examples/tut13_poisson.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn plot2D(p:&Array2,nx:usize,ny:usize,x:f64,y:f64){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `plot2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut pn = Array2::::zeros((ny,nx)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut04_diffusion.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | for n in 1..nt{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let F = 1.; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut05_burgers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut13_poisson.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut b = Array2::::zeros((ny,nx)); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> examples/tut06_array_operations.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let x = Array1::linspace(0.,2.,nx); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/tut06_array_operations.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let y = Array1::linspace(0.,2.,ny); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `un` is never read [INFO] [stdout] --> examples/tut06_array_operations.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut un = Array2::::ones((ny,nx)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut06_array_operations.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for n in 0..nt+1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> examples/tut06_array_operations.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let now = SystemTime::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `un` is never read [INFO] [stdout] --> examples/tut06_array_operations.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut un = Array2::::ones((ny,nx)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> examples/tut06_array_operations.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | for n in 1..nt+1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut15_navier_stokes_channel.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut04_diffusion.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> examples/tut12_2D_laplace.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let c = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut06_array_operations.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `tut12_2D_laplace` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `tut12_2_d_laplace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plot2D` should have a snake case name [INFO] [stdout] --> examples/tut12_2D_laplace.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn plot2D(p:&Array2,nx:usize,ny:usize,x:f64,y:f64){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `plot2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut14_navier_stokes_cavity.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/tut12_2D_laplace.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fg.show(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9370f7d374a3b85f1b86203ce64e6acad11ea5a5f74c0384522121957ba57a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9370f7d374a3b85f1b86203ce64e6acad11ea5a5f74c0384522121957ba57a52", kill_on_drop: false }` [INFO] [stdout] 9370f7d374a3b85f1b86203ce64e6acad11ea5a5f74c0384522121957ba57a52