[INFO] cloning repository https://github.com/conradludgate/delicious [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conradludgate/delicious" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconradludgate%2Fdelicious", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconradludgate%2Fdelicious'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40581dda207f5e0d3fc8700817fc063876c29595 [INFO] checking conradludgate/delicious/40581dda207f5e0d3fc8700817fc063876c29595 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconradludgate%2Fdelicious" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/conradludgate/delicious on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/conradludgate/delicious [INFO] finished tweaking git repo https://github.com/conradludgate/delicious [INFO] tweaked toml for git repo https://github.com/conradludgate/delicious written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/conradludgate/delicious 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded group v0.12.0 [INFO] [stderr] Downloaded axum-core v0.2.8 [INFO] [stderr] Downloaded tracing-tree v0.2.1 [INFO] [stderr] Downloaded signature v1.6.3 [INFO] [stderr] Downloaded crypto-bigint v0.4.8 [INFO] [stderr] Downloaded serde_test v1.0.145 [INFO] [stderr] Downloaded axum v0.5.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a36f97b32867e57a9aec5d7b01cfe9e0bc231988bfd876b6e44aebe8abc37360 [INFO] running `Command { std: "docker" "start" "-a" "a36f97b32867e57a9aec5d7b01cfe9e0bc231988bfd876b6e44aebe8abc37360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a36f97b32867e57a9aec5d7b01cfe9e0bc231988bfd876b6e44aebe8abc37360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36f97b32867e57a9aec5d7b01cfe9e0bc231988bfd876b6e44aebe8abc37360", kill_on_drop: false }` [INFO] [stdout] a36f97b32867e57a9aec5d7b01cfe9e0bc231988bfd876b6e44aebe8abc37360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 923ff217a40bb2c223da169c7d32bb2412f478320eb92dd8ca41e4975e95accb [INFO] running `Command { std: "docker" "start" "-a" "923ff217a40bb2c223da169c7d32bb2412f478320eb92dd8ca41e4975e95accb", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking base64ct v1.5.2 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking block-padding v0.3.2 [INFO] [stderr] Checking crypto-bigint v0.4.8 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.0 [INFO] [stderr] Checking signature v1.6.3 [INFO] [stderr] Checking universal-hash v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking polyval v0.6.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking ctr v0.9.1 [INFO] [stderr] Checking aes v0.8.1 [INFO] [stderr] Checking aead v0.5.1 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking p384 v0.11.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking aes-gcm v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling serde_test v1.0.145 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking tracing-tree v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking axum-core v0.2.8 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking axum v0.5.16 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking postgres-types v0.2.4 [INFO] [stderr] Checking no-way v0.4.1 (/opt/rustwide/workdir/no-way) [INFO] [stderr] Checking tokio-postgres v0.7.7 [INFO] [stderr] Checking delicious v0.1.0 (/opt/rustwide/workdir/delicious-analytics) [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn post(body: Json) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn post(body: Json) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Data` cannot be sent between threads safely [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ `::Data` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `::Data`, which is required by `axum::Json: FromRequest` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Error: StdError` is not satisfied [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ the trait `StdError` is not implemented for `::Error`, which is required by `axum::Json: FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box<(dyn StdError + std::marker::Send + Sync + 'static)>` to implement `From<::Error>` [INFO] [stdout] = note: required for `::Error` to implement `Into>` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Error` cannot be sent between threads safely [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ `::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `::Error`, which is required by `axum::Json: FromRequest` [INFO] [stdout] = note: required for `Box<(dyn StdError + std::marker::Send + Sync + 'static)>` to implement `From<::Error>` [INFO] [stdout] = note: required for `::Error` to implement `Into>` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Error` cannot be shared between threads safely [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ `::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `::Error`, which is required by `axum::Json: FromRequest` [INFO] [stdout] = note: required for `Box<(dyn StdError + std::marker::Send + Sync + 'static)>` to implement `From<::Error>` [INFO] [stdout] = note: required for `::Error` to implement `Into>` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StatusCode` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `StatusCode`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From<&StatusCode>` is implemented for `StatusCode` [INFO] [stdout] = help: for that trait implementation, expected `&StatusCode`, found `JsonRejection` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StatusCode` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or(|_| StatusCode::BAD_REQUEST)?; [INFO] [stdout] | ^ the trait `From<{closure@delicious-analytics/src/api/collect.rs:56:20: 56:23}>` is not implemented for `StatusCode`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From<&StatusCode>` is implemented for `StatusCode` [INFO] [stdout] = help: for that trait implementation, expected `&StatusCode`, found `{closure@delicious-analytics/src/api/collect.rs:56:20: 56:23}` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Data` cannot be sent between threads safely [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ `::Data` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `::Data`, which is required by `axum::Json: FromRequest` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Error: StdError` is not satisfied [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ the trait `StdError` is not implemented for `::Error`, which is required by `axum::Json: FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: required for `Box<(dyn StdError + std::marker::Send + Sync + 'static)>` to implement `From<::Error>` [INFO] [stdout] = note: required for `::Error` to implement `Into>` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Error` cannot be sent between threads safely [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ `::Error` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `::Error`, which is required by `axum::Json: FromRequest` [INFO] [stdout] = note: required for `Box<(dyn StdError + std::marker::Send + Sync + 'static)>` to implement `From<::Error>` [INFO] [stdout] = note: required for `::Error` to implement `Into>` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Error` cannot be shared between threads safely [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^^^^^^^ `::Error` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `::Error`, which is required by `axum::Json: FromRequest` [INFO] [stdout] = note: required for `Box<(dyn StdError + std::marker::Send + Sync + 'static)>` to implement `From<::Error>` [INFO] [stdout] = note: required for `::Error` to implement `Into>` [INFO] [stdout] = note: required for `axum::Json` to implement `FromRequest` [INFO] [stdout] note: required by a bound in `RequestParts::::extract` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/axum-core-0.2.8/src/extract/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn extract>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `RequestParts::::extract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StatusCode` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 50 | let payload: Json = req.extract().await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `StatusCode`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From<&StatusCode>` is implemented for `StatusCode` [INFO] [stdout] = help: for that trait implementation, expected `&StatusCode`, found `JsonRejection` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `StatusCode` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | .ok_or(|_| StatusCode::BAD_REQUEST)?; [INFO] [stdout] | ^ the trait `From<{closure@delicious-analytics/src/api/collect.rs:56:20: 56:23}>` is not implemented for `StatusCode`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From<&StatusCode>` is implemented for `StatusCode` [INFO] [stdout] = help: for that trait implementation, expected `&StatusCode`, found `{closure@delicious-analytics/src/api/collect.rs:56:20: 56:23}` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> delicious-analytics/src/api/collect.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `delicious` (bin "delicious" test) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `delicious` (bin "delicious") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "923ff217a40bb2c223da169c7d32bb2412f478320eb92dd8ca41e4975e95accb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923ff217a40bb2c223da169c7d32bb2412f478320eb92dd8ca41e4975e95accb", kill_on_drop: false }` [INFO] [stdout] 923ff217a40bb2c223da169c7d32bb2412f478320eb92dd8ca41e4975e95accb