[INFO] cloning repository https://github.com/kempchee/RustCrud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kempchee/RustCrud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2FRustCrud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2FRustCrud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e35c61a37a708a50be1aed63a6f1c9ca2382a6be [INFO] checking kempchee/RustCrud against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2FRustCrud" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kempchee/RustCrud on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kempchee/RustCrud [INFO] finished tweaking git repo https://github.com/kempchee/RustCrud [INFO] tweaked toml for git repo https://github.com/kempchee/RustCrud written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/kempchee/RustCrud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/iron/persistent.git` [INFO] [stderr] Updating git repository `https://github.com/iron/iron` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93f5421a0a4ed081cabeed447830cc21a7583adbc6cad5520bb1b6661cdd4b76 [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" "93f5421a0a4ed081cabeed447830cc21a7583adbc6cad5520bb1b6661cdd4b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93f5421a0a4ed081cabeed447830cc21a7583adbc6cad5520bb1b6661cdd4b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f5421a0a4ed081cabeed447830cc21a7583adbc6cad5520bb1b6661cdd4b76", kill_on_drop: false }` [INFO] [stdout] 93f5421a0a4ed081cabeed447830cc21a7583adbc6cad5520bb1b6661cdd4b76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5612821e501c83101253cdf45b86cffec5a487b60fc07b069249923a2e8b224 [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" "a5612821e501c83101253cdf45b86cffec5a487b60fc07b069249923a2e8b224", kill_on_drop: false }` [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Compiling tokio v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking csv v1.1.4 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking websocket-base v0.26.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking websocket v0.26.2 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking urlencoded v0.6.0 [INFO] [stderr] Checking tokio-util v0.4.0 [INFO] [stderr] Checking iron v0.6.0 (https://github.com/iron/iron?branch=master#e38695bf) [INFO] [stderr] Checking persistent v0.4.0 (https://github.com/iron/persistent.git#2a690498) [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-postgres v0.6.0 [INFO] [stderr] Checking postgres v0.18.1 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking csv_upload_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode` [INFO] [stdout] --> src/main.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | use postgres::{Connection, SslMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Connection` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::net` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use hyper::net::NetworkStream; [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::buffer` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use hyper::buffer::BufReader; [INFO] [stdout] | ^^^^^^ could not find `buffer` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::method` [INFO] [stdout] --> src/main.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | use hyper::method::Method; [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `websocket::Server`, `websocket::Sender`, `websocket::Receiver` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{Server, Message, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^ no `Receiver` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Sender` in the root [INFO] [stdout] | no `Server` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{server, Message, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{Server, Message, sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{Server, Message, Sender, receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sender` in `server` [INFO] [stdout] --> src/main.rs:123:66 [INFO] [stdout] | [INFO] [stdout] 123 | type Value=Arc>>>; [INFO] [stdout] | ^^^^^^ could not find `sender` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rows` in `postgres` [INFO] [stdout] --> src/main.rs:365:59 [INFO] [stdout] | [INFO] [stdout] 365 | if i!=query_result.iter().collect::>().len()-1{ [INFO] [stdout] | ^^^^ could not find `rows` in `postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sender` in `server` [INFO] [stdout] --> src/main.rs:383:92 [INFO] [stdout] | [INFO] [stdout] 383 | let original_connections=Arc::new(Mutex::new(HashMap::<&'static str,websocket::server::sender::Sender src/main.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | type Value=Arc>; [INFO] [stdout] | ^^^^^^^^^^ not found in `postgres` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::client::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::client::connect::Connection; [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 16 | use websocket::header::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocketStream` in module `websocket::stream` [INFO] [stdout] --> src/main.rs:123:100 [INFO] [stdout] | [INFO] [stdout] 123 | type Value=Arc>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `websocket::stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:71 [INFO] [stdout] | [INFO] [stdout] 134 | ... new_headers.set(iron::headers::AccessControlAllowHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), Un... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:107 [INFO] [stdout] | [INFO] [stdout] 134 | ...UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string(... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:138 [INFO] [stdout] | [INFO] [stdout] 134 | ...g()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:168 [INFO] [stdout] | [INFO] [stdout] 134 | ...g()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:73 [INFO] [stdout] | [INFO] [stdout] 135 | ... new_headers.set(iron::headers::AccessControlRequestHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), ... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:109 [INFO] [stdout] | [INFO] [stdout] 135 | ...UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string(... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:140 [INFO] [stdout] | [INFO] [stdout] 135 | ...g()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:170 [INFO] [stdout] | [INFO] [stdout] 135 | ...g()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let a=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let b=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let a=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | let b=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let c=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let d=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let e=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let f=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocketStream` in module `websocket::stream` [INFO] [stdout] --> src/main.rs:383:126 [INFO] [stdout] | [INFO] [stdout] 383 | ...:server::sender::Sender>::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `websocket::stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `datetime` is private [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::naive::datetime::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `datetime` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.19/src/lib.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | mod datetime; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `date` is private [INFO] [stdout] --> src/main.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | let date=chrono::naive::date::NaiveDate::from_ymd(date_vec[2] as i32,date_vec[0],date_vec[1]); [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `date` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.19/src/lib.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 548 | mod date; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeforeMiddleware`, `Headers` [INFO] [stdout] --> src/main.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use iron::{AfterMiddleware,BeforeMiddleware,Headers}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `ToJson` [INFO] [stdout] --> src/main.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use rustc_serialize::json::{self, ToJson, Json}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0518]: attribute should be applied to function or closure [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | extern crate iron; [INFO] [stdout] | ------------------ not a function or closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | println!("{:?}",time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:414:31 [INFO] [stdout] | [INFO] [stdout] 414 | let socket_id=time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode` [INFO] [stdout] --> src/main.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | use postgres::{Connection, SslMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Connection` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::net` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use hyper::net::NetworkStream; [INFO] [stdout] | ^^^ could not find `net` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::buffer` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use hyper::buffer::BufReader; [INFO] [stdout] | ^^^^^^ could not find `buffer` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::method` [INFO] [stdout] --> src/main.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | use hyper::method::Method; [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `websocket::Server`, `websocket::Sender`, `websocket::Receiver` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{Server, Message, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^ no `Receiver` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Sender` in the root [INFO] [stdout] | no `Server` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{server, Message, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{Server, Message, sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 35 | use websocket::{Server, Message, Sender, receiver}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sender` in `server` [INFO] [stdout] --> src/main.rs:123:66 [INFO] [stdout] | [INFO] [stdout] 123 | type Value=Arc>>>; [INFO] [stdout] | ^^^^^^ could not find `sender` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rows` in `postgres` [INFO] [stdout] --> src/main.rs:365:59 [INFO] [stdout] | [INFO] [stdout] 365 | if i!=query_result.iter().collect::>().len()-1{ [INFO] [stdout] | ^^^^ could not find `rows` in `postgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sender` in `server` [INFO] [stdout] --> src/main.rs:383:92 [INFO] [stdout] | [INFO] [stdout] 383 | let original_connections=Arc::new(Mutex::new(HashMap::<&'static str,websocket::server::sender::Sender src/main.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | type Value=Arc>; [INFO] [stdout] | ^^^^^^^^^^ not found in `postgres` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::client::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::client::connect::Connection; [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::server::conn::Connection; [INFO] [stdout] | [INFO] [stdout] 16 | use websocket::header::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocketStream` in module `websocket::stream` [INFO] [stdout] --> src/main.rs:123:100 [INFO] [stdout] | [INFO] [stdout] 123 | type Value=Arc>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `websocket::stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:71 [INFO] [stdout] | [INFO] [stdout] 134 | ... new_headers.set(iron::headers::AccessControlAllowHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), Un... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:107 [INFO] [stdout] | [INFO] [stdout] 134 | ...UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string(... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:138 [INFO] [stdout] | [INFO] [stdout] 134 | ...g()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:134:168 [INFO] [stdout] | [INFO] [stdout] 134 | ...g()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:73 [INFO] [stdout] | [INFO] [stdout] 135 | ... new_headers.set(iron::headers::AccessControlRequestHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), ... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:109 [INFO] [stdout] | [INFO] [stdout] 135 | ...UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string(... [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:140 [INFO] [stdout] | [INFO] [stdout] 135 | ...g()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stdout] --> src/main.rs:135:170 [INFO] [stdout] | [INFO] [stdout] 135 | ...g()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stdout] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let a=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let b=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let a=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | let b=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let c=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let d=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let e=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let f=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 | use thread::panicking::backtrace::backtrace_rs::symbolize::gimli::mystd::sys::time::inner::now; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocketStream` in module `websocket::stream` [INFO] [stdout] --> src/main.rs:383:126 [INFO] [stdout] | [INFO] [stdout] 383 | ...:server::sender::Sender>::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `websocket::stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `datetime` is private [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::naive::datetime::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `datetime` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.19/src/lib.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | mod datetime; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `date` is private [INFO] [stdout] --> src/main.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | let date=chrono::naive::date::NaiveDate::from_ymd(date_vec[2] as i32,date_vec[0],date_vec[1]); [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `date` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.19/src/lib.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 548 | mod date; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeforeMiddleware`, `Headers` [INFO] [stdout] --> src/main.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use iron::{AfterMiddleware,BeforeMiddleware,Headers}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `ToJson` [INFO] [stdout] --> src/main.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use rustc_serialize::json::{self, ToJson, Json}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0518]: attribute should be applied to function or closure [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | extern crate iron; [INFO] [stdout] | ------------------ not a function or closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | println!("{:?}",time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:414:31 [INFO] [stdout] | [INFO] [stdout] 414 | let socket_id=time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:160:51 [INFO] [stdout] | [INFO] [stdout] 160 | let form_match=re.captures(&payload).unwrap().at(1).unwrap_or("").replace("Content-Type: text/csv","\n"); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:160:51 [INFO] [stdout] | [INFO] [stdout] 160 | let form_match=re.captures(&payload).unwrap().at(1).unwrap_or("").replace("Content-Type: text/csv","\n"); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:168:64 [INFO] [stdout] | [INFO] [stdout] 168 | let query_result=statement.query(&[&record.record_type,&record.amount]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `std::string::String`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&std::string::String` [INFO] [stdout] found reference `&f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:168:64 [INFO] [stdout] | [INFO] [stdout] 168 | let query_result=statement.query(&[&record.record_type,&record.amount]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `std::string::String`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected type `&std::string::String` [INFO] [stdout] found reference `&f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | let form_match=re.captures(&payload).unwrap().at(1).unwrap_or("").replace("Content-Type: text/csv","\n"); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:196:106 [INFO] [stdout] | [INFO] [stdout] 196 | connection.execute(&format!("INSERT INTO records (record_type,amount) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:201:98 [INFO] [stdout] | [INFO] [stdout] 201 | connection.execute(&format!("INSERT INTO records (record_type,amount) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | let mut sockets_vector = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | let form_match=re.captures(&payload).unwrap().at(1).unwrap_or("").replace("Content-Type: text/csv","\n"); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/main.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let final_csv=payload.slice_chars(beg_find+3,end_find); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:276:308 [INFO] [stdout] | [INFO] [stdout] 276 | ...nal,risk_rating,customer_industry_type) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:196:106 [INFO] [stdout] | [INFO] [stdout] 196 | connection.execute(&format!("INSERT INTO records (record_type,amount) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:201:98 [INFO] [stdout] | [INFO] [stdout] 201 | connection.execute(&format!("INSERT INTO records (record_type,amount) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:279:53 [INFO] [stdout] | [INFO] [stdout] 279 | ... sender.send_message(websocket::Message::Text("{\"message\":\"transactions_created\",\"upload_status\":".to_string()+&(((current_ind... [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:285:304 [INFO] [stdout] | [INFO] [stdout] 285 | ...nal,risk_rating,customer_industry_type) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:286:49 [INFO] [stdout] | [INFO] [stdout] 286 | sender.send_message(websocket::Message::Text("{\"message\":\"transactions_created\",\"upload_status\":100}".to_string())).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | let mut sockets_vector = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:307:77 [INFO] [stdout] | [INFO] [stdout] 307 | let mut boundary_capture=boundary_regex.captures(content_type).unwrap().at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:313:38 [INFO] [stdout] | [INFO] [stdout] 313 | let form_part_text=form_part.at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_chars` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/main.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let final_csv=payload.slice_chars(beg_find+3,end_find); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:315:99 [INFO] [stdout] | [INFO] [stdout] 315 | let name_string=Regex::new(r"(name=.*?[\s;])").unwrap().captures(form_part_text).unwrap().at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | println!("{:?}",boundary); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:276:308 [INFO] [stdout] | [INFO] [stdout] 276 | ...nal,risk_rating,customer_industry_type) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:279:53 [INFO] [stdout] | [INFO] [stdout] 279 | ... sender.send_message(websocket::Message::Text("{\"message\":\"transactions_created\",\"upload_status\":".to_string()+&(((current_ind... [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:285:304 [INFO] [stdout] | [INFO] [stdout] 285 | ...nal,risk_rating,customer_industry_type) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:354:34 [INFO] [stdout] | [INFO] [stdout] 354 | let sockets_vector = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:286:49 [INFO] [stdout] | [INFO] [stdout] 286 | sender.send_message(websocket::Message::Text("{\"message\":\"transactions_created\",\"upload_status\":100}".to_string())).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:415:57 [INFO] [stdout] | [INFO] [stdout] 415 | client.send_message(websocket::Message::Text("{\"new_socket_id\":".to_string()+&socket_id.to_string()+"}")).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:419:40 [INFO] [stdout] | [INFO] [stdout] 419 | socket_connections.insert("hello",sender); [INFO] [stdout] | ^^^^^^ method not found in `MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `socket_connections` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Close` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | Message::Close(_) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name (notice the capitalization): `close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ping` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:431:19 [INFO] [stdout] | [INFO] [stdout] 431 | Message::Ping(data) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Close` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:426:34 [INFO] [stdout] | [INFO] [stdout] 426 | let message = Message::Close(None); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name (notice the capitalization): `close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Pong` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:432:34 [INFO] [stdout] | [INFO] [stdout] 432 | let message = Message::Pong(data); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | router.get("/", hello_world); [INFO] [stdout] | ^^^ --- ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | router.get("/clients",clients_index); [INFO] [stdout] | ^^^ ---------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | router.post("/clients", create_client); [INFO] [stdout] | ^^^^ ---------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | router.post("/upload_records",upload_records); [INFO] [stdout] | ^^^^ ----------------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | router.post("/upload_records_inserts",upload_records_inserts); [INFO] [stdout] | ^^^^ ------------------------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:449:12 [INFO] [stdout] | [INFO] [stdout] 449 | router.post("/upload_transactions_inserts",upload_transactions_inserts); [INFO] [stdout] | ^^^^ ------------------------------ --------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | router.post("/upload_transactions_experimental",upload_transactions_experimental); [INFO] [stdout] | ^^^^ ----------------------------------- -------------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stdout] --> src/main.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> Fn<(&'r mut iron::Request<'s, 't0>, iron::Response)>` is not implemented for `persistent::Read` [INFO] [stdout] = note: required because of the requirements on the impl of `AfterMiddleware` for `persistent::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:307:77 [INFO] [stdout] | [INFO] [stdout] 307 | let mut boundary_capture=boundary_regex.captures(content_type).unwrap().at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stdout] --> src/main.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `persistent::Read` [INFO] [stdout] = note: required because of the requirements on the impl of `BeforeMiddleware` for `persistent::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `both` found for struct `persistent::Read` in the current scope [INFO] [stdout] --> src/main.rs:454:60 [INFO] [stdout] | [INFO] [stdout] 454 | message_chain.link(persistent::Read::::both(original_connections)); [INFO] [stdout] | ^^^^ function or associated item not found in `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = note: the method `both` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Arc>>: std::marker::Send` [INFO] [stdout] `Arc>>: Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:313:38 [INFO] [stdout] | [INFO] [stdout] 313 | let form_part_text=form_part.at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0423, E0425, E0432, E0433, E0518... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csv_upload_test` [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:315:99 [INFO] [stdout] | [INFO] [stdout] 315 | let name_string=Regex::new(r"(name=.*?[\s;])").unwrap().captures(form_part_text).unwrap().at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | println!("{:?}",boundary); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 336 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | let mutex = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stdout] --> src/main.rs:354:34 [INFO] [stdout] | [INFO] [stdout] 354 | let sockets_vector = request.get::>().unwrap(); [INFO] [stdout] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as plugin::Plugin> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:415:57 [INFO] [stdout] | [INFO] [stdout] 415 | client.send_message(websocket::Message::Text("{\"new_socket_id\":".to_string()+&socket_id.to_string()+"}")).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:419:40 [INFO] [stdout] | [INFO] [stdout] 419 | socket_connections.insert("hello",sender); [INFO] [stdout] | ^^^^^^ method not found in `MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `socket_connections` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Close` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | Message::Close(_) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name (notice the capitalization): `close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Ping` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:431:19 [INFO] [stdout] | [INFO] [stdout] 431 | Message::Ping(data) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Close` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:426:34 [INFO] [stdout] | [INFO] [stdout] 426 | let message = Message::Close(None); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name (notice the capitalization): `close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Pong` found for struct `websocket::Message<'_>` in the current scope [INFO] [stdout] --> src/main.rs:432:34 [INFO] [stdout] | [INFO] [stdout] 432 | let message = Message::Pong(data); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated item not found in `websocket::Message<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `pong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | router.get("/", hello_world); [INFO] [stdout] | ^^^ --- ----------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | router.get("/clients",clients_index); [INFO] [stdout] | ^^^ ---------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | router.post("/clients", create_client); [INFO] [stdout] | ^^^^ ---------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | router.post("/upload_records",upload_records); [INFO] [stdout] | ^^^^ ----------------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | router.post("/upload_records_inserts",upload_records_inserts); [INFO] [stdout] | ^^^^ ------------------------- ---------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:449:12 [INFO] [stdout] | [INFO] [stdout] 449 | router.post("/upload_transactions_inserts",upload_transactions_inserts); [INFO] [stdout] | ^^^^ ------------------------------ --------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | router.post("/upload_transactions_experimental",upload_transactions_experimental); [INFO] [stdout] | ^^^^ ----------------------------------- -------------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stdout] --> src/main.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> Fn<(&'r mut iron::Request<'s, 't0>, iron::Response)>` is not implemented for `persistent::Read` [INFO] [stdout] = note: required because of the requirements on the impl of `AfterMiddleware` for `persistent::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stdout] --> src/main.rs:453:24 [INFO] [stdout] | [INFO] [stdout] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = help: the trait `for<'r, 's, 't0> Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `persistent::Read` [INFO] [stdout] = note: required because of the requirements on the impl of `BeforeMiddleware` for `persistent::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `both` found for struct `persistent::Read` in the current scope [INFO] [stdout] --> src/main.rs:454:60 [INFO] [stdout] | [INFO] [stdout] 454 | message_chain.link(persistent::Read::::both(original_connections)); [INFO] [stdout] | ^^^^ function or associated item not found in `persistent::Read` [INFO] [stdout] | [INFO] [stdout] = note: the method `both` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Arc>>: std::marker::Send` [INFO] [stdout] `Arc>>: Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0423, E0425, E0432, E0433, E0518... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a5612821e501c83101253cdf45b86cffec5a487b60fc07b069249923a2e8b224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5612821e501c83101253cdf45b86cffec5a487b60fc07b069249923a2e8b224", kill_on_drop: false }` [INFO] [stdout] a5612821e501c83101253cdf45b86cffec5a487b60fc07b069249923a2e8b224