[INFO] cloning repository https://github.com/pfulop/365displayServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pfulop/365displayServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfulop%2F365displayServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfulop%2F365displayServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5099eb7b77bc76605e3b31ad2e0d702016982d2 [INFO] checking pfulop/365displayServer against try#15a786332e2f0dd343b226ab6bb8ec028a350f73 for pr-81782 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfulop%2F365displayServer" "/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/pfulop/365displayServer on toolchain 15a786332e2f0dd343b226ab6bb8ec028a350f73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pfulop/365displayServer [INFO] finished tweaking git repo https://github.com/pfulop/365displayServer [INFO] tweaked toml for git repo https://github.com/pfulop/365displayServer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/pfulop/365displayServer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/sbruton/aws-lambda-events/` [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" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "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/sbruton/aws-lambda-events/` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusoto_dynamodbstreams v0.45.0 [INFO] [stderr] Downloaded rusoto_dynamodb v0.45.0 [INFO] [stderr] Downloaded dynomite v0.10.0 [INFO] [stderr] Downloaded rusoto_apigatewaymanagementapi v0.45.0 [INFO] [stderr] Downloaded dynomite-derive v0.10.0 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b7009b66a134247bde7eeed9754492cfc5b276b009033b218f9806bb15fc682 [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" "0b7009b66a134247bde7eeed9754492cfc5b276b009033b218f9806bb15fc682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b7009b66a134247bde7eeed9754492cfc5b276b009033b218f9806bb15fc682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b7009b66a134247bde7eeed9754492cfc5b276b009033b218f9806bb15fc682", kill_on_drop: false }` [INFO] [stdout] 0b7009b66a134247bde7eeed9754492cfc5b276b009033b218f9806bb15fc682 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1db22d257382a0558a111e8331ed3a15e8d12c626acc9409dd4da5165b268606 [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" "1db22d257382a0558a111e8331ed3a15e8d12c626acc9409dd4da5165b268606", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Compiling rusoto_core v0.45.0 [INFO] [stderr] Compiling lambda_runtime_core v0.1.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking native-tls v0.2.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tracing-subscriber v0.2.16 [INFO] [stderr] Checking time v0.2.25 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Compiling dynomite-derive v0.10.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking again v0.1.2 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking tokio-stream v0.1.3 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking lambda_runtime_errors v0.1.1 [INFO] [stderr] Checking lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#ba696878) [INFO] [stderr] Checking lambda_runtime_client v0.2.2 [INFO] [stderr] Checking aws_lambda_events v0.3.2-pre (https://github.com/sbruton/aws-lambda-events/?branch=master#c440608f) [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking lambda_runtime v0.2.1 [INFO] [stderr] Checking lambda_http v0.1.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking rusoto_credential v0.45.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking rusoto_signature v0.45.0 [INFO] [stderr] Checking rusoto_dynamodb v0.45.0 [INFO] [stderr] Checking rusoto_apigatewaymanagementapi v0.45.0 [INFO] [stderr] Checking rusoto_dynamodbstreams v0.45.0 [INFO] [stderr] Checking dynomite v0.10.0 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> common/src/send.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ApiGatewayWebsocketProxyRequest, ApiGatewayWebsocketProxyRequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> common/src/send.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ApiGatewayWebsocketProxyRequest, ApiGatewayWebsocketProxyRequestContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking selection v0.1.0 (/opt/rustwide/workdir/selection) [INFO] [stderr] Checking downstream v0.1.0 (/opt/rustwide/workdir/downstream) [INFO] [stderr] Checking upstream v0.1.0 (/opt/rustwide/workdir/upstream) [INFO] [stderr] Checking connections v0.1.0 (/opt/rustwide/workdir/connection) [INFO] [stderr] Checking timeout v0.1.0 (/opt/rustwide/workdir/timeout) [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> selection/src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> selection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> selection/src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> selection/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> selection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> selection/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> selection/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `selection` [INFO] [stdout] --> selection/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] 2 | | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] 3 | | use lambda::{lambda, Context}; [INFO] [stdout] 4 | | use serde::{Deserialize, Serialize}; [INFO] [stdout] ... | [INFO] [stdout] 141 | | connection [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `selection/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> upstream/src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> upstream/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> upstream/src/main.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> upstream/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> upstream/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> upstream/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection_operations::*`, `error::Error`, `models`, `send` [INFO] [stdout] --> upstream/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use common::{connection_operations::*, error::Error, models, send}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> upstream/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> selection/src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> connection/src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> selection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> selection/src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `upstream` [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> downstream/src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> downstream/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> downstream/src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> connection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> selection/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> selection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> downstream/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> downstream/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> selection/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> downstream/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection_operations`, `error::Error`, `models`, `send` [INFO] [stdout] --> downstream/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> downstream/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> connection/src/main.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> connection/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> connection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> connection/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> selection/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection_operations`, `error::Error`, `models`, `send` [INFO] [stdout] --> connection/src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> connection/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> upstream/src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> upstream/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> upstream/src/main.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> upstream/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> upstream/src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> upstream/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection_operations::*`, `error::Error`, `models`, `send` [INFO] [stdout] --> upstream/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use common::{connection_operations::*, error::Error, models, send}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> upstream/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `upstream` [INFO] [stdout] --> upstream/src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] 4 | | use common::{connection_operations::*, error::Error, models, send}; [INFO] [stdout] 5 | | use lambda::{lambda, Context}; [INFO] [stdout] 6 | | use simple_logger::SimpleLogger; [INFO] [stdout] ... | [INFO] [stdout] 28 | | Ok(()) [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `upstream/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> downstream/src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> downstream/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> downstream/src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> timeout/src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | async fn main(e: DynamoDBEvent, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> downstream/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> downstream/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> downstream/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection_operations`, `error::Error`, `models`, `send` [INFO] [stdout] --> downstream/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> downstream/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> timeout/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> timeout/src/main.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `downstream` [INFO] [stdout] --> downstream/src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] 3 | | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] 4 | | use lambda::{lambda, Context}; [INFO] [stdout] 5 | | use serde::{Deserialize, Serialize}; [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok(()) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `downstream/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> timeout/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> timeout/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::try_join_all` [INFO] [stdout] --> timeout/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::try_join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> timeout/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> timeout/src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | async fn main(e: DynamoDBEvent, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the main function cannot accept arguments [INFO] [stdout] --> connection/src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main(e: ApiGatewayWebsocketProxyRequest, _: Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> timeout/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> timeout/src/main.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> timeout/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> timeout/src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::try_join_all` [INFO] [stdout] --> timeout/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::try_join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> timeout/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda::lambda` [INFO] [stdout] --> connection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `lambda` [INFO] [stdout] --> connection/src/main.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[lambda] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `lambda` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> connection/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `lambda` could refer to a crate passed with `--extern` [INFO] [stdout] = help: use `::lambda` to refer to this crate unambiguously [INFO] [stdout] note: `lambda` could also refer to the unresolved item imported here [INFO] [stdout] --> connection/src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use lambda::{lambda, Context}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: use `crate::lambda` to refer to this unresolved item unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest` [INFO] [stdout] --> connection/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection_operations`, `error::Error`, `models`, `send` [INFO] [stdout] --> connection/src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_logger::SimpleLogger` [INFO] [stdout] --> connection/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_logger::SimpleLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `connections` [INFO] [stdout] --> connection/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest; [INFO] [stdout] 2 | | use common::{connection_operations, error::Error, models, send}; [INFO] [stdout] 3 | | use lambda::{lambda, Context}; [INFO] [stdout] 4 | | use simple_logger::SimpleLogger; [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(()) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `connection/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `timeout` [INFO] [stdout] --> timeout/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequestContext; [INFO] [stdout] 2 | | use common::{connection_operations::*, error::Error, models::*, send::*}; [INFO] [stdout] 3 | | use futures::future::try_join_all; [INFO] [stdout] 4 | | use lambda::{lambda, Context}; [INFO] [stdout] ... | [INFO] [stdout] 77 | | Ok(()) [INFO] [stdout] 78 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `timeout/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [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" "1db22d257382a0558a111e8331ed3a15e8d12c626acc9409dd4da5165b268606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db22d257382a0558a111e8331ed3a15e8d12c626acc9409dd4da5165b268606", kill_on_drop: false }` [INFO] [stdout] 1db22d257382a0558a111e8331ed3a15e8d12c626acc9409dd4da5165b268606