[INFO] cloning repository https://github.com/Jakkapat-Chongsuwat/rust-rest-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jakkapat-Chongsuwat/rust-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakkapat-Chongsuwat%2Frust-rest-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakkapat-Chongsuwat%2Frust-rest-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca61f10835f91c0a284d2b172d0f51276e30c759
[INFO] building Jakkapat-Chongsuwat/rust-rest-api against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakkapat-Chongsuwat%2Frust-rest-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Jakkapat-Chongsuwat/rust-rest-api on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Jakkapat-Chongsuwat/rust-rest-api
[INFO] finished tweaking git repo https://github.com/Jakkapat-Chongsuwat/rust-rest-api
[INFO] tweaked toml for git repo https://github.com/Jakkapat-Chongsuwat/rust-rest-api written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Jakkapat-Chongsuwat/rust-rest-api 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustc_version_runtime v0.3.0
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.1.0
[INFO] [stderr]   Downloaded iri-string v0.7.6
[INFO] [stderr]   Downloaded axum-macros v0.1.2
[INFO] [stderr]   Downloaded mongodb v3.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f57a2e2f3af85f6aa7f33ba382bb272ecf626e3caef9e438f445d35b5980360d
[INFO] running `Command { std: "docker" "start" "-a" "f57a2e2f3af85f6aa7f33ba382bb272ecf626e3caef9e438f445d35b5980360d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f57a2e2f3af85f6aa7f33ba382bb272ecf626e3caef9e438f445d35b5980360d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f57a2e2f3af85f6aa7f33ba382bb272ecf626e3caef9e438f445d35b5980360d", kill_on_drop: false }`
[INFO] [stdout] f57a2e2f3af85f6aa7f33ba382bb272ecf626e3caef9e438f445d35b5980360d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 575ab77f3868d428ce977e93a957815e9e03cd31a1fe5545bcda2c559d9e0af1
[INFO] running `Command { std: "docker" "start" "-a" "575ab77f3868d428ce977e93a957815e9e03cd31a1fe5545bcda2c559d9e0af1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling brotli-decompressor v4.0.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling ipnet v2.10.0
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling unicode-properties v0.1.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling http-range-header v0.4.1
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling iri-string v0.7.6
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling axum-macros v0.1.2
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling mongodb-internal-macros v3.1.0
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling serde_with v3.9.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tower v0.5.1
[INFO] [stderr]    Compiling hickory-proto v0.24.1
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling async-compression v0.4.12
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling tower-http v0.6.1
[INFO] [stderr]    Compiling bson v2.13.0
[INFO] [stderr]    Compiling axum v0.7.7
[INFO] [stderr]    Compiling hickory-resolver v0.24.1
[INFO] [stderr]    Compiling mongodb v3.1.0
[INFO] [stderr]    Compiling rust-rest-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `http_body`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http_body::BodyExt;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `http_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemHandler`
[INFO] [stdout]   --> src/main.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let item_handler = Arc::new(ItemHandler::new(item_use_case.clone()));
[INFO] [stdout]    |                                 ^^^^^^^^^^^ use of undeclared type `ItemHandler`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::handlers::ItemHandler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `axum::extract::State<Arc<ItemHandler>>: FromRequest<Body>` is not satisfied
[INFO] [stdout]   --> src/items/handlers.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |     State(handler): State<Arc<ItemHandler>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromRequest<Body>` is not implemented for `axum::extract::State<Arc<ItemHandler>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: Function argument is not a valid axum extractor. 
[INFO] [stdout]            See `https://docs.rs/axum/0.7/axum/extract/index.html` for details
[INFO] [stdout]    = help: the following other types implement trait `FromRequest<S, M>`:
[INFO] [stdout]              (T1, T2)
[INFO] [stdout]              (T1, T2, T3)
[INFO] [stdout]              (T1, T2, T3, T4)
[INFO] [stdout]              (T1, T2, T3, T4, T5)
[INFO] [stdout]              (T1, T2, T3, T4, T5, T6)
[INFO] [stdout]              (T1, T2, T3, T4, T5, T6, T7)
[INFO] [stdout]              (T1, T2, T3, T4, T5, T6, T7, T8)
[INFO] [stdout]              (T1, T2, T3, T4, T5, T6, T7, T8, T9)
[INFO] [stdout]            and 18 others
[INFO] [stdout]    = help: see issue #48214
[INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
[INFO] [stdout]   --> src/main.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  + #![feature(trivial_bounds)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `(dyn HttpBody<Data = axum::body::Bytes, Error = axum::Error> + Send + 'static)` cannot be shared between threads safely
[INFO] [stdout]   --> src/items/handlers.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Json(req): Json<InserItemReq>,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ `(dyn HttpBody<Data = axum::body::Bytes, Error = axum::Error> + Send + 'static)` cannot be shared between threads safely
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sync` is not implemented for `(dyn HttpBody<Data = axum::body::Bytes, Error = axum::Error> + Send + 'static)`
[INFO] [stdout]    = help: the trait `FromRequest<S>` is implemented for `Json<T>`
[INFO] [stdout]    = note: required for `Unique<(dyn HttpBody<Data = axum::body::Bytes, Error = axum::Error> + Send + 'static)>` to implement `Sync`
[INFO] [stdout] note: required because it appears within the type `Box<(dyn HttpBody<Data = axum::body::Bytes, Error = axum::Error> + Send + 'static)>`
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/alloc/src/boxed.rs:231:12
[INFO] [stdout] note: required because it appears within the type `Pin<Box<(dyn HttpBody<Data = axum::body::Bytes, Error = axum::Error> + Send + 'static)>>`
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/pin.rs:1089:12
[INFO] [stdout] note: required because it appears within the type `http_body_util::combinators::box_body::UnsyncBoxBody<axum::body::Bytes, axum::Error>`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-body-util-0.1.2/src/combinators/box_body.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct UnsyncBoxBody<D, E> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Body`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-core-0.4.5/src/body.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Body(BoxBody);
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    = note: required for `Json<InserItemReq>` to implement `FromRequest<Body>`
[INFO] [stdout]    = help: see issue #48214
[INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
[INFO] [stdout]   --> src/main.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  + #![feature(trivial_bounds)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_response_body` found for struct `ServiceBuilder` in the current scope
[INFO] [stdout]   --> src/main.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 41 | /             ServiceBuilder::new()
[INFO] [stdout] 42 | |                 .layer(cors)
[INFO] [stdout] 43 | |                 .map_response_body(|body| body.boxed()), // Use the boxed() method
[INFO] [stdout]    | |_________________-^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-http-0.6.1/src/builder.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |       fn map_response_body<F>(
[INFO] [stdout]    |          ----------------- the method is available for `ServiceBuilder<Stack<CorsLayer, tower::layer::util::Identity>>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ServiceBuilderExt` which provides `map_response_body` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use tower_http::ServiceBuilderExt;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `map_response` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 .map_response(|body| body.boxed()), // Use the boxed() method
[INFO] [stdout]    |                  ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-rest-api` (bin "rust-rest-api") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "575ab77f3868d428ce977e93a957815e9e03cd31a1fe5545bcda2c559d9e0af1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "575ab77f3868d428ce977e93a957815e9e03cd31a1fe5545bcda2c559d9e0af1", kill_on_drop: false }`
[INFO] [stdout] 575ab77f3868d428ce977e93a957815e9e03cd31a1fe5545bcda2c559d9e0af1
