[INFO] fetching crate darpi 0.1.5... [INFO] testing darpi-0.1.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate darpi 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate darpi 0.1.5 [INFO] finished tweaking crates.io crate darpi 0.1.5 [INFO] tweaked toml for crates.io crate darpi 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate darpi 0.1.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate darpi 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shaku_derive v0.5.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded tokio-macros v1.1.0 [INFO] [stderr] Downloaded utf-8 v0.7.5 [INFO] [stderr] Downloaded shaku v0.5.0 [INFO] [stderr] Downloaded multer v1.2.2 [INFO] [stderr] Downloaded async-graphql-parser v2.5.9 [INFO] [stderr] Downloaded async-stream-impl v0.3.0 [INFO] [stderr] Downloaded async-graphql-derive v2.6.0 [INFO] [stderr] Downloaded darpi-code-gen v0.1.1-beta.1 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded twoway v0.2.1 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded tokio v1.4.0 [INFO] [stderr] Downloaded syn v1.0.64 [INFO] [stderr] Downloaded libc v0.2.90 [INFO] [stderr] Downloaded wasm-bindgen v0.2.72 [INFO] [stderr] Downloaded h2 v0.3.1 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] [stderr] Downloaded js-sys v0.3.49 [INFO] [stderr] Downloaded derive_more v0.99.11 [INFO] [stderr] Downloaded logos-derive v0.11.5 [INFO] [stderr] Downloaded async-graphql-value v2.5.9 [INFO] [stderr] Downloaded async-graphql v2.6.2 [INFO] [stderr] Downloaded hyper v0.14.4 [INFO] [stderr] Downloaded bson v1.2.0 [INFO] [stderr] Downloaded sha2 v0.9.3 [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded async-trait v0.1.48 [INFO] [stderr] Downloaded beef v0.4.4 [INFO] [stderr] Downloaded logos v0.11.4 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [INFO] [stderr] Downloaded http-body v0.4.1 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.72 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded futures-lite v1.11.3 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded mio v0.7.10 [INFO] [stderr] Downloaded async-stream v0.3.0 [INFO] [stderr] Downloaded darpi-route v0.1.0 [INFO] [stderr] Downloaded dtoa v0.4.7 [INFO] [stderr] Downloaded darpi-web v0.1.0-beta.1 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded web-sys v0.3.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0f74806193704004732073d6ca3bc9db59d7f3981e94f90b79b833fefd5d428 [INFO] running `Command { std: "docker" "start" "-a" "e0f74806193704004732073d6ca3bc9db59d7f3981e94f90b79b833fefd5d428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0f74806193704004732073d6ca3bc9db59d7f3981e94f90b79b833fefd5d428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f74806193704004732073d6ca3bc9db59d7f3981e94f90b79b833fefd5d428", kill_on_drop: false }` [INFO] [stdout] e0f74806193704004732073d6ca3bc9db59d7f3981e94f90b79b833fefd5d428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8e76563c6963009540f1211df4c9664af2f963f661df24353ade70b2882c4c9 [INFO] running `Command { std: "docker" "start" "-a" "f8e76563c6963009540f1211df4c9664af2f963f661df24353ade70b2882c4c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.10 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling shaku_derive v0.5.0 [INFO] [stderr] Compiling shaku v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling logos v0.11.4 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling darpi-route v0.1.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling darpi-code-gen v0.1.1-beta.1 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling darpi-web v0.1.0-beta.1 [INFO] [stderr] Compiling darpi v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.14s [INFO] running `Command { std: "docker" "inspect" "f8e76563c6963009540f1211df4c9664af2f963f661df24353ade70b2882c4c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e76563c6963009540f1211df4c9664af2f963f661df24353ade70b2882c4c9", kill_on_drop: false }` [INFO] [stdout] f8e76563c6963009540f1211df4c9664af2f963f661df24353ade70b2882c4c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b969c23c4b4b7b4a380abfb42da69872641f2b34ed26733a38dc29017390f69b [INFO] running `Command { std: "docker" "start" "-a" "b969c23c4b4b7b4a380abfb42da69872641f2b34ed26733a38dc29017390f69b", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling async-graphql-value v2.5.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling bson v1.2.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling async-graphql-parser v2.5.9 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling multer v1.2.2 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling logos v0.11.4 [INFO] [stderr] Compiling async-graphql-derive v2.6.0 [INFO] [stderr] Compiling darpi-route v0.1.0 [INFO] [stderr] Compiling darpi-code-gen v0.1.1-beta.1 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling darpi-web v0.1.0-beta.1 [INFO] [stderr] Compiling darpi v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-graphql v2.6.2 [INFO] [stdout] warning: unused imports: `HeaderMap` and `SEC_WEBSOCKET_KEY` [INFO] [stdout] --> examples/web_socket.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use darpi::header::{HeaderMap, SEC_WEBSOCKET_KEY}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `darpi::hyper::Uri` [INFO] [stdout] --> examples/web_socket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use darpi::hyper::Uri; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `RequestParts`, `Response`, `StatusCode`, and `app` [INFO] [stdout] --> examples/web_socket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | app, handler, job::FutureJob, response::UpgradeWS, Body, Method, Request, RequestParts, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 6 | Response, StatusCode, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `web_socket` [INFO] [stdout] --> examples/web_socket.rs:69:2 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/web_socket.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `darpi_middleware` [INFO] [stdout] --> examples/job.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use darpi_middleware::{log_request, log_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `darpi_middleware` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `darpi_middleware`, use `cargo add darpi_middleware` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `app`, and `logger::DefaultFormat` [INFO] [stdout] --> examples/job.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | app, handler, job_factory, logger::DefaultFormat, middleware, Body, Json, Method, Path, Query, [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger` [INFO] [stdout] --> examples/job.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `job` [INFO] [stdout] --> examples/job.rs:180:2 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/job.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `darpi` (example "web_socket") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `darpi_graphql` [INFO] [stdout] --> examples/graphql.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use darpi_graphql::{GraphQLBody, MultipartOptionsProviderImpl, Request, Response}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `darpi_graphql` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `darpi_graphql`, use `cargo add darpi_graphql` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `darpi_middleware` [INFO] [stdout] --> examples/graphql.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use darpi_middleware::{body_size_limit, log_request, log_response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `darpi_middleware` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `darpi_middleware`, use `cargo add darpi_middleware` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `app`, and `logger::DefaultFormat` [INFO] [stdout] --> examples/graphql.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use darpi::{app, handler, logger::DefaultFormat, Method, Path}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger` [INFO] [stdout] --> examples/graphql.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `graphql` [INFO] [stdout] --> examples/graphql.rs:496:2 [INFO] [stdout] | [INFO] [stdout] 496 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/graphql.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `darpi` (example "job") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `darpi` (example "graphql") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b969c23c4b4b7b4a380abfb42da69872641f2b34ed26733a38dc29017390f69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b969c23c4b4b7b4a380abfb42da69872641f2b34ed26733a38dc29017390f69b", kill_on_drop: false }` [INFO] [stdout] b969c23c4b4b7b4a380abfb42da69872641f2b34ed26733a38dc29017390f69b