[INFO] cloning repository https://github.com/a-yuto/iris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-yuto/iris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-yuto%2Firis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-yuto%2Firis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 286370eebc2e288a999e537c5ed9317198e04e84 [INFO] checking a-yuto/iris against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-yuto%2Firis" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a-yuto/iris 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/a-yuto/iris [INFO] finished tweaking git repo https://github.com/a-yuto/iris [INFO] tweaked toml for git repo https://github.com/a-yuto/iris written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/a-yuto/iris 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 bstr v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ae8ee0d5fd1a7f36d2fb17db4c28c1d0a8692e1dcf2a650603fe78a572ad6783 [INFO] running `Command { std: "docker" "start" "-a" "ae8ee0d5fd1a7f36d2fb17db4c28c1d0a8692e1dcf2a650603fe78a572ad6783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae8ee0d5fd1a7f36d2fb17db4c28c1d0a8692e1dcf2a650603fe78a572ad6783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8ee0d5fd1a7f36d2fb17db4c28c1d0a8692e1dcf2a650603fe78a572ad6783", kill_on_drop: false }` [INFO] [stdout] ae8ee0d5fd1a7f36d2fb17db4c28c1d0a8692e1dcf2a650603fe78a572ad6783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d405b563b730fb04cf4e79e9f4840ba2b782d3cff53732e45599bea30fa96394 [INFO] running `Command { std: "docker" "start" "-a" "d405b563b730fb04cf4e79e9f4840ba2b782d3cff53732e45599bea30fa96394", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking bstr v0.2.10 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking iris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/colum.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | pub push_colum(col: &Colum) -> Colum{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add `fn` here to parse `push_colum` as a public function [INFO] [stdout] | [INFO] [stdout] 5 | pub fn push_colum(col: &Colum) -> Colum{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/colum.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | pub push_colum(col: &Colum) -> Colum{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add `fn` here to parse `push_colum` as a public function [INFO] [stdout] | [INFO] [stdout] 5 | pub fn push_colum(col: &Colum) -> Colum{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub itr: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub sepal_length: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub sepal_width: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub petal_length:Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub petal_width: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub species: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let mut _test_itr :Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | let mut _test_itr :Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let mut _train_itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | let mut _train_itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let mut _test_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let mut _test_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let mut _train_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | let mut _train_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | let mut _test_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let mut _test_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let mut _train_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | let mut _train_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let mut _test_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | let mut _test_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let mut _train_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | let mut _train_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | let mut _test_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | let mut _test_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | let mut _train_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | let mut _train_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let mut _test_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let mut _test_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | let mut _train_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | let mut _train_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | let mut _itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | let mut _itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | let mut _sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | let mut _sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | let mut _sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | let mut _sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | let mut _petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | let mut _petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let mut _petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | let mut _petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | let mut _species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | let mut _species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn var(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn var(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | fn cal(colum: &Colum,itr:usize,ans:f64) -> f64{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Colum{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal(col1: &Colum,col2: &Colum,itr:usize,ans:f64) -> f64 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal(col1: &Colum,col2: &Colum,itr:usize,ans:f64) -> f64 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stdev(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stdev(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Colum{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::*` [INFO] [stdout] --> src/df.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colum::*` [INFO] [stdout] --> src/df.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::colum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `single_data` should have an upper camel case name [INFO] [stdout] --> src/df.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct single_data { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SingleData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/df.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn mean_predict(df: &IrisDf) -> Box String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/df.rs:181:53 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn correct_ans_rate(test: &IrisDf, predict: Box String>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colum::*` [INFO] [stdout] --> src/sta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::colum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub itr: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub sepal_length: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub sepal_width: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub petal_length:Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub petal_width: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub species: Colum, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let mut _test_itr :Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | let mut _test_itr :Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let mut _train_itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | let mut _train_itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let mut _test_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | let mut _test_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let mut _train_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | let mut _train_sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | let mut _test_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let mut _test_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | let mut _train_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | let mut _train_sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | let mut _test_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | let mut _test_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let mut _train_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | let mut _train_petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | let mut _test_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | let mut _test_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | let mut _train_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | let mut _train_petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let mut _test_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | let mut _test_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | let mut _train_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | let mut _train_species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | let mut _itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | let mut _itr: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | let mut _sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | let mut _sepal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | let mut _sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | let mut _sepal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | let mut _petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | let mut _petal_length: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let mut _petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:211:40 [INFO] [stdout] | [INFO] [stdout] 211 | let mut _petal_width: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/df.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | let mut _species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/df.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | let mut _species: Colum = Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mean(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn var(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn var(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | fn cal(colum: &Colum,itr:usize,ans:f64) -> f64{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Colum{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn corvar(col1: &Colum,col2: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal(col1: &Colum,col2: &Colum,itr:usize,ans:f64) -> f64 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn cal(col1: &Colum,col2: &Colum,itr:usize,ans:f64) -> f64 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stdev(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stdev(col: &Colum) -> Colum { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colum` in this scope [INFO] [stdout] --> src/sta.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Colum{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `csv::*` [INFO] [stdout] --> src/df.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colum::*` [INFO] [stdout] --> src/df.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::colum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `single_data` should have an upper camel case name [INFO] [stdout] --> src/df.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct single_data { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SingleData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/df.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn mean_predict(df: &IrisDf) -> Box String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/df.rs:181:53 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn correct_ans_rate(test: &IrisDf, predict: Box String>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64) -> String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colum::*` [INFO] [stdout] --> src/sta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::colum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iris` [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] error: aborting due to 59 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d405b563b730fb04cf4e79e9f4840ba2b782d3cff53732e45599bea30fa96394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d405b563b730fb04cf4e79e9f4840ba2b782d3cff53732e45599bea30fa96394", kill_on_drop: false }` [INFO] [stdout] d405b563b730fb04cf4e79e9f4840ba2b782d3cff53732e45599bea30fa96394