[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [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 a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c26739155217bb9b002d5d702c1eb754dd75bdb2ebdd358167bcae07ada0d4b [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" "4c26739155217bb9b002d5d702c1eb754dd75bdb2ebdd358167bcae07ada0d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c26739155217bb9b002d5d702c1eb754dd75bdb2ebdd358167bcae07ada0d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c26739155217bb9b002d5d702c1eb754dd75bdb2ebdd358167bcae07ada0d4b", kill_on_drop: false }` [INFO] [stdout] 4c26739155217bb9b002d5d702c1eb754dd75bdb2ebdd358167bcae07ada0d4b [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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6da6b06a8f4baef99a1080969f51fb4fc2d92065febde8ace9dd207cf23deb93 [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" "6da6b06a8f4baef99a1080969f51fb4fc2d92065febde8ace9dd207cf23deb93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking tokio-reactor v0.1.12 [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] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking postgres-protocol v0.6.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking postgres-types v0.2.0 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking urlencoded v0.6.0 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking websocket-base v0.26.2 [INFO] [stderr] Checking websocket v0.26.2 [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] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.0 [INFO] [stderr] Checking tokio-util v0.6.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-postgres v0.7.0 [INFO] [stderr] Checking postgres v0.19.0 [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[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 `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 this struct [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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] 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] 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 this struct [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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]: cannot initialize a tuple struct which contains private fields [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] 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] 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[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 `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] 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[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 `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[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 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[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]: 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]: 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[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] 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] 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] 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: aborting due to 65 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] [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] [stderr] error: could not compile `csv_upload_test` [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[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] 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[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 `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 65 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" "6da6b06a8f4baef99a1080969f51fb4fc2d92065febde8ace9dd207cf23deb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da6b06a8f4baef99a1080969f51fb4fc2d92065febde8ace9dd207cf23deb93", kill_on_drop: false }` [INFO] [stdout] 6da6b06a8f4baef99a1080969f51fb4fc2d92065febde8ace9dd207cf23deb93