[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] 1e95479ba6fc604ae3b37651b25c3a6dbc032d63 [INFO] checking megametres/recipe-book against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megametres/recipe-book on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c94623b798f26b64b7366f257ed89ddb032c9dc1b1f0a143a444a5b8387c49d [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" "0c94623b798f26b64b7366f257ed89ddb032c9dc1b1f0a143a444a5b8387c49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c94623b798f26b64b7366f257ed89ddb032c9dc1b1f0a143a444a5b8387c49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c94623b798f26b64b7366f257ed89ddb032c9dc1b1f0a143a444a5b8387c49d", kill_on_drop: false }` [INFO] [stdout] 0c94623b798f26b64b7366f257ed89ddb032c9dc1b1f0a143a444a5b8387c49d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6b1639789f4826cfe28629bbbeedf86130cdfe1348df8cae61ce90b22230fd31 [INFO] running `Command { std: "docker" "start" "-a" "6b1639789f4826cfe28629bbbeedf86130cdfe1348df8cae61ce90b22230fd31", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [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 httparse v1.4.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.16 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling schemars_derive v0.7.6 [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] Checking rocket_http v0.4.7 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Compiling rocket_okapi_codegen v0.5.1 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking serde_json v1.0.64 [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 hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking okapi v0.4.0 [INFO] [stderr] Checking rocket_contrib v0.4.7 [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: `Error` [INFO] [stdout] --> src/main.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 20 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Cors, CorsOptions, Error}; [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:20:70 [INFO] [stdout] | [INFO] [stdout] 20 | use rocket_cors::{AllowedHeaders, AllowedOrigins, Cors, CorsOptions, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6b1639789f4826cfe28629bbbeedf86130cdfe1348df8cae61ce90b22230fd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1639789f4826cfe28629bbbeedf86130cdfe1348df8cae61ce90b22230fd31", kill_on_drop: false }` [INFO] [stdout] 6b1639789f4826cfe28629bbbeedf86130cdfe1348df8cae61ce90b22230fd31