[INFO] cloning repository https://github.com/beltram/asserhttp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beltram/asserhttp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltram%2Fasserhttp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltram%2Fasserhttp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 021fd85d48b54b89a4b25c85591381afda12b52b [INFO] checking beltram/asserhttp against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltram%2Fasserhttp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/beltram/asserhttp [INFO] finished tweaking git repo https://github.com/beltram/asserhttp [INFO] tweaked toml for git repo https://github.com/beltram/asserhttp written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/beltram/asserhttp on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 452 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.6) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding handlebars v4.3.6 (available: v4.5.0) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.8.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding prost v0.12.6 (available: v0.14.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tonic v0.11.0 (available: v0.14.2) [INFO] [stderr] Adding tonic-build v0.11.0 (available: v0.14.2) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] [stderr] Adding tower-http v0.5.2 (available: v0.6.6) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d55e5d6a86ac40820d235dd766c470305c790e171c01922ba888c9968a795a9 [INFO] running `Command { std: "docker" "start" "-a" "9d55e5d6a86ac40820d235dd766c470305c790e171c01922ba888c9968a795a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d55e5d6a86ac40820d235dd766c470305c790e171c01922ba888c9968a795a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d55e5d6a86ac40820d235dd766c470305c790e171c01922ba888c9968a795a9", kill_on_drop: false }` [INFO] [stdout] 9d55e5d6a86ac40820d235dd766c470305c790e171c01922ba888c9968a795a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d209dbc47b77e17aca936b1bb13a3cfe6e5e4967efe9f2bc70f2a9e54b7c5109 [INFO] running `Command { std: "docker" "start" "-a" "d209dbc47b77e17aca936b1bb13a3cfe6e5e4967efe9f2bc70f2a9e54b7c5109", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking spinning_top v0.2.5 [INFO] [stderr] Checking bytestring v1.5.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking flume v0.9.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking hyper v1.8.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Compiling asserhttp v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking http-client v6.5.3 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Checking actix-tls v3.5.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking chumsky v0.8.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking castaway v0.1.2 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking simpledateformat v0.1.4 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking rand_regex v0.15.1 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking awc v3.8.1 [INFO] [stderr] Compiling stubr-attributes v0.6.2 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking jsonpath-plus v0.1.9 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking handlebars v4.3.6 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking surf v2.3.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking jsonpath_lib v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking stubr v0.6.2 [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:631:42 [INFO] [stdout] | [INFO] [stdout] 631 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 632 | | let inner = inner.0; [INFO] [stdout] 633 | | let method = statusOkSvc(inner); [INFO] [stdout] 634 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 645 | | Ok(res) [INFO] [stdout] 646 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:645:25 [INFO] [stdout] | [INFO] [stdout] 645 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:675:42 [INFO] [stdout] | [INFO] [stdout] 675 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 676 | | let inner = inner.0; [INFO] [stdout] 677 | | let method = statusCancelledSvc(inner); [INFO] [stdout] 678 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 689 | | Ok(res) [INFO] [stdout] 690 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:689:25 [INFO] [stdout] | [INFO] [stdout] 689 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:719:42 [INFO] [stdout] | [INFO] [stdout] 719 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 720 | | let inner = inner.0; [INFO] [stdout] 721 | | let method = statusUnknownSvc(inner); [INFO] [stdout] 722 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 733 | | Ok(res) [INFO] [stdout] 734 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:733:25 [INFO] [stdout] | [INFO] [stdout] 733 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:763:42 [INFO] [stdout] | [INFO] [stdout] 763 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 764 | | let inner = inner.0; [INFO] [stdout] 765 | | let method = statusDeadlineExceededSvc(inner); [INFO] [stdout] 766 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 777 | | Ok(res) [INFO] [stdout] 778 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:777:25 [INFO] [stdout] | [INFO] [stdout] 777 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:807:42 [INFO] [stdout] | [INFO] [stdout] 807 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 808 | | let inner = inner.0; [INFO] [stdout] 809 | | let method = statusNotFoundSvc(inner); [INFO] [stdout] 810 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 821 | | Ok(res) [INFO] [stdout] 822 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:821:25 [INFO] [stdout] | [INFO] [stdout] 821 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:851:42 [INFO] [stdout] | [INFO] [stdout] 851 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 852 | | let inner = inner.0; [INFO] [stdout] 853 | | let method = statusAlreadyExistsSvc(inner); [INFO] [stdout] 854 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 865 | | Ok(res) [INFO] [stdout] 866 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:865:25 [INFO] [stdout] | [INFO] [stdout] 865 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:895:42 [INFO] [stdout] | [INFO] [stdout] 895 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 896 | | let inner = inner.0; [INFO] [stdout] 897 | | let method = statusPermissionDeniedSvc(inner); [INFO] [stdout] 898 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 909 | | Ok(res) [INFO] [stdout] 910 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:909:25 [INFO] [stdout] | [INFO] [stdout] 909 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:940:42 [INFO] [stdout] | [INFO] [stdout] 940 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 941 | | let inner = inner.0; [INFO] [stdout] 942 | | let method = statusResourceExhaustedSvc(inner); [INFO] [stdout] 943 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 954 | | Ok(res) [INFO] [stdout] 955 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:954:25 [INFO] [stdout] | [INFO] [stdout] 954 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:985:42 [INFO] [stdout] | [INFO] [stdout] 985 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 986 | | let inner = inner.0; [INFO] [stdout] 987 | | let method = statusFailedPreconditionSvc(inner); [INFO] [stdout] 988 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 999 | | Ok(res) [INFO] [stdout] 1000 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1029:42 [INFO] [stdout] | [INFO] [stdout] 1029 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1030 | | let inner = inner.0; [INFO] [stdout] 1031 | | let method = statusAbortedSvc(inner); [INFO] [stdout] 1032 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1043 | | Ok(res) [INFO] [stdout] 1044 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1043:25 [INFO] [stdout] | [INFO] [stdout] 1043 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1073:42 [INFO] [stdout] | [INFO] [stdout] 1073 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1074 | | let inner = inner.0; [INFO] [stdout] 1075 | | let method = statusOutOfRangeSvc(inner); [INFO] [stdout] 1076 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1087 | | Ok(res) [INFO] [stdout] 1088 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1087:25 [INFO] [stdout] | [INFO] [stdout] 1087 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1117:42 [INFO] [stdout] | [INFO] [stdout] 1117 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1118 | | let inner = inner.0; [INFO] [stdout] 1119 | | let method = statusUnimplementedSvc(inner); [INFO] [stdout] 1120 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1131 | | Ok(res) [INFO] [stdout] 1132 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1131:25 [INFO] [stdout] | [INFO] [stdout] 1131 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1161:42 [INFO] [stdout] | [INFO] [stdout] 1161 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1162 | | let inner = inner.0; [INFO] [stdout] 1163 | | let method = statusInternalSvc(inner); [INFO] [stdout] 1164 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1175 | | Ok(res) [INFO] [stdout] 1176 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1175:25 [INFO] [stdout] | [INFO] [stdout] 1175 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1205:42 [INFO] [stdout] | [INFO] [stdout] 1205 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1206 | | let inner = inner.0; [INFO] [stdout] 1207 | | let method = statusUnavailableSvc(inner); [INFO] [stdout] 1208 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1219 | | Ok(res) [INFO] [stdout] 1220 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1219:25 [INFO] [stdout] | [INFO] [stdout] 1219 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1249:42 [INFO] [stdout] | [INFO] [stdout] 1249 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1250 | | let inner = inner.0; [INFO] [stdout] 1251 | | let method = statusDataLossSvc(inner); [INFO] [stdout] 1252 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1263 | | Ok(res) [INFO] [stdout] 1264 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1263:25 [INFO] [stdout] | [INFO] [stdout] 1263 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1293:42 [INFO] [stdout] | [INFO] [stdout] 1293 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1294 | | let inner = inner.0; [INFO] [stdout] 1295 | | let method = statusUnauthenticatedSvc(inner); [INFO] [stdout] 1296 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1307 | | Ok(res) [INFO] [stdout] 1308 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1307:25 [INFO] [stdout] | [INFO] [stdout] 1307 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1337:42 [INFO] [stdout] | [INFO] [stdout] 1337 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1338 | | let inner = inner.0; [INFO] [stdout] 1339 | | let method = bodySvc(inner); [INFO] [stdout] 1340 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 1351 | | Ok(res) [INFO] [stdout] 1352 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1351:25 [INFO] [stdout] | [INFO] [stdout] 1351 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1356:41 [INFO] [stdout] | [INFO] [stdout] 1356 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1357 | | Ok( [INFO] [stdout] 1358 | | http::Response::builder() [INFO] [stdout] 1359 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 1365 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/asserhttp-9e169803d76c6854/out/grpc.rs:1357:25 [INFO] [stdout] | [INFO] [stdout] 1357 | / Ok( [INFO] [stdout] 1358 | | http::Response::builder() [INFO] [stdout] 1359 | | .status(200) [INFO] [stdout] 1360 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 1363 | | .unwrap(), [INFO] [stdout] 1364 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asserhttp` (test "grpc") due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | asserhttp_test!(status_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(200)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | asserhttp_test!(status_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(200)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | asserhttp_test!(status_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(200)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | asserhttp_test!(status_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(200)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | asserhttp_test!(status_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(200)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | asserhttp_test!(status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(Status::Ok)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_enum_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | asserhttp_test!(status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(Status::Ok)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | asserhttp_test!(status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(Status::Ok)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | asserhttp_test!(status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(Status::Ok)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | asserhttp_test!(status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(Status::Ok)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | asserhttp_test!(status_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '100' but was '200'", .expect_status(100)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | asserhttp_test!(status_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '100' but was '200'", .expect_status(100)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | asserhttp_test!(status_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '100' but was '200'", .expect_status(100)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | asserhttp_test!(status_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '100' but was '200'", .expect_status(100)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | asserhttp_test!(status_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '100' but was '200'", .expect_status(100)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | asserhttp_test!(status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(|s| assert_eq!(s, 200))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_closure_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | asserhttp_test!(status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(|s| assert_eq!(s, 200))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | asserhttp_test!(status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(|s| assert_eq!(s, 200))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | asserhttp_test!(status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(|s| assert_eq!(s, 200))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | asserhttp_test!(status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status(|s| assert_eq!(s, 200))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | asserhttp_test!(status_closure_should_fail, "status/ok.json", StatusOk.responses(), "", .expect_status(|s| assert_eq!(s, 400))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_closure_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | asserhttp_test!(status_closure_should_fail, "status/ok.json", StatusOk.responses(), "", .expect_status(|s| assert_eq!(s, 400))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | asserhttp_test!(status_closure_should_fail, "status/ok.json", StatusOk.responses(), "", .expect_status(|s| assert_eq!(s, 400))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | asserhttp_test!(status_closure_should_fail, "status/ok.json", StatusOk.responses(), "", .expect_status(|s| assert_eq!(s, 400))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | asserhttp_test!(status_closure_should_fail, "status/ok.json", StatusOk.responses(), "", .expect_status(|s| assert_eq!(s, 400))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | asserhttp_test!(fallible_status_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(200).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_status_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | asserhttp_test!(fallible_status_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(200).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | asserhttp_test!(fallible_status_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(200).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | asserhttp_test!(fallible_status_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(200).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | asserhttp_test!(fallible_status_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(200).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | asserhttp_test!(fallible_status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(Status::Ok).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_status_enum_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | asserhttp_test!(fallible_status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(Status::Ok).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | asserhttp_test!(fallible_status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(Status::Ok).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | asserhttp_test!(fallible_status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(Status::Ok).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | asserhttp_test!(fallible_status_enum_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(Status::Ok).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | asserhttp_test!(fallible_status_should_fail, "status/ok.json", StatusOk.responses(), AsserhttpError::StatusMismatch { expected: 100, actual: 200 }, .try_expect_status(100)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_status_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | asserhttp_test!(fallible_status_should_fail, "status/ok.json", StatusOk.responses(), AsserhttpError::StatusMismatch { expected: 100, actual: 200 }, .try_expect_status(100)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | asserhttp_test!(fallible_status_should_fail, "status/ok.json", StatusOk.responses(), AsserhttpError::StatusMismatch { expected: 100, actual: 200 }, .try_expect_status(100)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | asserhttp_test!(fallible_status_should_fail, "status/ok.json", StatusOk.responses(), AsserhttpError::StatusMismatch { expected: 100, actual: 200 }, .try_expect_status(100)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | asserhttp_test!(fallible_status_should_fail, "status/ok.json", StatusOk.responses(), AsserhttpError::StatusMismatch { expected: 100, actual: 200 }, .try_expect_status(100)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | asserhttp_test!(fallible_status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(|actual| if actual != 200 { Err(AsserhttpError::StatusMismatch { expected: 200, actual }) } else { Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_status_closure_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | asserhttp_test!(fallible_status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(|actual| if actual != 200 { Err(AsserhttpError::StatusMismatch { expected: 200, actual }) } else { Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | asserhttp_test!(fallible_status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(|actual| if actual != 200 { Err(AsserhttpError::StatusMismatch { expected: 200, actual }) } else { Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | asserhttp_test!(fallible_status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(|actual| if actual != 200 { Err(AsserhttpError::StatusMismatch { expected: 200, actual }) } else { Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | asserhttp_test!(fallible_status_closure_should_succeed, "status/ok.json", StatusOk.responses(), .try_expect_status(|actual| if actual != 200 { Err(AsserhttpError::StatusMismatch { expected: 200, actual }) } else { Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | asserhttp_test!(fallible_status_closure_...match { expected: 400, actual }) } else { Ok(()) })); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_status_closure_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | asserhttp_test!(fallible_status_closure_...match { expected: 400, actual }) } else { Ok(()) })); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | asserhttp_test!(fallible_status_closure_...match { expected: 400, actual }) } else { Ok(()) })); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | asserhttp_test!(fallible_status_closure_...match { expected: 400, actual }) } else { Ok(()) })); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | asserhttp_test!(fallible_status_closure_...match { expected: 400, actual }) } else { Ok(()) })); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | asserhttp_test!(status_ok_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_ok()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_ok_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | asserhttp_test!(status_ok_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_ok()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | asserhttp_test!(status_ok_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_ok()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | asserhttp_test!(status_ok_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_ok()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | asserhttp_test!(status_ok_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_ok()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | asserhttp_test!(status_ok_should_fail, "status/created.json", StatusCreated.responses(), "expected status to be '200' but was '201'", .expect_status_ok()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_ok_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | asserhttp_test!(status_ok_should_fail, "status/created.json", StatusCreated.responses(), "expected status to be '200' but was '201'", .expect_status_ok()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | asserhttp_test!(status_ok_should_fail, "status/created.json", StatusCreated.responses(), "expected status to be '200' but was '201'", .expect_status_ok()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | asserhttp_test!(status_ok_should_fail, "status/created.json", StatusCreated.responses(), "expected status to be '200' but was '201'", .expect_status_ok()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | asserhttp_test!(status_ok_should_fail, "status/created.json", StatusCreated.responses(), "expected status to be '200' but was '201'", .expect_status_ok()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | asserhttp_test!(status_created_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_created()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_created_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | asserhttp_test!(status_created_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_created()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | asserhttp_test!(status_created_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_created()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | asserhttp_test!(status_created_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_created()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | asserhttp_test!(status_created_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_created()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | asserhttp_test!(status_created_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '201' but was '200'", .expect_status_created()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_created_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | asserhttp_test!(status_created_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '201' but was '200'", .expect_status_created()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | asserhttp_test!(status_created_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '201' but was '200'", .expect_status_created()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | asserhttp_test!(status_created_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '201' but was '200'", .expect_status_created()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | asserhttp_test!(status_created_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '201' but was '200'", .expect_status_created()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | asserhttp_test!(status_accepted_should_succeed, "status/accepted.json", StatusAccepted.responses(), .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_accepted_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | asserhttp_test!(status_accepted_should_succeed, "status/accepted.json", StatusAccepted.responses(), .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | asserhttp_test!(status_accepted_should_succeed, "status/accepted.json", StatusAccepted.responses(), .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | asserhttp_test!(status_accepted_should_succeed, "status/accepted.json", StatusAccepted.responses(), .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | asserhttp_test!(status_accepted_should_succeed, "status/accepted.json", StatusAccepted.responses(), .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | asserhttp_test!(status_accepted_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '202' but was '200'", .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_accepted_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | asserhttp_test!(status_accepted_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '202' but was '200'", .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | asserhttp_test!(status_accepted_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '202' but was '200'", .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | asserhttp_test!(status_accepted_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '202' but was '200'", .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | asserhttp_test!(status_accepted_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '202' but was '200'", .expect_status_accepted()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | asserhttp_test!(status_no_content_should_succeed, "status/no-content.json", StatusNoContent.responses(), .expect_status_no_content()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_no_content_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | asserhttp_test!(status_no_content_should_succeed, "status/no-content.json", StatusNoContent.responses(), .expect_status_no_content()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | asserhttp_test!(status_no_content_should_succeed, "status/no-content.json", StatusNoContent.responses(), .expect_status_no_content()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | asserhttp_test!(status_no_content_should_succeed, "status/no-content.json", StatusNoContent.responses(), .expect_status_no_content()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | asserhttp_test!(status_no_content_should_succeed, "status/no-content.json", StatusNoContent.responses(), .expect_status_no_content()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | asserhttp_test!(status_no_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '204' but was '200'", .expect_status_no_content()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_no_content_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | asserhttp_test!(status_no_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '204' but was '200'", .expect_status_no_content()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | asserhttp_test!(status_no_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '204' but was '200'", .expect_status_no_content()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | asserhttp_test!(status_no_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '204' but was '200'", .expect_status_no_content()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | asserhttp_test!(status_no_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '204' but was '200'", .expect_status_no_content()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | asserhttp_test!(status_partial_content_should_succeed, "status/partial-content.json", StatusPartialContent.responses(), .expect_status_partial_content()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_partial_content_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | asserhttp_test!(status_partial_content_should_succeed, "status/partial-content.json", StatusPartialContent.responses(), .expect_status_partial_content()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | asserhttp_test!(status_partial_content_should_succeed, "status/partial-content.json", StatusPartialContent.responses(), .expect_status_partial_content()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | asserhttp_test!(status_partial_content_should_succeed, "status/partial-content.json", StatusPartialContent.responses(), .expect_status_partial_content()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | asserhttp_test!(status_partial_content_should_succeed, "status/partial-content.json", StatusPartialContent.responses(), .expect_status_partial_content()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | asserhttp_test!(status_partial_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '206' but was '200'", .expect_status_partial_content()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_partial_content_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | asserhttp_test!(status_partial_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '206' but was '200'", .expect_status_partial_content()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | asserhttp_test!(status_partial_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '206' but was '200'", .expect_status_partial_content()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | asserhttp_test!(status_partial_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '206' but was '200'", .expect_status_partial_content()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | asserhttp_test!(status_partial_content_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '206' but was '200'", .expect_status_partial_content()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | asserhttp_test!(status_bad_request_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_bad_request()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_bad_request_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | asserhttp_test!(status_bad_request_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_bad_request()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | asserhttp_test!(status_bad_request_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_bad_request()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | asserhttp_test!(status_bad_request_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_bad_request()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | asserhttp_test!(status_bad_request_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_bad_request()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | asserhttp_test!(status_bad_request_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '400' but was '200'", .expect_status_bad_request()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_bad_request_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | asserhttp_test!(status_bad_request_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '400' but was '200'", .expect_status_bad_request()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | asserhttp_test!(status_bad_request_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '400' but was '200'", .expect_status_bad_request()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | asserhttp_test!(status_bad_request_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '400' but was '200'", .expect_status_bad_request()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | asserhttp_test!(status_bad_request_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '400' but was '200'", .expect_status_bad_request()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | asserhttp_test!(status_unauthorized_should_succeed, "status/unauthorized.json", StatusUnauthorized.responses(), .expect_status_unauthorized()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_unauthorized_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | asserhttp_test!(status_unauthorized_should_succeed, "status/unauthorized.json", StatusUnauthorized.responses(), .expect_status_unauthorized()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | asserhttp_test!(status_unauthorized_should_succeed, "status/unauthorized.json", StatusUnauthorized.responses(), .expect_status_unauthorized()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | asserhttp_test!(status_unauthorized_should_succeed, "status/unauthorized.json", StatusUnauthorized.responses(), .expect_status_unauthorized()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | asserhttp_test!(status_unauthorized_should_succeed, "status/unauthorized.json", StatusUnauthorized.responses(), .expect_status_unauthorized()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | asserhttp_test!(status_unauthorized_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '401' but was '200'", .expect_status_unauthorized()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_unauthorized_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | asserhttp_test!(status_unauthorized_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '401' but was '200'", .expect_status_unauthorized()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | asserhttp_test!(status_unauthorized_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '401' but was '200'", .expect_status_unauthorized()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | asserhttp_test!(status_unauthorized_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '401' but was '200'", .expect_status_unauthorized()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | asserhttp_test!(status_unauthorized_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '401' but was '200'", .expect_status_unauthorized()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | asserhttp_test!(status_forbidden_should_succeed, "status/forbidden.json", StatusForbidden.responses(), .expect_status_forbidden()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_forbidden_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | asserhttp_test!(status_forbidden_should_succeed, "status/forbidden.json", StatusForbidden.responses(), .expect_status_forbidden()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | asserhttp_test!(status_forbidden_should_succeed, "status/forbidden.json", StatusForbidden.responses(), .expect_status_forbidden()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | asserhttp_test!(status_forbidden_should_succeed, "status/forbidden.json", StatusForbidden.responses(), .expect_status_forbidden()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | asserhttp_test!(status_forbidden_should_succeed, "status/forbidden.json", StatusForbidden.responses(), .expect_status_forbidden()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | asserhttp_test!(status_forbidden_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '403' but was '200'", .expect_status_forbidden()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_forbidden_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | asserhttp_test!(status_forbidden_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '403' but was '200'", .expect_status_forbidden()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | asserhttp_test!(status_forbidden_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '403' but was '200'", .expect_status_forbidden()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | asserhttp_test!(status_forbidden_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '403' but was '200'", .expect_status_forbidden()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | asserhttp_test!(status_forbidden_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '403' but was '200'", .expect_status_forbidden()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | asserhttp_test!(status_not_found_should_succeed, "status/not-found.json", StatusNotFound.responses(), .expect_status_not_found()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_not_found_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | asserhttp_test!(status_not_found_should_succeed, "status/not-found.json", StatusNotFound.responses(), .expect_status_not_found()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | asserhttp_test!(status_not_found_should_succeed, "status/not-found.json", StatusNotFound.responses(), .expect_status_not_found()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | asserhttp_test!(status_not_found_should_succeed, "status/not-found.json", StatusNotFound.responses(), .expect_status_not_found()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | asserhttp_test!(status_not_found_should_succeed, "status/not-found.json", StatusNotFound.responses(), .expect_status_not_found()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | asserhttp_test!(status_not_found_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '404' but was '200'", .expect_status_not_found()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_not_found_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | asserhttp_test!(status_not_found_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '404' but was '200'", .expect_status_not_found()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | asserhttp_test!(status_not_found_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '404' but was '200'", .expect_status_not_found()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | asserhttp_test!(status_not_found_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '404' but was '200'", .expect_status_not_found()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | asserhttp_test!(status_not_found_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '404' but was '200'", .expect_status_not_found()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | asserhttp_test!(status_conflict_should_succeed, "status/conflict.json", StatusConflict.responses(), .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_conflict_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | asserhttp_test!(status_conflict_should_succeed, "status/conflict.json", StatusConflict.responses(), .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | asserhttp_test!(status_conflict_should_succeed, "status/conflict.json", StatusConflict.responses(), .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | asserhttp_test!(status_conflict_should_succeed, "status/conflict.json", StatusConflict.responses(), .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | asserhttp_test!(status_conflict_should_succeed, "status/conflict.json", StatusConflict.responses(), .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | asserhttp_test!(status_conflict_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '409' but was '200'", .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_conflict_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | asserhttp_test!(status_conflict_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '409' but was '200'", .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | asserhttp_test!(status_conflict_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '409' but was '200'", .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | asserhttp_test!(status_conflict_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '409' but was '200'", .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | asserhttp_test!(status_conflict_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '409' but was '200'", .expect_status_conflict()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | asserhttp_test!(status_gone_should_succeed, "status/gone.json", StatusGone.responses(), .expect_status_gone()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_gone_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | asserhttp_test!(status_gone_should_succeed, "status/gone.json", StatusGone.responses(), .expect_status_gone()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | asserhttp_test!(status_gone_should_succeed, "status/gone.json", StatusGone.responses(), .expect_status_gone()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | asserhttp_test!(status_gone_should_succeed, "status/gone.json", StatusGone.responses(), .expect_status_gone()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | asserhttp_test!(status_gone_should_succeed, "status/gone.json", StatusGone.responses(), .expect_status_gone()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | asserhttp_test!(status_gone_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '410' but was '200'", .expect_status_gone()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_gone_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | asserhttp_test!(status_gone_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '410' but was '200'", .expect_status_gone()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | asserhttp_test!(status_gone_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '410' but was '200'", .expect_status_gone()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | asserhttp_test!(status_gone_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '410' but was '200'", .expect_status_gone()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | asserhttp_test!(status_gone_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '410' but was '200'", .expect_status_gone()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | asserhttp_test!(status_internal_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_internal_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_internal_server_error_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | asserhttp_test!(status_internal_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_internal_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | asserhttp_test!(status_internal_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_internal_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | asserhttp_test!(status_internal_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_internal_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | asserhttp_test!(status_internal_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_internal_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | asserhttp_test!(status_internal_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '500' but was '200'", .expect_status_internal_server_error()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_internal_server_error_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | asserhttp_test!(status_internal_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '500' but was '200'", .expect_status_internal_server_error()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | asserhttp_test!(status_internal_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '500' but was '200'", .expect_status_internal_server_error()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | asserhttp_test!(status_internal_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '500' but was '200'", .expect_status_internal_server_error()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | asserhttp_test!(status_internal_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be '500' but was '200'", .expect_status_internal_server_error()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | asserhttp_test!(status_range_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_in_range(200, 300)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_range_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | asserhttp_test!(status_range_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_in_range(200, 300)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | asserhttp_test!(status_range_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_in_range(200, 300)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | asserhttp_test!(status_range_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_in_range(200, 300)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | asserhttp_test!(status_range_should_succeed, "status/created.json", StatusCreated.responses(), .expect_status_in_range(200, 300)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | asserhttp_test!(status_range_should_fail_when_higher, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_in_range(300, 400)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_range_should_fail_when_higher` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | asserhttp_test!(status_range_should_fail_when_higher, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_in_range(300, 400)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | asserhttp_test!(status_range_should_fail_when_higher, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_in_range(300, 400)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | asserhttp_test!(status_range_should_fail_when_higher, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_in_range(300, 400)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | asserhttp_test!(status_range_should_fail_when_higher, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_in_range(300, 400)); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | asserhttp_test!(status_range_should_fail_when_lower, "status/ok.json", StatusOk.responses(), "expected status to be in [300;400[ but was '200'", .expect_status_in_range(300, 400)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_range_should_fail_when_lower` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | asserhttp_test!(status_range_should_fail_when_lower, "status/ok.json", StatusOk.responses(), "expected status to be in [300;400[ but was '200'", .expect_status_in_range(300, 400)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | asserhttp_test!(status_range_should_fail_when_lower, "status/ok.json", StatusOk.responses(), "expected status to be in [300;400[ but was '200'", .expect_status_in_range(300, 400)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | asserhttp_test!(status_range_should_fail_when_lower, "status/ok.json", StatusOk.responses(), "expected status to be in [300;400[ but was '200'", .expect_status_in_range(300, 400)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | asserhttp_test!(status_range_should_fail_when_lower, "status/ok.json", StatusOk.responses(), "expected status to be in [300;400[ but was '200'", .expect_status_in_range(300, 400)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | asserhttp_test!(status_range_should_succeed_in_inclusive_lower_range, "status/ok.json", StatusOk.responses(), .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_range_should_succeed_in_inclusive_lower_range` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | asserhttp_test!(status_range_should_succeed_in_inclusive_lower_range, "status/ok.json", StatusOk.responses(), .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | asserhttp_test!(status_range_should_succeed_in_inclusive_lower_range, "status/ok.json", StatusOk.responses(), .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | asserhttp_test!(status_range_should_succeed_in_inclusive_lower_range, "status/ok.json", StatusOk.responses(), .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | asserhttp_test!(status_range_should_succeed_in_inclusive_lower_range, "status/ok.json", StatusOk.responses(), .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | asserhttp_test!(status_range_should_fail_when_in_exclusive_upper_range, "status/accepted.json", StatusAccepted.responses(), "expected status to be in [200;202[ but was '202'", .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_range_should_fail_when_in_exclusive_upper_range` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | asserhttp_test!(status_range_should_fail_when_in_exclusive_upper_range, "status/accepted.json", StatusAccepted.responses(), "expected status to be in [200;202[ but was '202'", .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | asserhttp_test!(status_range_should_fail_when_in_exclusive_upper_range, "status/accepted.json", StatusAccepted.responses(), "expected status to be in [200;202[ but was '202'", .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | asserhttp_test!(status_range_should_fail_when_in_exclusive_upper_range, "status/accepted.json", StatusAccepted.responses(), "expected status to be in [200;202[ but was '202'", .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | asserhttp_test!(status_range_should_fail_when_in_exclusive_upper_range, "status/accepted.json", StatusAccepted.responses(), "expected status to be in [200;202[ but was '202'", .expect_status_in_range(200, 202)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | asserhttp_test!(status_success_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_success_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | asserhttp_test!(status_success_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | asserhttp_test!(status_success_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | asserhttp_test!(status_success_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | asserhttp_test!(status_success_should_succeed, "status/ok.json", StatusOk.responses(), .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | asserhttp_test!(status_success_should_fail, "status/bad-request.json", StatusBadRequest.responses(), "expected status to be in [200;300[ but was '400'", .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_success_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | asserhttp_test!(status_success_should_fail, "status/bad-request.json", StatusBadRequest.responses(), "expected status to be in [200;300[ but was '400'", .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | asserhttp_test!(status_success_should_fail, "status/bad-request.json", StatusBadRequest.responses(), "expected status to be in [200;300[ but was '400'", .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | asserhttp_test!(status_success_should_fail, "status/bad-request.json", StatusBadRequest.responses(), "expected status to be in [200;300[ but was '400'", .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | asserhttp_test!(status_success_should_fail, "status/bad-request.json", StatusBadRequest.responses(), "expected status to be in [200;300[ but was '400'", .expect_status_success()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | asserhttp_test!(status_redirection_should_succeed, "status/moved-permanently.json", StatusMovedPermanently.responses(), .expect_status_redirection()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_redirection_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | asserhttp_test!(status_redirection_should_succeed, "status/moved-permanently.json", StatusMovedPermanently.responses(), .expect_status_redirection()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | asserhttp_test!(status_redirection_should_succeed, "status/moved-permanently.json", StatusMovedPermanently.responses(), .expect_status_redirection()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | asserhttp_test!(status_redirection_should_succeed, "status/moved-permanently.json", StatusMovedPermanently.responses(), .expect_status_redirection()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | asserhttp_test!(status_redirection_should_succeed, "status/moved-permanently.json", StatusMovedPermanently.responses(), .expect_status_redirection()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | asserhttp_test!(status_redirection_should_fail, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_redirection()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_redirection_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | asserhttp_test!(status_redirection_should_fail, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_redirection()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | asserhttp_test!(status_redirection_should_fail, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_redirection()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | asserhttp_test!(status_redirection_should_fail, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_redirection()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | asserhttp_test!(status_redirection_should_fail, "status/server-error.json", StatusInternalServerError.responses(), "expected status to be in [300;400[ but was '500'", .expect_status_redirection()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | asserhttp_test!(status_client_error_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_client_error()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_client_error_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | asserhttp_test!(status_client_error_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_client_error()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | asserhttp_test!(status_client_error_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_client_error()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | asserhttp_test!(status_client_error_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_client_error()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | asserhttp_test!(status_client_error_should_succeed, "status/bad-request.json", StatusBadRequest.responses(), .expect_status_client_error()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | asserhttp_test!(status_client_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [400;500[ but was '200'", .expect_status_client_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_client_error_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | asserhttp_test!(status_client_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [400;500[ but was '200'", .expect_status_client_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | asserhttp_test!(status_client_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [400;500[ but was '200'", .expect_status_client_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | asserhttp_test!(status_client_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [400;500[ but was '200'", .expect_status_client_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | asserhttp_test!(status_client_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [400;500[ but was '200'", .expect_status_client_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | asserhttp_test!(status_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_server_error_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | asserhttp_test!(status_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | asserhttp_test!(status_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | asserhttp_test!(status_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | asserhttp_test!(status_server_error_should_succeed, "status/server-error.json", StatusInternalServerError.responses(), .expect_status_server_error()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | asserhttp_test!(status_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [500;600[ but was '200'", .expect_status_server_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_status_server_error_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | asserhttp_test!(status_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [500;600[ but was '200'", .expect_status_server_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | asserhttp_test!(status_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [500;600[ but was '200'", .expect_status_server_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | asserhttp_test!(status_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [500;600[ but was '200'", .expect_status_server_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | asserhttp_test!(status_server_error_should_fail, "status/ok.json", StatusOk.responses(), "expected status to be in [500;600[ but was '200'", .expect_status_server_error()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | asserhttp_test!(header_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | asserhttp_test!(header_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | asserhttp_test!(header_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | asserhttp_test!(header_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | asserhttp_test!(header_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | asserhttp_test!(header_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header(headers::CONTENT_TYPE, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | asserhttp_test!(header_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header(headers::CONTENT_TYPE, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | asserhttp_test!(header_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header(headers::CONTENT_TYPE, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | asserhttp_test!(header_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header(headers::CONTENT_TYPE, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | asserhttp_test!(header_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header(headers::CONTENT_TYPE, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | asserhttp_test!(header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header("X-A", "a")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_should_match_key_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | asserhttp_test!(header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header("X-A", "a")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | asserhttp_test!(header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header("X-A", "a")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | asserhttp_test!(header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header("X-A", "a")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | asserhttp_test!(header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header("X-A", "a")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | asserhttp_test!(header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'A' but was 'a'", .expect_header("x-a", "A")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_should_fail_because_key_case_sensitive` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | asserhttp_test!(header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'A' but was 'a'", .expect_header("x-a", "A")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | asserhttp_test!(header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'A' but was 'a'", .expect_header("x-a", "A")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | asserhttp_test!(header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'A' but was 'a'", .expect_header("x-a", "A")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | asserhttp_test!(header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'A' but was 'a'", .expect_header("x-a", "A")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | asserhttp_test!(header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header("x-b", "a")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | asserhttp_test!(header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header("x-b", "a")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | asserhttp_test!(header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header("x-b", "a")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | asserhttp_test!(header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header("x-b", "a")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | asserhttp_test!(header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header("x-b", "a")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | asserhttp_test!(header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_const_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | asserhttp_test!(header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | asserhttp_test!(header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | asserhttp_test!(header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | asserhttp_test!(header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | asserhttp_test!(header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'b' but was 'a'", .expect_header("x-a", "b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_should_fail_when_wrong_value` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | asserhttp_test!(header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'b' but was 'a'", .expect_header("x-a", "b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | asserhttp_test!(header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'b' but was 'a'", .expect_header("x-a", "b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | asserhttp_test!(header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'b' but was 'a'", .expect_header("x-a", "b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | asserhttp_test!(header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), "expected header 'x-a' to be equal to 'b' but was 'a'", .expect_header("x-a", "b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | asserhttp_test!(header_many_should_succeed, "header/many.json", HeaderMany.responses(), .expect_header("x-a", "a").expect_header("x-b", "b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_many_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | asserhttp_test!(header_many_should_succeed, "header/many.json", HeaderMany.responses(), .expect_header("x-a", "a").expect_header("x-b", "b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | asserhttp_test!(header_many_should_succeed, "header/many.json", HeaderMany.responses(), .expect_header("x-a", "a").expect_header("x-b", "b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | asserhttp_test!(header_many_should_succeed, "header/many.json", HeaderMany.responses(), .expect_header("x-a", "a").expect_header("x-b", "b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | asserhttp_test!(header_many_should_succeed, "header/many.json", HeaderMany.responses(), .expect_header("x-a", "a").expect_header("x-b", "b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | asserhttp_test!(header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to be single valued. Had '2' values '[\"a\", \"b\"]'. Use 'expect_headers' instead", .expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_should_fail_when_multivalued` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | asserhttp_test!(header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to be single valued. Had '2' values '[\"a\", \"b\"]'. Use 'expect_headers' instead", .expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | asserhttp_test!(header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to be single valued. Had '2' values '[\"a\", \"b\"]'. Use 'expect_headers' instead", .expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | asserhttp_test!(header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to be single valued. Had '2' values '[\"a\", \"b\"]'. Use 'expect_headers' instead", .expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | asserhttp_test!(header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to be single valued. Had '2' values '[\"a\", \"b\"]'. Use 'expect_headers' instead", .expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | asserhttp_test!(fallible_header_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", "a").unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | asserhttp_test!(fallible_header_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", "a").unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | asserhttp_test!(fallible_header_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", "a").unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | asserhttp_test!(fallible_header_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", "a").unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | asserhttp_test!(fallible_header_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", "a").unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asserhttp_test!(fallible_header_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header(headers::CONTENT_TYPE, "application/json").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asserhttp_test!(fallible_header_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header(headers::CONTENT_TYPE, "application/json").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asserhttp_test!(fallible_header_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header(headers::CONTENT_TYPE, "application/json").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asserhttp_test!(fallible_header_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header(headers::CONTENT_TYPE, "application/json").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asserhttp_test!(fallible_header_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header(headers::CONTENT_TYPE, "application/json").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | asserhttp_test!(fallible_header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header("X-A", "a").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_should_match_key_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | asserhttp_test!(fallible_header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header("X-A", "a").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | asserhttp_test!(fallible_header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header("X-A", "a").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | asserhttp_test!(fallible_header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header("X-A", "a").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | asserhttp_test!(fallible_header_should_match_key_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header("X-A", "a").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | asserhttp_test!(fallible_header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("A") }, .try_expect_header("x-a", "A")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_should_fail_because_key_case_sensitive` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | asserhttp_test!(fallible_header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("A") }, .try_expect_header("x-a", "A")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | asserhttp_test!(fallible_header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("A") }, .try_expect_header("x-a", "A")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | asserhttp_test!(fallible_header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("A") }, .try_expect_header("x-a", "A")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | asserhttp_test!(fallible_header_should_fail_because_key_case_sensitive, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("A") }, .try_expect_header("x-a", "A")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | asserhttp_test!(fallible_header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header("x-b", "a")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | asserhttp_test!(fallible_header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header("x-b", "a")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | asserhttp_test!(fallible_header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header("x-b", "a")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | asserhttp_test!(fallible_header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header("x-b", "a")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | asserhttp_test!(fallible_header_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header("x-b", "a")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | asserhttp_test!(fallible_header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_const_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | asserhttp_test!(fallible_header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | asserhttp_test!(fallible_header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | asserhttp_test!(fallible_header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | asserhttp_test!(fallible_header_const_should_fail_when_wrong_key, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header(headers::ACCEPT, "application/json")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | asserhttp_test!(fallible_header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("b") }, .try_expect_header("x-a", "b")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_should_fail_when_wrong_value` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | asserhttp_test!(fallible_header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("b") }, .try_expect_header("x-a", "b")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | asserhttp_test!(fallible_header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("b") }, .try_expect_header("x-a", "b")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | asserhttp_test!(fallible_header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("b") }, .try_expect_header("x-a", "b")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | asserhttp_test!(fallible_header_should_fail_when_wrong_value, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderValueMismatch { key: HeaderKey::from("x-a"), actual: HeaderValue::from("a"), expected: HeaderValue::from("b") }, .try_expect_header("x-a", "b")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | asserhttp_test!(fallible_header_many_should_succeed, "header/many.json", HeaderMany.responses(), .try_expect_header("x-a", "a").unwrap().try_expect_header("x-b", "b").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_many_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | asserhttp_test!(fallible_header_many_should_succeed, "header/many.json", HeaderMany.responses(), .try_expect_header("x-a", "a").unwrap().try_expect_header("x-b", "b").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | asserhttp_test!(fallible_header_many_should_succeed, "header/many.json", HeaderMany.responses(), .try_expect_header("x-a", "a").unwrap().try_expect_header("x-b", "b").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | asserhttp_test!(fallible_header_many_should_succeed, "header/many.json", HeaderMany.responses(), .try_expect_header("x-a", "a").unwrap().try_expect_header("x-b", "b").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | asserhttp_test!(fallible_header_many_should_succeed, "header/many.json", HeaderMany.responses(), .try_expect_header("x-a", "a").unwrap().try_expect_header("x-b", "b").unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | asserhttp_test!(fallible_header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), AsserhttpError::MultivaluedHeader { key: HeaderKey::from("x-m"), values_count: 2, actual_values: HeaderValues::from(["a", "b"]) }, .try_expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_should_fail_when_multivalued` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | asserhttp_test!(fallible_header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), AsserhttpError::MultivaluedHeader { key: HeaderKey::from("x-m"), values_count: 2, actual_values: HeaderValues::from(["a", "b"]) }, .try_expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | asserhttp_test!(fallible_header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), AsserhttpError::MultivaluedHeader { key: HeaderKey::from("x-m"), values_count: 2, actual_values: HeaderValues::from(["a", "b"]) }, .try_expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | asserhttp_test!(fallible_header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), AsserhttpError::MultivaluedHeader { key: HeaderKey::from("x-m"), values_count: 2, actual_values: HeaderValues::from(["a", "b"]) }, .try_expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | asserhttp_test!(fallible_header_should_fail_when_multivalued, "header/multi.json", HeaderMulti.responses(), AsserhttpError::MultivaluedHeader { key: HeaderKey::from("x-m"), values_count: 2, actual_values: HeaderValues::from(["a", "b"]) }, .try_expect_header("x-m", "a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | asserhttp_test!(header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", |h| assert_eq!(h, "a"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_closure_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | asserhttp_test!(header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", |h| assert_eq!(h, "a"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | asserhttp_test!(header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", |h| assert_eq!(h, "a"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | asserhttp_test!(header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", |h| assert_eq!(h, "a"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | asserhttp_test!(header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header("x-a", |h| assert_eq!(h, "a"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | asserhttp_test!(header_closure_should_fail, "header/one.json", HeaderOne.responses(), "", .expect_header("x-a", |h| assert_eq!(h, "b"))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_closure_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | asserhttp_test!(header_closure_should_fail, "header/one.json", HeaderOne.responses(), "", .expect_header("x-a", |h| assert_eq!(h, "b"))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | asserhttp_test!(header_closure_should_fail, "header/one.json", HeaderOne.responses(), "", .expect_header("x-a", |h| assert_eq!(h, "b"))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | asserhttp_test!(header_closure_should_fail, "header/one.json", HeaderOne.responses(), "", .expect_header("x-a", |h| assert_eq!(h, "b"))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | asserhttp_test!(header_closure_should_fail, "header/one.json", HeaderOne.responses(), "", .expect_header("x-a", |h| assert_eq!(h, "b"))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | asserhttp_test!(header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .expect_header("x-w", |h| assert_eq!(h, "a"))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_closure_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | asserhttp_test!(header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .expect_header("x-w", |h| assert_eq!(h, "a"))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | asserhttp_test!(header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .expect_header("x-w", |h| assert_eq!(h, "a"))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | asserhttp_test!(header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .expect_header("x-w", |h| assert_eq!(h, "a"))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | asserhttp_test!(header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .expect_header("x-w", |h| assert_eq!(h, "a"))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | asserhttp_test!(fallible_header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_closure_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | asserhttp_test!(fallible_header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | asserhttp_test!(fallible_header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | asserhttp_test!(fallible_header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | asserhttp_test!(fallible_header_closure_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header("x-a", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | asserhttp_test!(fallible_header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .try_expect_header("x-w", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_closure_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | asserhttp_test!(fallible_header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .try_expect_header("x-w", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | asserhttp_test!(fallible_header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .try_expect_header("x-w", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | asserhttp_test!(fallible_header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .try_expect_header("x-w", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | asserhttp_test!(fallible_header_closure_should_fail_when_wrong_key, "header/one.json", HeaderOne.responses(), "", .try_expect_header("x-w", |h| { assert_eq!(h, "a"); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | asserhttp_test!(header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | asserhttp_test!(header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | asserhttp_test!(header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | asserhttp_test!(header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | asserhttp_test!(header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | asserhttp_test!(header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | asserhttp_test!(header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | asserhttp_test!(header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | asserhttp_test!(header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | asserhttp_test!(header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | asserhttp_test!(header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .expect_headers("X-M", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_match_key_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | asserhttp_test!(header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .expect_headers("X-M", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | asserhttp_test!(header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .expect_headers("X-M", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | asserhttp_test!(header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .expect_headers("X-M", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | asserhttp_test!(header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .expect_headers("X-M", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | asserhttp_test!(header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'x-b' but none found", .expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_fail_when_key_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | asserhttp_test!(header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'x-b' but none found", .expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | asserhttp_test!(header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'x-b' but none found", .expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | asserhttp_test!(header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'x-b' but none found", .expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | asserhttp_test!(header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'x-b' but none found", .expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | asserhttp_test!(header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'cache-control' but none found", .expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_const_should_fail_when_key_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | asserhttp_test!(header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'cache-control' but none found", .expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | asserhttp_test!(header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'cache-control' but none found", .expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | asserhttp_test!(header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'cache-control' but none found", .expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | asserhttp_test!(header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), "expected one header named 'cache-control' but none found", .expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | asserhttp_test!(header_multi_should_fail_when_one_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_fail_when_one_value_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | asserhttp_test!(header_multi_should_fail_when_one_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | asserhttp_test!(header_multi_should_fail_when_one_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | asserhttp_test!(header_multi_should_fail_when_one_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | asserhttp_test!(header_multi_should_fail_when_one_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | asserhttp_test!(header_multi_should_fail_when_one_value_not_eq, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_fail_when_one_value_not_eq` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | asserhttp_test!(header_multi_should_fail_when_one_value_not_eq, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | asserhttp_test!(header_multi_should_fail_when_one_value_not_eq, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | asserhttp_test!(header_multi_should_fail_when_one_value_not_eq, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | asserhttp_test!(header_multi_should_fail_when_one_value_not_eq, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | asserhttp_test!(header_multi_should_fail_because_value_case_sensitive, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"B\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_fail_because_value_case_sensitive` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | asserhttp_test!(header_multi_should_fail_because_value_case_sensitive, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"B\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | asserhttp_test!(header_multi_should_fail_because_value_case_sensitive, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"B\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | asserhttp_test!(header_multi_should_fail_because_value_case_sensitive, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"B\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | asserhttp_test!(header_multi_should_fail_because_value_case_sensitive, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"B\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | asserhttp_test!(header_multi_should_fail_when_one_expected_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"b\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_should_fail_when_one_expected_value_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | asserhttp_test!(header_multi_should_fail_when_one_expected_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"b\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | asserhttp_test!(header_multi_should_fail_when_one_expected_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"b\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | asserhttp_test!(header_multi_should_fail_when_one_expected_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"b\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | asserhttp_test!(header_multi_should_fail_when_one_expected_value_missing, "header/multi.json", HeaderMulti.responses(), "expected header 'x-m' to contain values '[\"a\", \"b\", \"c\"]' but contained '[\"a\", \"b\"]'", .expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | asserhttp_test!(fallible_header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", ["a", "b"]).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | asserhttp_test!(fallible_header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", ["a", "b"]).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | asserhttp_test!(fallible_header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", ["a", "b"]).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | asserhttp_test!(fallible_header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", ["a", "b"]).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | asserhttp_test!(fallible_header_multi_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", ["a", "b"]).unwrap()); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | asserhttp_test!(fallible_header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .try_expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | asserhttp_test!(fallible_header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .try_expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | asserhttp_test!(fallible_header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .try_expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | asserhttp_test!(fallible_header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .try_expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | asserhttp_test!(fallible_header_multi_const_should_succeed, "header/cache-control.json", HeaderCacheControl.responses(), .try_expect_headers(headers::CACHE_CONTROL, ["no-cache", "no-store"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | asserhttp_test!(fallible_header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("X-M", ["a", "b"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_match_key_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | asserhttp_test!(fallible_header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("X-M", ["a", "b"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | asserhttp_test!(fallible_header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("X-M", ["a", "b"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | asserhttp_test!(fallible_header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("X-M", ["a", "b"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | asserhttp_test!(fallible_header_multi_should_match_key_ignoring_case, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("X-M", ["a", "b"]).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | asserhttp_test!(fallible_header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_fail_when_key_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | asserhttp_test!(fallible_header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | asserhttp_test!(fallible_header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | asserhttp_test!(fallible_header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | asserhttp_test!(fallible_header_multi_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_headers("x-b", ["a", "b"])); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | asserhttp_test!(fallible_header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("cache-control") }, .try_expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_const_should_fail_when_key_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | asserhttp_test!(fallible_header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("cache-control") }, .try_expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | asserhttp_test!(fallible_header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("cache-control") }, .try_expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | asserhttp_test!(fallible_header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("cache-control") }, .try_expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | asserhttp_test!(fallible_header_multi_const_should_fail_when_key_missing, "header/multi.json", HeaderMulti.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("cache-control") }, .try_expect_headers(headers::CACHE_CONTROL, ["a", "b"])); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | asserhttp_test!(fallible_header_multi_sh...s::from(["a"]) }, .try_expect_headers("x-m", ["a"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_fail_when_one_value_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | asserhttp_test!(fallible_header_multi_sh...s::from(["a"]) }, .try_expect_headers("x-m", ["a"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | asserhttp_test!(fallible_header_multi_sh...s::from(["a"]) }, .try_expect_headers("x-m", ["a"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | asserhttp_test!(fallible_header_multi_sh...s::from(["a"]) }, .try_expect_headers("x-m", ["a"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | asserhttp_test!(fallible_header_multi_sh...s::from(["a"]) }, .try_expect_headers("x-m", ["a"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | asserhttp_test!(fallible_header_multi_sh...a", "c"]) }, .try_expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_fail_when_one_value_not_eq` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | asserhttp_test!(fallible_header_multi_sh...a", "c"]) }, .try_expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | asserhttp_test!(fallible_header_multi_sh...a", "c"]) }, .try_expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | asserhttp_test!(fallible_header_multi_sh...a", "c"]) }, .try_expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | asserhttp_test!(fallible_header_multi_sh...a", "c"]) }, .try_expect_headers("x-m", ["a", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | asserhttp_test!(fallible_header_multi_sh...a", "B"]) }, .try_expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_fail_because_value_case_sensitive` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | asserhttp_test!(fallible_header_multi_sh...a", "B"]) }, .try_expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | asserhttp_test!(fallible_header_multi_sh...a", "B"]) }, .try_expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | asserhttp_test!(fallible_header_multi_sh...a", "B"]) }, .try_expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | asserhttp_test!(fallible_header_multi_sh...a", "B"]) }, .try_expect_headers("x-m", ["a", "B"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | asserhttp_test!(fallible_header_multi_sh...c"]) }, .try_expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_should_fail_when_one_expected_value_missing` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | asserhttp_test!(fallible_header_multi_sh...c"]) }, .try_expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | asserhttp_test!(fallible_header_multi_sh...c"]) }, .try_expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | asserhttp_test!(fallible_header_multi_sh...c"]) }, .try_expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | asserhttp_test!(fallible_header_multi_sh...c"]) }, .try_expect_headers("x-m", ["a", "b", "c"])); [INFO] [stdout] | ----------------------------------------...---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | asserhttp_test!(header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_closure_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | asserhttp_test!(header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | asserhttp_test!(header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | asserhttp_test!(header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | asserhttp_test!(header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | asserhttp_test!(header_multi_closure_should_fail, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"c")))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_closure_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | asserhttp_test!(header_multi_closure_should_fail, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"c")))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | asserhttp_test!(header_multi_closure_should_fail, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"c")))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | asserhttp_test!(header_multi_closure_should_fail, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"c")))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | asserhttp_test!(header_multi_closure_should_fail, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-m", |h: Vec<&str>| assert!(h.contains(&"c")))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | asserhttp_test!(header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-w", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_multi_closure_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | asserhttp_test!(header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-w", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | asserhttp_test!(header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-w", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | asserhttp_test!(header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-w", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | asserhttp_test!(header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .expect_headers("x-w", |h: Vec<&str>| assert!(h.contains(&"a") && h.contains(&"b")))); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | asserhttp_test!(fallible_header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_closure_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | asserhttp_test!(fallible_header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | asserhttp_test!(fallible_header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | asserhttp_test!(fallible_header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | asserhttp_test!(fallible_header_multi_closure_should_succeed, "header/multi.json", HeaderMulti.responses(), .try_expect_headers("x-m", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | asserhttp_test!(fallible_header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .try_expect_headers("x-w", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_multi_closure_should_fail_when_wrong_key` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | asserhttp_test!(fallible_header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .try_expect_headers("x-w", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | asserhttp_test!(fallible_header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .try_expect_headers("x-w", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | asserhttp_test!(fallible_header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .try_expect_headers("x-w", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | asserhttp_test!(fallible_header_multi_closure_should_fail_when_wrong_key, "header/multi.json", HeaderMulti.responses(), "", .try_expect_headers("x-w", |h: Vec<&str>| { assert!(h.contains(&"a") && h.contains(&"b")); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | asserhttp_test!(header_present_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_present("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_present_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | asserhttp_test!(header_present_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_present("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | asserhttp_test!(header_present_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_present("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | asserhttp_test!(header_present_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_present("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | asserhttp_test!(header_present_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_present("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | asserhttp_test!(header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header_present(headers::CONTENT_TYPE)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_present_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | asserhttp_test!(header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header_present(headers::CONTENT_TYPE)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | asserhttp_test!(header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header_present(headers::CONTENT_TYPE)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | asserhttp_test!(header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header_present(headers::CONTENT_TYPE)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | asserhttp_test!(header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .expect_header_present(headers::CONTENT_TYPE)); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | asserhttp_test!(header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header_present("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_present_should_succeed_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | asserhttp_test!(header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header_present("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | asserhttp_test!(header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header_present("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | asserhttp_test!(header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header_present("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | asserhttp_test!(header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .expect_header_present("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asserhttp_test!(header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header_present("x-b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_present_should_fail_when_absent` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asserhttp_test!(header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header_present("x-b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asserhttp_test!(header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header_present("x-b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asserhttp_test!(header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header_present("x-b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asserhttp_test!(header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), "expected one header named 'x-b' but none found", .expect_header_present("x-b")); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | asserhttp_test!(header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header_present(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_present_const_should_fail_when_absent` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | asserhttp_test!(header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header_present(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | asserhttp_test!(header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header_present(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | asserhttp_test!(header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header_present(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | asserhttp_test!(header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), "expected one header named 'accept' but none found", .expect_header_present(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | asserhttp_test!(fallible_header_present_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_present("x-a").unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_present_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | asserhttp_test!(fallible_header_present_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_present("x-a").unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | asserhttp_test!(fallible_header_present_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_present("x-a").unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | asserhttp_test!(fallible_header_present_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_present("x-a").unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | asserhttp_test!(fallible_header_present_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_present("x-a").unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | asserhttp_test!(fallible_header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header_present(headers::CONTENT_TYPE).unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_present_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | asserhttp_test!(fallible_header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header_present(headers::CONTENT_TYPE).unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | asserhttp_test!(fallible_header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header_present(headers::CONTENT_TYPE).unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | asserhttp_test!(fallible_header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header_present(headers::CONTENT_TYPE).unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | asserhttp_test!(fallible_header_present_const_should_succeed, "header/json.json", HeaderJson.responses(), .try_expect_header_present(headers::CONTENT_TYPE).unwrap()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | asserhttp_test!(fallible_header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header_present("X-A").unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_present_should_succeed_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | asserhttp_test!(fallible_header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header_present("X-A").unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | asserhttp_test!(fallible_header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header_present("X-A").unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | asserhttp_test!(fallible_header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header_present("X-A").unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | asserhttp_test!(fallible_header_present_should_succeed_ignoring_case, "header/one.json", HeaderOne.responses(), .try_expect_header_present("X-A").unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | asserhttp_test!(fallible_header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header_present("x-b")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_present_should_fail_when_absent` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | asserhttp_test!(fallible_header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header_present("x-b")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | asserhttp_test!(fallible_header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header_present("x-b")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | asserhttp_test!(fallible_header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header_present("x-b")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | asserhttp_test!(fallible_header_present_should_fail_when_absent, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("x-b") }, .try_expect_header_present("x-b")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | asserhttp_test!(fallible_header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header_present(headers::ACCEPT)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_present_const_should_fail_when_absent` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | asserhttp_test!(fallible_header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header_present(headers::ACCEPT)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | asserhttp_test!(fallible_header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header_present(headers::ACCEPT)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | asserhttp_test!(fallible_header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header_present(headers::ACCEPT)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | asserhttp_test!(fallible_header_present_const_should_fail_when_absent, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderAbsent { key: HeaderKey::from("accept") }, .try_expect_header_present(headers::ACCEPT)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | asserhttp_test!(header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent("x-b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_absent_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | asserhttp_test!(header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent("x-b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | asserhttp_test!(header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent("x-b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | asserhttp_test!(header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent("x-b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | asserhttp_test!(header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent("x-b")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | asserhttp_test!(header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_absent_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | asserhttp_test!(header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | asserhttp_test!(header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | asserhttp_test!(header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | asserhttp_test!(header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .expect_header_absent(headers::ACCEPT)); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | asserhttp_test!(header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), "expected no header named 'x-a' but one found", .expect_header_absent("x-a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_absent_should_fail_when_present` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | asserhttp_test!(header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), "expected no header named 'x-a' but one found", .expect_header_absent("x-a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | asserhttp_test!(header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), "expected no header named 'x-a' but one found", .expect_header_absent("x-a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | asserhttp_test!(header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), "expected no header named 'x-a' but one found", .expect_header_absent("x-a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | asserhttp_test!(header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), "expected no header named 'x-a' but one found", .expect_header_absent("x-a")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | asserhttp_test!(header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), "expected no header named 'X-A' but one found", .expect_header_absent("X-A")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_absent_should_fail_when_present_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | asserhttp_test!(header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), "expected no header named 'X-A' but one found", .expect_header_absent("X-A")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | asserhttp_test!(header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), "expected no header named 'X-A' but one found", .expect_header_absent("X-A")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | asserhttp_test!(header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), "expected no header named 'X-A' but one found", .expect_header_absent("X-A")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | asserhttp_test!(header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), "expected no header named 'X-A' but one found", .expect_header_absent("X-A")); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | asserhttp_test!(header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), "expected no header named 'content-type' but one found", .expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_absent_const_should_fail_when_present` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | asserhttp_test!(header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), "expected no header named 'content-type' but one found", .expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | asserhttp_test!(header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), "expected no header named 'content-type' but one found", .expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | asserhttp_test!(header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), "expected no header named 'content-type' but one found", .expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | asserhttp_test!(header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), "expected no header named 'content-type' but one found", .expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | asserhttp_test!(fallible_header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent("x-b").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_absent_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | asserhttp_test!(fallible_header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent("x-b").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | asserhttp_test!(fallible_header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent("x-b").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | asserhttp_test!(fallible_header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent("x-b").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | asserhttp_test!(fallible_header_absent_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent("x-b").unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | asserhttp_test!(fallible_header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent(headers::ACCEPT).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_absent_const_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | asserhttp_test!(fallible_header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent(headers::ACCEPT).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | asserhttp_test!(fallible_header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent(headers::ACCEPT).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | asserhttp_test!(fallible_header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent(headers::ACCEPT).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | asserhttp_test!(fallible_header_absent_const_should_succeed, "header/one.json", HeaderOne.responses(), .try_expect_header_absent(headers::ACCEPT).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | asserhttp_test!(fallible_header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("x-a") }, .try_expect_header_absent("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_absent_should_fail_when_present` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | asserhttp_test!(fallible_header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("x-a") }, .try_expect_header_absent("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | asserhttp_test!(fallible_header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("x-a") }, .try_expect_header_absent("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | asserhttp_test!(fallible_header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("x-a") }, .try_expect_header_absent("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | asserhttp_test!(fallible_header_absent_should_fail_when_present, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("x-a") }, .try_expect_header_absent("x-a")); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | asserhttp_test!(fallible_header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("X-A") }, .try_expect_header_absent("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_absent_should_fail_when_present_ignoring_case` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | asserhttp_test!(fallible_header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("X-A") }, .try_expect_header_absent("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | asserhttp_test!(fallible_header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("X-A") }, .try_expect_header_absent("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | asserhttp_test!(fallible_header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("X-A") }, .try_expect_header_absent("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | asserhttp_test!(fallible_header_absent_should_fail_when_present_ignoring_case, "header/one.json", HeaderOne.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("X-A") }, .try_expect_header_absent("X-A")); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | asserhttp_test!(fallible_header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("content-type") }, .try_expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_header_absent_const_should_fail_when_present` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | asserhttp_test!(fallible_header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("content-type") }, .try_expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | asserhttp_test!(fallible_header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("content-type") }, .try_expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | asserhttp_test!(fallible_header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("content-type") }, .try_expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | $(assert_eq!(app.oneshot(req).await$( .$meth($($arg),*) )+.unwrap_err(), $error);)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | asserhttp_test!(fallible_header_absent_const_should_fail_when_present, "header/json.json", HeaderJson.responses(), AsserhttpError::HeaderPresent { key: HeaderKey::from("content-type") }, .try_expect_header_absent(headers::CONTENT_TYPE)); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | asserhttp_test!(header_content_type_json_should_succeed, "header/json.json", HeaderJson.responses(), .expect_content_type_json()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_content_type_json_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | asserhttp_test!(header_content_type_json_should_succeed, "header/json.json", HeaderJson.responses(), .expect_content_type_json()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | asserhttp_test!(header_content_type_json_should_succeed, "header/json.json", HeaderJson.responses(), .expect_content_type_json()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | asserhttp_test!(header_content_type_json_should_succeed, "header/json.json", HeaderJson.responses(), .expect_content_type_json()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | asserhttp_test!(header_content_type_json_should_succeed, "header/json.json", HeaderJson.responses(), .expect_content_type_json()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | asserhttp_test!(header_content_type_json_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'application/json' but was 'application/xml'", .expect_content_type_json()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_content_type_json_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | asserhttp_test!(header_content_type_json_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'application/json' but was 'application/xml'", .expect_content_type_json()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | asserhttp_test!(header_content_type_json_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'application/json' but was 'application/xml'", .expect_content_type_json()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | asserhttp_test!(header_content_type_json_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'application/json' but was 'application/xml'", .expect_content_type_json()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | asserhttp_test!(header_content_type_json_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'application/json' but was 'application/xml'", .expect_content_type_json()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | asserhttp_test!(header_content_type_text_should_succeed, "header/text.json", HeaderText.responses(), .expect_content_type_text()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_content_type_text_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | asserhttp_test!(header_content_type_text_should_succeed, "header/text.json", HeaderText.responses(), .expect_content_type_text()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | asserhttp_test!(header_content_type_text_should_succeed, "header/text.json", HeaderText.responses(), .expect_content_type_text()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | asserhttp_test!(header_content_type_text_should_succeed, "header/text.json", HeaderText.responses(), .expect_content_type_text()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | asserhttp_test!(header_content_type_text_should_succeed, "header/text.json", HeaderText.responses(), .expect_content_type_text()); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | asserhttp_test!(header_content_type_text_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'text/plain' but was 'application/xml'", .expect_content_type_text()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_header_content_type_text_should_fail` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | asserhttp_test!(header_content_type_text_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'text/plain' but was 'application/xml'", .expect_content_type_text()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | asserhttp_test!(header_content_type_text_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'text/plain' but was 'application/xml'", .expect_content_type_text()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | asserhttp_test!(header_content_type_text_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'text/plain' but was 'application/xml'", .expect_content_type_text()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | asserhttp_test!(header_content_type_text_should_fail, "header/xml.json", HeaderXml.responses(), "expected header 'content-type' to be equal to 'text/plain' but was 'application/xml'", .expect_content_type_text()); [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | asserhttp_test!(expect_header_first_should_not_be_destructive, "full.json", Full.responses(), .expect_content_type_json().expect_status_ok().expect_body_json_eq(json!({"a": "b"}))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_expect_header_first_should_not_be_destructive` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | asserhttp_test!(expect_header_first_should_not_be_destructive, "full.json", Full.responses(), .expect_content_type_json().expect_status_ok().expect_body_json_eq(json!({"a": "b"}))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | asserhttp_test!(expect_header_first_should_not_be_destructive, "full.json", Full.responses(), .expect_content_type_json().expect_status_ok().expect_body_json_eq(json!({"a": "b"}))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | asserhttp_test!(expect_header_first_should_not_be_destructive, "full.json", Full.responses(), .expect_content_type_json().expect_status_ok().expect_body_json_eq(json!({"a": "b"}))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | asserhttp_test!(expect_header_first_should_not_be_destructive, "full.json", Full.responses(), .expect_content_type_json().expect_status_ok().expect_body_json_eq(json!({"a": "b"}))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | asserhttp_test!(body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "b"})))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_body_json_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | asserhttp_test!(body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "b"})))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | asserhttp_test!(body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "b"})))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | asserhttp_test!(body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "b"})))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | asserhttp_test!(body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "b"})))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | asserhttp_test!(body_json_struct_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: TestBody| assert_eq!(b, TestBody { a: String::from("b") }))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_body_json_struct_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | asserhttp_test!(body_json_struct_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: TestBody| assert_eq!(b, TestBody { a: String::from("b") }))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | asserhttp_test!(body_json_struct_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: TestBody| assert_eq!(b, TestBody { a: String::from("b") }))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | asserhttp_test!(body_json_struct_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: TestBody| assert_eq!(b, TestBody { a: String::from("b") }))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | asserhttp_test!(body_json_struct_should_succeed, "body/json/value.json", BodyJson.responses(), .expect_body_json(|b: TestBody| assert_eq!(b, TestBody { a: String::from("b") }))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | asserhttp_test!(body_json_should_fail_when_closure_fails, "body/json/value.json", BodyJson.responses(), "", .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "c"})))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_body_json_should_fail_when_closure_fails` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | asserhttp_test!(body_json_should_fail_when_closure_fails, "body/json/value.json", BodyJson.responses(), "", .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "c"})))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | asserhttp_test!(body_json_should_fail_when_closure_fails, "body/json/value.json", BodyJson.responses(), "", .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "c"})))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | asserhttp_test!(body_json_should_fail_when_closure_fails, "body/json/value.json", BodyJson.responses(), "", .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "c"})))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | asserhttp_test!(body_json_should_fail_when_closure_fails, "body/json/value.json", BodyJson.responses(), "", .expect_body_json(|b: Value| assert_eq!(b, json!({"a": "c"})))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | asserhttp_test!(fallible_body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .try_expect_body_json(|b: Value| { assert_eq!(b, json!({"a": "b"})); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_body_json_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | asserhttp_test!(fallible_body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .try_expect_body_json(|b: Value| { assert_eq!(b, json!({"a": "b"})); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | asserhttp_test!(fallible_body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .try_expect_body_json(|b: Value| { assert_eq!(b, json!({"a": "b"})); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | asserhttp_test!(fallible_body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .try_expect_body_json(|b: Value| { assert_eq!(b, json!({"a": "b"})); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/axum_test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | $(app.oneshot(req).await$( .$meth($($arg),*) )+;)+ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | asserhttp_test!(fallible_body_json_should_succeed, "body/json/value.json", BodyJson.responses(), .try_expect_body_json(|b: Value| { assert_eq!(b, json!({"a": "b"})); Ok(()) }).unwrap()); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::axum_test` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/rocket_test.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/all.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | asserhttp_test!(fallible_body_json_struct_should_succeed, "body/json/value.json", BodyJson.responses(), .try_expect_body_json(|b: TestBody| { assert_eq!(b, TestBody { a: String::from("b") }); Ok(()) }).unwrap()); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `rocket_blocking_fallible_body_json_struct_should_succeed` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` which comes from the expansion of the macro `asserhttp_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [WARN] too many lines in the log, truncating it