[INFO] cloning repository https://github.com/innexgo/innexgo-exams [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/innexgo/innexgo-exams" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finnexgo%2Finnexgo-exams", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finnexgo%2Finnexgo-exams'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a0e1cc68e53026f96daf205a6f25fa90a131355 [INFO] checking innexgo/innexgo-exams against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finnexgo%2Finnexgo-exams" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/innexgo/innexgo-exams on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/innexgo/innexgo-exams [INFO] finished tweaking git repo https://github.com/innexgo/innexgo-exams [INFO] tweaked toml for git repo https://github.com/innexgo/innexgo-exams written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/innexgo/innexgo-exams 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--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/innexgo/auth-service-api` [INFO] [stderr] Updating git repository `https://github.com/innexgo/innexgo-hours-api` [INFO] [stderr] Updating git repository `https://github.com/innexgo/mail-service-api` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.0.0-rc.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9826e45a155592753dd058f68ece3ada5d616ef6ba91319e74a2bd3a8708d78d [INFO] running `Command { std: "docker" "start" "-a" "9826e45a155592753dd058f68ece3ada5d616ef6ba91319e74a2bd3a8708d78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9826e45a155592753dd058f68ece3ada5d616ef6ba91319e74a2bd3a8708d78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9826e45a155592753dd058f68ece3ada5d616ef6ba91319e74a2bd3a8708d78d", kill_on_drop: false }` [INFO] [stdout] 9826e45a155592753dd058f68ece3ada5d616ef6ba91319e74a2bd3a8708d78d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 407be77bb5ad55cb4aa7ad8265188a95587d0d146678e87dc92123d73e3119da [INFO] running `Command { std: "docker" "start" "-a" "407be77bb5ad55cb4aa7ad8265188a95587d0d146678e87dc92123d73e3119da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking sha2 v0.10.0 [INFO] [stderr] Checking md-5 v0.10.0 [INFO] [stderr] Checking hmac v0.12.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking postgres-protocol v0.6.3 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking postgres-types v0.2.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking base64-url v1.4.10 [INFO] [stderr] Checking clap v3.0.0-rc.7 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking tokio-postgres v0.7.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking innexgo-hours-api v0.0.1 (https://github.com/innexgo/innexgo-hours-api#61240998) [INFO] [stderr] Checking auth-service-api v0.7.7 (https://github.com/innexgo/auth-service-api#ff095499) [INFO] [stderr] Checking mail-service-api v0.0.1 (https://github.com/innexgo/mail-service-api#5594d5b5) [INFO] [stderr] Checking innexgo-hours-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `db_types` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod db_types; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `db_types`, create file "src/db_types.rs" or "src/db_types/mod.rs" [INFO] [stdout] = note: if there is a `mod db_types` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `db_types` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod db_types; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `db_types`, create file "src/db_types.rs" or "src/db_types/mod.rs" [INFO] [stdout] = note: if there is a `mod db_types` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Parser, Clone)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Parser, Clone)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clap` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscription_service` [INFO] [stdout] --> src/handlers.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let subscription = subscription_service::add(con, user.user_id, props.subscription_kind, 1, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `subscription_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscription_service` [INFO] [stdout] --> src/handlers.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let subscription = subscription_service::add(con, user.user_id, props.subscription_kind, 1, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `subscription_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill_subscription` in this scope [INFO] [stdout] --> src/handlers.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | fill_subscription(con, subscription).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `subscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill_subscription` in this scope [INFO] [stdout] --> src/handlers.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | fill_subscription(con, subscription).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `subscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/api.rs:81:15: 81:61}: Clone` is not satisfied [INFO] [stdout] --> src/api.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | .and_then(async move |(config, db, auth_service), props| { [INFO] [stdout] | ______--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 82 | | handler(config, db, auth_service, props) [INFO] [stdout] 83 | | .await [INFO] [stdout] 84 | | .map_err(innexgo_hours_error) [INFO] [stdout] 85 | | }) [INFO] [stdout] | |_____^ the trait `Clone` is not implemented for `{async closure@src/api.rs:81:15: 81:61}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.2/src/filter/mod.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 255 | fn and_then(self, fun: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 258 | F: Func + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `Filter::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@src/api.rs:81:15: 81:61}: Clone` is not satisfied [INFO] [stdout] --> src/api.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | .and_then(async move |(config, db, auth_service), props| { [INFO] [stdout] | ______--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 82 | | handler(config, db, auth_service, props) [INFO] [stdout] 83 | | .await [INFO] [stdout] 84 | | .map_err(innexgo_hours_error) [INFO] [stdout] 85 | | }) [INFO] [stdout] | |_____^ the trait `Clone` is not implemented for `{async closure@src/api.rs:81:15: 81:61}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.2/src/filter/mod.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 255 | fn and_then(self, fun: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 258 | F: Func + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `Filter::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `AndThen + Clone, ...>, ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/api.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 78 | / filter [INFO] [stdout] 79 | | .and(with((config, db, auth_service))) [INFO] [stdout] 80 | | .and(warp::body::json()) [INFO] [stdout] 81 | | .and_then(async move |(config, db, auth_service), props| { [INFO] [stdout] ... | [INFO] [stdout] 85 | | }) [INFO] [stdout] 86 | | .map(|x| warp::reply::json(&Ok::<_, ()>(x))) [INFO] [stdout] | | -^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.2/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ doesn't satisfy `_: FilterBase`, `_: Filter` or `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/innexgo_hours_service-3fbc6b1036271d43.long-type-13459991871388137132.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::Filter` [INFO] [stdout] `&warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::Filter` [INFO] [stdout] `&mut warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::Filter` [INFO] [stdout] `warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: Iterator` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `AndThen + Clone, ...>, ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/api.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 78 | / filter [INFO] [stdout] 79 | | .and(with((config, db, auth_service))) [INFO] [stdout] 80 | | .and(warp::body::json()) [INFO] [stdout] 81 | | .and_then(async move |(config, db, auth_service), props| { [INFO] [stdout] ... | [INFO] [stdout] 85 | | }) [INFO] [stdout] 86 | | .map(|x| warp::reply::json(&Ok::<_, ()>(x))) [INFO] [stdout] | | -^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.2/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ doesn't satisfy `_: FilterBase`, `_: Filter` or `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/innexgo_hours_service-bbe560951013df9c.long-type-16082777445067069803.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::Filter` [INFO] [stdout] `&warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::Filter` [INFO] [stdout] `&mut warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: warp::Filter` [INFO] [stdout] `warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: Iterator` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen + Clone, impl warp::Filter + warp::filter::FilterBase>, AuthService),), Error = Infallible> + Clone>, impl warp::Filter + warp::filter::FilterBase + Copy>, {async closure@src/api.rs:81:15: 81:61}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscription_service` [INFO] [stdout] --> src/handlers.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let subscription = subscription_service::add(con, user.user_id, props.subscription_kind, 1, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `subscription_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscription_service` [INFO] [stdout] --> src/handlers.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let subscription = subscription_service::add(con, user.user_id, props.subscription_kind, 1, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `subscription_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill_subscription` in this scope [INFO] [stdout] --> src/handlers.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | fill_subscription(con, subscription).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `subscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill_subscription` in this scope [INFO] [stdout] --> src/handlers.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | fill_subscription(con, subscription).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `subscription` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 26 | struct Opts { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | } = Opts::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opts` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 26 | struct Opts { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | } = Opts::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Opts` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `innexgo-hours-service` (bin "innexgo-hours-service") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `innexgo-hours-service` (bin "innexgo-hours-service" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "407be77bb5ad55cb4aa7ad8265188a95587d0d146678e87dc92123d73e3119da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407be77bb5ad55cb4aa7ad8265188a95587d0d146678e87dc92123d73e3119da", kill_on_drop: false }` [INFO] [stdout] 407be77bb5ad55cb4aa7ad8265188a95587d0d146678e87dc92123d73e3119da