[INFO] updating cached repository https://github.com/kempchee/RustCrud [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e35c61a37a708a50be1aed63a6f1c9ca2382a6be [INFO] testing kempchee/RustCrud against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2FRustCrud" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kempchee/RustCrud on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/kempchee/RustCrud already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/iron/persistent.git` [INFO] [stderr] Updating git repository `https://github.com/iron/iron` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 1c61e93ababe53ba54346f6d66851ccde5a75fab69c486f432b819360ccfefca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "1c61e93ababe53ba54346f6d66851ccde5a75fab69c486f432b819360ccfefca"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling base64 v0.10.1 [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] Compiling quote v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling postgres-types v0.1.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket-base v0.24.0 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling websocket v0.24.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.33 [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 pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling persistent v0.4.0 (https://github.com/iron/persistent.git#2a690498) [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.4 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling postgres v0.17.3 [INFO] [stderr] Compiling csv_upload_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode` [INFO] [stderr] --> src/main.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | use postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Connection` in the root [INFO] [stderr] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::net` [INFO] [stderr] --> src/main.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | use hyper::net::NetworkStream; [INFO] [stderr] | ^^^ could not find `net` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::buffer` [INFO] [stderr] --> src/main.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | use hyper::buffer::BufReader; [INFO] [stderr] | ^^^^^^ could not find `buffer` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::method` [INFO] [stderr] --> src/main.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | use hyper::method::Method; [INFO] [stderr] | ^^^^^^ could not find `method` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `websocket::Server`, `websocket::Sender`, `websocket::Receiver` [INFO] [stderr] --> src/main.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | use websocket::{Server, Message, Sender, Receiver}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^^^ no `Receiver` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `Sender` in the root [INFO] [stderr] | no `Server` in the root [INFO] [stderr] | [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 35 | use websocket::{server, Message, Sender, Receiver}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 35 | use websocket::{Server, Message, sender, Receiver}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 35 | use websocket::{Server, Message, Sender, receiver}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `sender` in `server` [INFO] [stderr] --> src/main.rs:123:66 [INFO] [stderr] | [INFO] [stderr] 123 | type Value=Arc>>>; [INFO] [stderr] | ^^^^^^ could not find `sender` in `server` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `rows` in `postgres` [INFO] [stderr] --> src/main.rs:365:59 [INFO] [stderr] | [INFO] [stderr] 365 | if i!=query_result.iter().collect::>().len()-1{ [INFO] [stderr] | ^^^^ could not find `rows` in `postgres` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `sender` in `server` [INFO] [stderr] --> src/main.rs:383:92 [INFO] [stderr] | [INFO] [stderr] 383 | let original_connections=Arc::new(Mutex::new(HashMap::<&'static str,websocket::server::sender::Sender>::new())); [INFO] [stderr] | ^^^^^^ could not find `sender` in `server` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Connection` in crate `postgres` [INFO] [stderr] --> src/main.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | type Value=Arc>; [INFO] [stderr] | ^^^^^^^^^^ not found in `postgres` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::client::conn::Connection; [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::client::connect::Connection; [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::server::conn::Connection; [INFO] [stderr] | [INFO] [stderr] 16 | use iron::headers::Connection; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WebSocketStream` in module `websocket::stream` [INFO] [stderr] --> src/main.rs:123:100 [INFO] [stderr] | [INFO] [stderr] 123 | type Value=Arc>>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `websocket::stream` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:134:71 [INFO] [stderr] | [INFO] [stderr] 134 | new_headers.set(iron::headers::AccessControlAllowHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:134:107 [INFO] [stderr] | [INFO] [stderr] 134 | new_headers.set(iron::headers::AccessControlAllowHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:134:138 [INFO] [stderr] | [INFO] [stderr] 134 | new_headers.set(iron::headers::AccessControlAllowHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:134:168 [INFO] [stderr] | [INFO] [stderr] 134 | new_headers.set(iron::headers::AccessControlAllowHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:135:73 [INFO] [stderr] | [INFO] [stderr] 135 | new_headers.set(iron::headers::AccessControlRequestHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:135:109 [INFO] [stderr] | [INFO] [stderr] 135 | new_headers.set(iron::headers::AccessControlRequestHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:135:140 [INFO] [stderr] | [INFO] [stderr] 135 | new_headers.set(iron::headers::AccessControlRequestHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, tuple struct or tuple variant, found struct `UniCase` [INFO] [stderr] --> src/main.rs:135:170 [INFO] [stderr] | [INFO] [stderr] 135 | new_headers.set(iron::headers::AccessControlRequestHeaders(vec![UniCase("Content-Type".to_string()),UniCase("Origin".to_string()), UniCase("Accept".to_string()),UniCase("X-Requested-With".to_string())])); [INFO] [stderr] | ^^^^^^^ constructor is not visible here due to private fields [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | let a=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:203:17 [INFO] [stderr] | [INFO] [stderr] 203 | let b=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:210:17 [INFO] [stderr] | [INFO] [stderr] 210 | let a=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:220:17 [INFO] [stderr] | [INFO] [stderr] 220 | let b=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | let c=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:229:17 [INFO] [stderr] | [INFO] [stderr] 229 | let d=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:234:17 [INFO] [stderr] | [INFO] [stderr] 234 | let e=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:287:21 [INFO] [stderr] | [INFO] [stderr] 287 | let f=time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WebSocketStream` in module `websocket::stream` [INFO] [stderr] --> src/main.rs:383:126 [INFO] [stderr] | [INFO] [stderr] 383 | let original_connections=Arc::new(Mutex::new(HashMap::<&'static str,websocket::server::sender::Sender>::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `websocket::stream` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `datetime` is private [INFO] [stderr] --> src/main.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | use chrono::naive::datetime::NaiveDateTime; [INFO] [stderr] | ^^^^^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `datetime` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.11/src/lib.rs:484:5 [INFO] [stderr] | [INFO] [stderr] 484 | mod datetime; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `date` is private [INFO] [stderr] --> src/main.rs:250:33 [INFO] [stderr] | [INFO] [stderr] 250 | let date=chrono::naive::date::NaiveDate::from_ymd(date_vec[2] as i32,date_vec[0],date_vec[1]); [INFO] [stderr] | ^^^^ private module [INFO] [stderr] | [INFO] [stderr] note: the module `date` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/chrono-0.4.11/src/lib.rs:481:5 [INFO] [stderr] | [INFO] [stderr] 481 | mod date; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(collections)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BeforeMiddleware`, `Headers` [INFO] [stderr] --> src/main.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | use iron::{AfterMiddleware,BeforeMiddleware,Headers}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Json`, `ToJson` [INFO] [stderr] --> src/main.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | use rustc_serialize::json::{self, ToJson, Json}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::BTreeMap` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | extern crate iron; [INFO] [stderr] | ------------------ not a function or closure [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:322:21 [INFO] [stderr] | [INFO] [stderr] 322 | println!("{:?}",time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:414:31 [INFO] [stderr] | [INFO] [stderr] 414 | let socket_id=time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/main.rs:160:51 [INFO] [stderr] | [INFO] [stderr] 160 | let form_match=re.captures(&payload).unwrap().at(1).unwrap_or("").replace("Content-Type: text/csv","\n"); [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stderr] --> src/main.rs:162:40 [INFO] [stderr] | [INFO] [stderr] 162 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stderr] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stderr] --> src/main.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | let mutex = request.get::>().unwrap(); [INFO] [stderr] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as plugin::Plugin> [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:168:64 [INFO] [stderr] | [INFO] [stderr] 168 | let query_result=statement.query(&[&record.record_type,&record.amount]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ expected struct `std::string::String`, found `f64` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&std::string::String` [INFO] [stderr] found reference `&f64` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/main.rs:184:51 [INFO] [stderr] | [INFO] [stderr] 184 | let form_match=re.captures(&payload).unwrap().at(1).unwrap_or("").replace("Content-Type: text/csv","\n"); [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stderr] --> src/main.rs:186:40 [INFO] [stderr] | [INFO] [stderr] 186 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stderr] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stderr] --> src/main.rs:187:25 [INFO] [stderr] | [INFO] [stderr] 187 | let mutex = request.get::>().unwrap(); [INFO] [stderr] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as plugin::Plugin> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:196:106 [INFO] [stderr] | [INFO] [stderr] 196 | connection.execute(&format!("INSERT INTO records (record_type,amount) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:201:98 [INFO] [stderr] | [INFO] [stderr] 201 | connection.execute(&format!("INSERT INTO records (record_type,amount) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stderr] --> src/main.rs:211:38 [INFO] [stderr] | [INFO] [stderr] 211 | let mut sockets_vector = request.get::>().unwrap(); [INFO] [stderr] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as plugin::Plugin> [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `slice_chars` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:228:27 [INFO] [stderr] | [INFO] [stderr] 228 | let final_csv=payload.slice_chars(beg_find+3,end_find); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_string` found for struct `csv::Reader<_>` in the current scope [INFO] [stderr] --> src/main.rs:231:40 [INFO] [stderr] | [INFO] [stderr] 231 | let mut new_csv_rdr = csv::Reader::from_string(final_csv); [INFO] [stderr] | ^^^^^^^^^^^ function or associated item not found in `csv::Reader<_>` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:276:308 [INFO] [stderr] | [INFO] [stderr] 276 | connection.execute(&format!("INSERT INTO transactions (external_transaction_id,transaction_code,transaction_type,external_account_id,product_type,transaction_date,transaction_amount,debit_credit,business_personal,domestic_international,risk_rating,customer_industry_type) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:279:53 [INFO] [stderr] | [INFO] [stderr] 279 | sender.send_message(websocket::Message::Text("{\"message\":\"transactions_created\",\"upload_status\":".to_string()+&(((current_index/rows_length)*100.0).to_string())+"}")).unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `text` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::slice::::connect': renamed to join [INFO] [stderr] --> src/main.rs:285:304 [INFO] [stderr] | [INFO] [stderr] 285 | connection.execute(&format!("INSERT INTO transactions (external_transaction_id,transaction_code,transaction_type,external_account_id,product_type,transaction_date,transaction_amount,debit_credit,business_personal,domestic_international,risk_rating,customer_industry_type) VALUES {}",insert_list.connect(", ")),&[]).unwrap(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:286:49 [INFO] [stderr] | [INFO] [stderr] 286 | sender.send_message(websocket::Message::Text("{\"message\":\"transactions_created\",\"upload_status\":100}".to_string())).unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `text` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/main.rs:307:77 [INFO] [stderr] | [INFO] [stderr] 307 | let mut boundary_capture=boundary_regex.captures(content_type).unwrap().at(1).unwrap_or(""); [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/main.rs:313:38 [INFO] [stderr] | [INFO] [stderr] 313 | let form_part_text=form_part.at(1).unwrap_or(""); [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stderr] --> src/main.rs:315:99 [INFO] [stderr] | [INFO] [stderr] 315 | let name_string=Regex::new(r"(name=.*?[\s;])").unwrap().captures(form_part_text).unwrap().at(1).unwrap_or(""); [INFO] [stderr] | ^^ method not found in `regex::Captures<'_>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:320:5 [INFO] [stderr] | [INFO] [stderr] 320 | println!("{:?}",boundary); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stderr] --> src/main.rs:336:25 [INFO] [stderr] | [INFO] [stderr] 336 | let mutex = request.get::>().unwrap(); [INFO] [stderr] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as plugin::Plugin> [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stderr] --> src/main.rs:353:25 [INFO] [stderr] | [INFO] [stderr] 353 | let mutex = request.get::>().unwrap(); [INFO] [stderr] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as plugin::Plugin> [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `persistent::Read: plugin::Plugin>` is not satisfied [INFO] [stderr] --> src/main.rs:354:34 [INFO] [stderr] | [INFO] [stderr] 354 | let sockets_vector = request.get::>().unwrap(); [INFO] [stderr] | ^^^ the trait `plugin::Plugin>` is not implemented for `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as plugin::Plugin> [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Text` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:415:57 [INFO] [stderr] | [INFO] [stderr] 415 | client.send_message(websocket::Message::Text("{\"new_socket_id\":".to_string()+&socket_id.to_string()+"}")).unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `text` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stderr] --> src/main.rs:419:40 [INFO] [stderr] | [INFO] [stderr] 419 | socket_connections.insert("hello",sender); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stderr] | [INFO] [stderr] = note: `socket_connections` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Close` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:425:19 [INFO] [stderr] | [INFO] [stderr] 425 | Message::Close(_) => { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name (notice the capitalization): `close` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Ping` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:431:19 [INFO] [stderr] | [INFO] [stderr] 431 | Message::Ping(data) => { [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `ping` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Close` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:426:34 [INFO] [stderr] | [INFO] [stderr] 426 | let message = Message::Close(None); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name (notice the capitalization): `close` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Pong` found for struct `websocket::Message<'_>` in the current scope [INFO] [stderr] --> src/main.rs:432:34 [INFO] [stderr] | [INFO] [stderr] 432 | let message = Message::Pong(data); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | associated item not found in `websocket::Message<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `pong` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:444:12 [INFO] [stderr] | [INFO] [stderr] 444 | router.get("/", hello_world); [INFO] [stderr] | ^^^ --- ----------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:445:12 [INFO] [stderr] | [INFO] [stderr] 445 | router.get("/clients",clients_index); [INFO] [stderr] | ^^^ ---------- ------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:446:12 [INFO] [stderr] | [INFO] [stderr] 446 | router.post("/clients", create_client); [INFO] [stderr] | ^^^^ ---------- ------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:447:12 [INFO] [stderr] | [INFO] [stderr] 447 | router.post("/upload_records",upload_records); [INFO] [stderr] | ^^^^ ----------------- -------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:448:12 [INFO] [stderr] | [INFO] [stderr] 448 | router.post("/upload_records_inserts",upload_records_inserts); [INFO] [stderr] | ^^^^ ------------------------- ---------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:449:12 [INFO] [stderr] | [INFO] [stderr] 449 | router.post("/upload_transactions_inserts",upload_transactions_inserts); [INFO] [stderr] | ^^^^ ------------------------------ --------------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:450:12 [INFO] [stderr] | [INFO] [stderr] 450 | router.post("/upload_transactions_experimental",upload_transactions_experimental); [INFO] [stderr] | ^^^^ ----------------------------------- -------------------------------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:453:24 [INFO] [stderr] | [INFO] [stderr] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: required because of the requirements on the impl of `iron::AfterMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:453:24 [INFO] [stderr] | [INFO] [stderr] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `persistent::Read` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::BeforeMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:453:24 [INFO] [stderr] | [INFO] [stderr] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>, iron::Response)>` is not implemented for `persistent::Read` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::AfterMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:453:24 [INFO] [stderr] | [INFO] [stderr] 453 | message_chain.link(persistent::Read::::both(conn)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `persistent::Read` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::BeforeMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:454:24 [INFO] [stderr] | [INFO] [stderr] 454 | message_chain.link(persistent::Read::::both(original_connections)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: required because of the requirements on the impl of `iron::AfterMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:454:24 [INFO] [stderr] | [INFO] [stderr] 454 | message_chain.link(persistent::Read::::both(original_connections)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `persistent::Read` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::BeforeMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:454:24 [INFO] [stderr] | [INFO] [stderr] 454 | message_chain.link(persistent::Read::::both(original_connections)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>, iron::Response)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>, iron::Response)>` is not implemented for `persistent::Read` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::AfterMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] --> src/main.rs:454:24 [INFO] [stderr] | [INFO] [stderr] 454 | message_chain.link(persistent::Read::::both(original_connections)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `persistent::Read` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `persistent::Read` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::BeforeMiddleware` for `persistent::Read` [INFO] [stderr] [INFO] [stderr] error: aborting due to 71 previous errors; 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0423, E0425, E0432, E0433, E0518... [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `csv_upload_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1c61e93ababe53ba54346f6d66851ccde5a75fab69c486f432b819360ccfefca"` [INFO] running `"docker" "rm" "-f" "1c61e93ababe53ba54346f6d66851ccde5a75fab69c486f432b819360ccfefca"` [INFO] [stdout] 1c61e93ababe53ba54346f6d66851ccde5a75fab69c486f432b819360ccfefca