[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megametres/recipe-book on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-70/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a8aef90e0ae11893a1373db0055f1a1d2a6c54c6c981586f6601e22a41eb0c2 [INFO] running `Command { std: "docker" "start" "-a" "2a8aef90e0ae11893a1373db0055f1a1d2a6c54c6c981586f6601e22a41eb0c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a8aef90e0ae11893a1373db0055f1a1d2a6c54c6c981586f6601e22a41eb0c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8aef90e0ae11893a1373db0055f1a1d2a6c54c6c981586f6601e22a41eb0c2", kill_on_drop: false }` [INFO] [stdout] 2a8aef90e0ae11893a1373db0055f1a1d2a6c54c6c981586f6601e22a41eb0c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 968836cb27eb60b83eac2fcd40148d542d627ac5e6cc37cad45d73cf14cf65f8 [INFO] running `Command { std: "docker" "start" "-a" "968836cb27eb60b83eac2fcd40148d542d627ac5e6cc37cad45d73cf14cf65f8", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify v0.7.1 [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 walkdir v2.3.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.8 [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 rand v0.8.4 [INFO] [stderr] Compiling mime v0.2.6 [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 ghash v0.3.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling darling_core v0.10.2 [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 serde_derive v1.0.130 [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] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling rocket_okapi_codegen v0.5.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.71 [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.6 [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 1m 45s [INFO] running `Command { std: "docker" "inspect" "968836cb27eb60b83eac2fcd40148d542d627ac5e6cc37cad45d73cf14cf65f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968836cb27eb60b83eac2fcd40148d542d627ac5e6cc37cad45d73cf14cf65f8", kill_on_drop: false }` [INFO] [stdout] 968836cb27eb60b83eac2fcd40148d542d627ac5e6cc37cad45d73cf14cf65f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e11467fe30f3fa248ba4fddf9e6929a9b6cc8734fc0e0081338c1085a06752 [INFO] running `Command { std: "docker" "start" "-a" "23e11467fe30f3fa248ba4fddf9e6929a9b6cc8734fc0e0081338c1085a06752", 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" "23e11467fe30f3fa248ba4fddf9e6929a9b6cc8734fc0e0081338c1085a06752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e11467fe30f3fa248ba4fddf9e6929a9b6cc8734fc0e0081338c1085a06752", kill_on_drop: false }` [INFO] [stdout] 23e11467fe30f3fa248ba4fddf9e6929a9b6cc8734fc0e0081338c1085a06752