[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] checking megametres/recipe-book against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megametres/recipe-book on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded okapi v0.4.0 [INFO] [stderr] Downloaded rocket_okapi_codegen v0.5.1 [INFO] [stderr] Downloaded rocket_okapi v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de5da6eca257ac2c3aac889583d7ee839eeee70927f8f304cbd6d84d9a46c44f [INFO] running `Command { std: "docker" "start" "-a" "de5da6eca257ac2c3aac889583d7ee839eeee70927f8f304cbd6d84d9a46c44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de5da6eca257ac2c3aac889583d7ee839eeee70927f8f304cbd6d84d9a46c44f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5da6eca257ac2c3aac889583d7ee839eeee70927f8f304cbd6d84d9a46c44f", kill_on_drop: false }` [INFO] [stdout] de5da6eca257ac2c3aac889583d7ee839eeee70927f8f304cbd6d84d9a46c44f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b876392ce2484f4055bc0a36b2c3703068eaeddc755f2c2745465df7db0f6dd1 [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" "b876392ce2484f4055bc0a36b2c3703068eaeddc755f2c2745465df7db0f6dd1", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [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 memchr v2.4.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [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 indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.29 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking futures-util v0.3.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [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 devise_codegen v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling rocket_okapi_codegen v0.5.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking okapi v0.4.0 [INFO] [stderr] Checking rocket_contrib v0.4.10 [INFO] [stderr] Checking rocket_cors v0.5.2 [INFO] [stderr] Checking rocket_okapi v0.5.1 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking 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: 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] warning: 7 warnings emitted [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" "b876392ce2484f4055bc0a36b2c3703068eaeddc755f2c2745465df7db0f6dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b876392ce2484f4055bc0a36b2c3703068eaeddc755f2c2745465df7db0f6dd1", kill_on_drop: false }` [INFO] [stdout] b876392ce2484f4055bc0a36b2c3703068eaeddc755f2c2745465df7db0f6dd1