[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] testing kempchee/RustCrud against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2FRustCrud" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kempchee/RustCrud on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-2/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/iron/persistent.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded websocket v0.26.2 [INFO] [stderr] Downloaded websocket-base v0.26.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dca6918108efcb73a238aaedeed1e1686b0bd172be46d363af1b947dbd5c574 [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" "8dca6918108efcb73a238aaedeed1e1686b0bd172be46d363af1b947dbd5c574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dca6918108efcb73a238aaedeed1e1686b0bd172be46d363af1b947dbd5c574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dca6918108efcb73a238aaedeed1e1686b0bd172be46d363af1b947dbd5c574", kill_on_drop: false }` [INFO] [stdout] 8dca6918108efcb73a238aaedeed1e1686b0bd172be46d363af1b947dbd5c574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d778a990926cbabc29cb0608f180aff1ad0312e15baa096152524889c14a93f3 [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" "d778a990926cbabc29cb0608f180aff1ad0312e15baa096152524889c14a93f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling postgres-protocol v0.5.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket-base v0.26.2 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling websocket v0.26.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling iron v0.6.0 (https://github.com/iron/iron#e38695bf) [INFO] [stderr] Compiling persistent v0.4.0 (https://github.com/iron/persistent.git#2a690498) [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling postgres v0.17.5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling 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 io::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 io::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 io::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 io::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 io::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 io::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 io::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 io::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.13/src/lib.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | 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.13/src/lib.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | 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 item '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 item '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[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 item '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 item '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 `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 item '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[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 item '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[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 `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[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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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 `std::sync::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 `std::sync::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 `std::ops::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> std::ops::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 `iron::AfterMiddleware` for `persistent::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `std::ops::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> std::ops::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 `iron::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] `std::sync::Arc>>: std::marker::Send` [INFO] [stdout] `std::sync::Arc>>: std::marker::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: could not compile `csv_upload_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d778a990926cbabc29cb0608f180aff1ad0312e15baa096152524889c14a93f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d778a990926cbabc29cb0608f180aff1ad0312e15baa096152524889c14a93f3", kill_on_drop: false }` [INFO] [stdout] d778a990926cbabc29cb0608f180aff1ad0312e15baa096152524889c14a93f3