[INFO] fetching crate darpi 0.1.5... [INFO] building darpi-0.1.5 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate darpi 0.1.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate darpi 0.1.5 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate crates.io crate darpi 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a46cdceadda30dad1a1f4b4b4ba401fb6db6891271bfb9b805f57abf0e40011d [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" "a46cdceadda30dad1a1f4b4b4ba401fb6db6891271bfb9b805f57abf0e40011d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a46cdceadda30dad1a1f4b4b4ba401fb6db6891271bfb9b805f57abf0e40011d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46cdceadda30dad1a1f4b4b4ba401fb6db6891271bfb9b805f57abf0e40011d", kill_on_drop: false }` [INFO] [stdout] a46cdceadda30dad1a1f4b4b4ba401fb6db6891271bfb9b805f57abf0e40011d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c4d3af3bee4703bc7b76937f20b8f665c671d6c81367f7fb314a3a2b9e21820 [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" "6c4d3af3bee4703bc7b76937f20b8f665c671d6c81367f7fb314a3a2b9e21820", 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 memchr v2.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.48 [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 dtoa v0.4.7 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.10 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling idna v0.2.2 [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 pin-project-internal v1.0.5 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling shaku_derive v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.11 [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 shaku v0.5.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling logos v0.11.4 [INFO] [stderr] Compiling darpi-route v0.1.0 [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-xml-rs v0.4.1 [INFO] [stderr] Compiling serde_yaml v0.8.17 [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 [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "6c4d3af3bee4703bc7b76937f20b8f665c671d6c81367f7fb314a3a2b9e21820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4d3af3bee4703bc7b76937f20b8f665c671d6c81367f7fb314a3a2b9e21820", kill_on_drop: false }` [INFO] [stdout] 6c4d3af3bee4703bc7b76937f20b8f665c671d6c81367f7fb314a3a2b9e21820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb1ec3b79bcabcf9487b44e14f39785d32eab684063b28ea8c978258faf2f3d1 [INFO] running `Command { std: "docker" "start" "-a" "fb1ec3b79bcabcf9487b44e14f39785d32eab684063b28ea8c978258faf2f3d1", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling async-graphql-value v2.5.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling bson v1.2.0 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling multer v1.2.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling async-graphql-parser v2.5.9 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling async-graphql-derive v2.6.0 [INFO] [stderr] Compiling async-graphql v2.6.2 [INFO] [stderr] Compiling darpi v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HeaderMap`, `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)]` 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`, `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:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use darpi::futures::{SinkExt, StreamExt}; [INFO] [stdout] 2 | | use darpi::header::{HeaderMap, SEC_WEBSOCKET_KEY}; [INFO] [stdout] 3 | | use darpi::hyper::Uri; [INFO] [stdout] 4 | | use darpi::{ [INFO] [stdout] ... | [INFO] [stdout] 68 | | .await [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 undeclared crate or module `darpi_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `app`, `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)]` 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:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use darpi::job::{CpuJob, FutureJob, IOBlockingJob}; [INFO] [stdout] 2 | | use darpi::{ [INFO] [stdout] 3 | | app, handler, job_factory, logger::DefaultFormat, middleware, Body, Json, Method, Path, Query, [INFO] [stdout] 4 | | Request, RequestParts, Response, [INFO] [stdout] ... | [INFO] [stdout] 179 | | .await [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/job.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [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` due to 2 previous errors; 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 undeclared crate or module `darpi_graphql` [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 undeclared crate or module `darpi_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `app`, `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)]` 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:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use async_graphql::connection::{query, Connection, Edge, EmptyFields}; [INFO] [stdout] 2 | | use async_graphql::{Context, Enum, Interface, Object}; [INFO] [stdout] 3 | | use async_graphql::{EmptyMutation, EmptySubscription, Schema}; [INFO] [stdout] 4 | | use darpi::{app, handler, logger::DefaultFormat, Method, Path}; [INFO] [stdout] ... | [INFO] [stdout] 495 | | .await [INFO] [stdout] 496 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/graphql.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [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] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "fb1ec3b79bcabcf9487b44e14f39785d32eab684063b28ea8c978258faf2f3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1ec3b79bcabcf9487b44e14f39785d32eab684063b28ea8c978258faf2f3d1", kill_on_drop: false }` [INFO] [stdout] fb1ec3b79bcabcf9487b44e14f39785d32eab684063b28ea8c978258faf2f3d1