[INFO] cloning repository https://github.com/megametres/recipe-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/megametres/recipe-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af95eb8ed1ce1bc2c1cd6b9a3f6ad6694060d42e [INFO] testing megametres/recipe-book against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megametres/recipe-book on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/megametres/recipe-book [INFO] finished tweaking git repo https://github.com/megametres/recipe-book [INFO] tweaked toml for git repo https://github.com/megametres/recipe-book written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faa133ff3725edb8423747f65a4441356d1e0408cb258147ae5d6cb88f0caa83 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "faa133ff3725edb8423747f65a4441356d1e0408cb258147ae5d6cb88f0caa83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faa133ff3725edb8423747f65a4441356d1e0408cb258147ae5d6cb88f0caa83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa133ff3725edb8423747f65a4441356d1e0408cb258147ae5d6cb88f0caa83", kill_on_drop: false }` [INFO] [stdout] faa133ff3725edb8423747f65a4441356d1e0408cb258147ae5d6cb88f0caa83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 995f759aa4a83c6d1b4153083fec2a625415d5c2b1cfaba32afa1ae7fa10f76e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "995f759aa4a83c6d1b4153083fec2a625415d5c2b1cfaba32afa1ae7fa10f76e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling rocket_okapi_codegen v0.5.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling okapi v0.4.0 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling rocket_cors v0.5.2 [INFO] [stderr] Compiling rocket_okapi v0.5.1 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling recipes_api v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> src/database/models/model_recipe.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | let queried_ingredient = load_recipe_table!( [INFO] [stdout] | ______________________________- [INFO] [stdout] 135 | | connection, [INFO] [stdout] 136 | | &queried_recipe, [INFO] [stdout] 137 | | RecipeIngredient, [INFO] [stdout] ... | [INFO] [stdout] 141 | | ingredient::id [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | let queried_keyword = load_recipe_table!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 145 | | connection, [INFO] [stdout] 146 | | &queried_recipe, [INFO] [stdout] 147 | | RecipeKeyword, [INFO] [stdout] ... | [INFO] [stdout] 151 | | keyword::id [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | let queried_how_to_section = load_recipe_table!( [INFO] [stdout] | __________________________________- [INFO] [stdout] 155 | | connection, [INFO] [stdout] 156 | | &queried_recipe, [INFO] [stdout] 157 | | RecipeHowToSection, [INFO] [stdout] ... | [INFO] [stdout] 161 | | how_to_section::id [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | let queried_recipe_how_to_section = load_recipe_table!( [INFO] [stdout] | _________________________________________- [INFO] [stdout] 165 | | connection, [INFO] [stdout] 166 | | &queried_recipe, [INFO] [stdout] 167 | | RecipeHowToSection, [INFO] [stdout] ... | [INFO] [stdout] 171 | | recipe_how_to_section::id [INFO] [stdout] 172 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 177 | let queried_how_to_step = load_recipe_table!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 178 | | connection, [INFO] [stdout] 179 | | queried_recipe_how_to_section.get(i).unwrap(), [INFO] [stdout] 180 | | RecipeHowToStep, [INFO] [stdout] ... | [INFO] [stdout] 184 | | how_to_step::id [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Cors, CorsOptions, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 46s [INFO] running `Command { std: "docker" "inspect" "995f759aa4a83c6d1b4153083fec2a625415d5c2b1cfaba32afa1ae7fa10f76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995f759aa4a83c6d1b4153083fec2a625415d5c2b1cfaba32afa1ae7fa10f76e", kill_on_drop: false }` [INFO] [stdout] 995f759aa4a83c6d1b4153083fec2a625415d5c2b1cfaba32afa1ae7fa10f76e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f9c3bf7af58e631fdd11348c3a63b8429b6bd7c95808dc844382cf00a1c2164 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f9c3bf7af58e631fdd11348c3a63b8429b6bd7c95808dc844382cf00a1c2164", kill_on_drop: false }` [INFO] [stderr] Compiling recipes_api v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> src/database/models/model_recipe.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/database/recipe_helper/image_converter.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | let queried_ingredient = load_recipe_table!( [INFO] [stdout] | ______________________________- [INFO] [stdout] 135 | | connection, [INFO] [stdout] 136 | | &queried_recipe, [INFO] [stdout] 137 | | RecipeIngredient, [INFO] [stdout] ... | [INFO] [stdout] 141 | | ingredient::id [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 144 | let queried_keyword = load_recipe_table!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 145 | | connection, [INFO] [stdout] 146 | | &queried_recipe, [INFO] [stdout] 147 | | RecipeKeyword, [INFO] [stdout] ... | [INFO] [stdout] 151 | | keyword::id [INFO] [stdout] 152 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | let queried_how_to_section = load_recipe_table!( [INFO] [stdout] | __________________________________- [INFO] [stdout] 155 | | connection, [INFO] [stdout] 156 | | &queried_recipe, [INFO] [stdout] 157 | | RecipeHowToSection, [INFO] [stdout] ... | [INFO] [stdout] 161 | | how_to_section::id [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | let queried_recipe_how_to_section = load_recipe_table!( [INFO] [stdout] | _________________________________________- [INFO] [stdout] 165 | | connection, [INFO] [stdout] 166 | | &queried_recipe, [INFO] [stdout] 167 | | RecipeHowToSection, [INFO] [stdout] ... | [INFO] [stdout] 171 | | recipe_how_to_section::id [INFO] [stdout] 172 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/database/recipe_helper/mod.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 177 | let queried_how_to_step = load_recipe_table!( [INFO] [stdout] | ___________________________________- [INFO] [stdout] 178 | | connection, [INFO] [stdout] 179 | | queried_recipe_how_to_section.get(i).unwrap(), [INFO] [stdout] 180 | | RecipeHowToStep, [INFO] [stdout] ... | [INFO] [stdout] 184 | | how_to_step::id [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `load_recipe_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:21:70 [INFO] [stdout] | [INFO] [stdout] 21 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Cors, CorsOptions, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/database/recipe_helper/mod.rs:669:9 [INFO] [stdout] | [INFO] [stdout] 669 | assert_eq!(test_recipe_a.json_ld, result.get(0).unwrap().json_ld); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&str>` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `recipes_api` due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f9c3bf7af58e631fdd11348c3a63b8429b6bd7c95808dc844382cf00a1c2164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9c3bf7af58e631fdd11348c3a63b8429b6bd7c95808dc844382cf00a1c2164", kill_on_drop: false }` [INFO] [stdout] 9f9c3bf7af58e631fdd11348c3a63b8429b6bd7c95808dc844382cf00a1c2164