[INFO] cloning repository https://github.com/fredhsu/nautobot-gitlab-webhook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredhsu/nautobot-gitlab-webhook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredhsu%2Fnautobot-gitlab-webhook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredhsu%2Fnautobot-gitlab-webhook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ff7ae47a651191964b9661140e83f3f2ac3f458 [INFO] checking fredhsu/nautobot-gitlab-webhook against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredhsu%2Fnautobot-gitlab-webhook" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fredhsu/nautobot-gitlab-webhook on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fredhsu/nautobot-gitlab-webhook [INFO] finished tweaking git repo https://github.com/fredhsu/nautobot-gitlab-webhook [INFO] tweaked toml for git repo https://github.com/fredhsu/nautobot-gitlab-webhook written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/fredhsu/nautobot-gitlab-webhook already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39c0b2f18f0e247becb4f0de82ad7f8bf93f2d30764bd293222ebd7b08aeffc9 [INFO] running `Command { std: "docker" "start" "-a" "39c0b2f18f0e247becb4f0de82ad7f8bf93f2d30764bd293222ebd7b08aeffc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39c0b2f18f0e247becb4f0de82ad7f8bf93f2d30764bd293222ebd7b08aeffc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c0b2f18f0e247becb4f0de82ad7f8bf93f2d30764bd293222ebd7b08aeffc9", kill_on_drop: false }` [INFO] [stdout] 39c0b2f18f0e247becb4f0de82ad7f8bf93f2d30764bd293222ebd7b08aeffc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20ec58dbed0f3973ffcbb936eb8b4611b9367a14cf988cfc140f3f8f9a2a1e38 [INFO] running `Command { std: "docker" "start" "-a" "20ec58dbed0f3973ffcbb936eb8b4611b9367a14cf988cfc140f3f8f9a2a1e38", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking nautobot_gitlab_webhook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct variant `nautobot::Data::Ipaddress` [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let ipaddr = nautobot::Data::Ipaddress(webhook.data ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `nautobot::Data::Ipaddress { id: val }` [INFO] [stdout] | [INFO] [stdout] ::: src/nautobot.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Ipaddress { id: String }, [INFO] [stdout] | ------------------------ `nautobot::Data::Ipaddress` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct variant `nautobot::Data::Ipaddress` [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let ipaddr = nautobot::Data::Ipaddress(webhook.data ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `nautobot::Data::Ipaddress { id: val }` [INFO] [stdout] | [INFO] [stdout] ::: src/nautobot.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Ipaddress { id: String }, [INFO] [stdout] | ------------------------ `nautobot::Data::Ipaddress` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/nautobot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Value` [INFO] [stdout] --> src/nautobot.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/nautobot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nautobot::Data::Ipaddress` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::nautobot::Data::Ipaddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reply` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use warp::{Filter, Reply}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/nautobot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Value` [INFO] [stdout] --> src/nautobot.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/nautobot.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nautobot::Data::Ipaddress` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::nautobot::Data::Ipaddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Reply` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use warp::{Filter, Reply}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `assigned_object` on type `nautobot::Data` [INFO] [stdout] --> src/main.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | webhook.data, webhook.data.assigned_object.name [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `address` on type `nautobot::Data` [INFO] [stdout] --> src/main.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | .text("variables[ADDRESS]", webhook.data.address) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `assigned_object` on type `nautobot::Data` [INFO] [stdout] --> src/main.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | .text("variables[NAME]", webhook.data.assigned_object.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn post_form(webhook: WebhookRequest) -> Result { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature of `fn(WebhookRequest) -> _` [INFO] [stdout] ... [INFO] [stdout] 42 | .and_then(post_form); [INFO] [stdout] | ^^^^^^^^^ expected signature of `fn(impl Buf) -> _` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(impl Buf,)>` for `fn(WebhookRequest) -> impl Future {post_form}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn post_form(webhook: WebhookRequest) -> Result { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature of `fn(WebhookRequest) -> _` [INFO] [stdout] ... [INFO] [stdout] 44 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^^^ expected signature of `fn(impl Buf) -> _` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(impl Buf,)>` for `fn(WebhookRequest) -> impl Future {post_form}` [INFO] [stdout] = note: required because of the requirements on the impl of `warp::filter::FilterBase` for `warp::filter::and_then::AndThen>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn post_form(webhook: WebhookRequest) -> Result { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature of `fn(WebhookRequest) -> _` [INFO] [stdout] ... [INFO] [stdout] 42 | .and_then(post_form); [INFO] [stdout] | ^^^^^^^^ expected signature of `fn(impl Buf) -> _` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(impl Buf,)>` for `fn(WebhookRequest) -> impl Future {post_form}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `warp::Server>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^ method cannot be called on `warp::Server>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/warp-0.3.1/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ doesn't satisfy `_: warp::Filter` [INFO] [stdout] ... [INFO] [stdout] 37 | / pub struct AndThenFuture [INFO] [stdout] 38 | | where [INFO] [stdout] 39 | | T: Filter, [INFO] [stdout] 40 | | F: Func, [INFO] [stdout] ... | [INFO] [stdout] 45 | | state: State, [INFO] [stdout] 46 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as Future>::Output = Result<_, _>` [INFO] [stdout] | doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>: warp::Filter` [INFO] [stdout] `fn(WebhookRequest) -> impl Future {post_form}: warp::generic::Func<(impl Buf,)>` [INFO] [stdout] ` impl Future {post_form} as FnOnce<(impl Buf,)>>::Output = _` [INFO] [stdout] `>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}> as Future>::Output = Result<_, _>` [INFO] [stdout] `warp::filter::and_then::AndThenFuture>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>: Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `assigned_object` on type `nautobot::Data` [INFO] [stdout] --> src/main.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | webhook.data, webhook.data.assigned_object.name [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `address` on type `nautobot::Data` [INFO] [stdout] --> src/main.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | .text("variables[ADDRESS]", webhook.data.address) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `assigned_object` on type `nautobot::Data` [INFO] [stdout] --> src/main.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | .text("variables[NAME]", webhook.data.assigned_object.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn post_form(webhook: WebhookRequest) -> Result { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature of `fn(WebhookRequest) -> _` [INFO] [stdout] ... [INFO] [stdout] 42 | .and_then(post_form); [INFO] [stdout] | ^^^^^^^^^ expected signature of `fn(impl Buf) -> _` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(impl Buf,)>` for `fn(WebhookRequest) -> impl Future {post_form}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn post_form(webhook: WebhookRequest) -> Result { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature of `fn(WebhookRequest) -> _` [INFO] [stdout] ... [INFO] [stdout] 44 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^^^ expected signature of `fn(impl Buf) -> _` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(impl Buf,)>` for `fn(WebhookRequest) -> impl Future {post_form}` [INFO] [stdout] = note: required because of the requirements on the impl of `warp::filter::FilterBase` for `warp::filter::and_then::AndThen>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn post_form(webhook: WebhookRequest) -> Result { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature of `fn(WebhookRequest) -> _` [INFO] [stdout] ... [INFO] [stdout] 42 | .and_then(post_form); [INFO] [stdout] | ^^^^^^^^ expected signature of `fn(impl Buf) -> _` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(impl Buf,)>` for `fn(WebhookRequest) -> impl Future {post_form}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run` exists for struct `warp::Server>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^ method cannot be called on `warp::Server>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/warp-0.3.1/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ doesn't satisfy `_: warp::Filter` [INFO] [stdout] ... [INFO] [stdout] 37 | / pub struct AndThenFuture [INFO] [stdout] 38 | | where [INFO] [stdout] 39 | | T: Filter, [INFO] [stdout] 40 | | F: Func, [INFO] [stdout] ... | [INFO] [stdout] 45 | | state: State, [INFO] [stdout] 46 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as Future>::Output = Result<_, _>` [INFO] [stdout] | doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>: warp::Filter` [INFO] [stdout] `fn(WebhookRequest) -> impl Future {post_form}: warp::generic::Func<(impl Buf,)>` [INFO] [stdout] ` impl Future {post_form} as FnOnce<(impl Buf,)>>::Output = _` [INFO] [stdout] `>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}> as Future>::Output = Result<_, _>` [INFO] [stdout] `warp::filter::and_then::AndThenFuture>>, impl warp::Filter+Copy>, impl warp::Filter+Copy>, fn(WebhookRequest) -> impl Future {post_form}>: Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0599, E0609, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0599, E0609, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nautobot_gitlab_webhook` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "20ec58dbed0f3973ffcbb936eb8b4611b9367a14cf988cfc140f3f8f9a2a1e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ec58dbed0f3973ffcbb936eb8b4611b9367a14cf988cfc140f3f8f9a2a1e38", kill_on_drop: false }` [INFO] [stdout] 20ec58dbed0f3973ffcbb936eb8b4611b9367a14cf988cfc140f3f8f9a2a1e38