[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] testing megametres/recipe-book against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmegametres%2Frecipe-book" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/megametres/recipe-book on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_codegen v0.4.10 [INFO] [stderr] Downloaded rocket_contrib v0.4.10 [INFO] [stderr] Downloaded rocket_okapi_codegen v0.5.1 [INFO] [stderr] Downloaded rocket_cors v0.5.2 [INFO] [stderr] Downloaded okapi v0.4.0 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded rocket_okapi v0.5.1 [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded rocket v0.4.10 [INFO] [stderr] Downloaded rocket_http v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c8c9549feb0355058836cbffff0014f9d1ad645573fae850f2f3445645ed771 [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" "4c8c9549feb0355058836cbffff0014f9d1ad645573fae850f2f3445645ed771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c8c9549feb0355058836cbffff0014f9d1ad645573fae850f2f3445645ed771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8c9549feb0355058836cbffff0014f9d1ad645573fae850f2f3445645ed771", kill_on_drop: false }` [INFO] [stdout] 4c8c9549feb0355058836cbffff0014f9d1ad645573fae850f2f3445645ed771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4775311f8ee31b6fe79039967c3de68c967bc4978c0c4967f0371b1a857b0c87 [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" "4775311f8ee31b6fe79039967c3de68c967bc4978c0c4967f0371b1a857b0c87", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand v0.8.3 [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.5 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling notify v4.0.17 [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.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [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 v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling rocket_okapi_codegen v0.5.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling unicase_serde v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling okapi v0.4.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [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: `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "4775311f8ee31b6fe79039967c3de68c967bc4978c0c4967f0371b1a857b0c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4775311f8ee31b6fe79039967c3de68c967bc4978c0c4967f0371b1a857b0c87", kill_on_drop: false }` [INFO] [stdout] 4775311f8ee31b6fe79039967c3de68c967bc4978c0c4967f0371b1a857b0c87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--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] c57a83bde17357320f519e3e26a698a35b5e0bac606495b23bd7870475c09d01 [INFO] running `Command { std: "docker" "start" "-a" "c57a83bde17357320f519e3e26a698a35b5e0bac606495b23bd7870475c09d01", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling recipes_api v0.0.1 (/opt/rustwide/workdir) [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] 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; 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" "c57a83bde17357320f519e3e26a698a35b5e0bac606495b23bd7870475c09d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57a83bde17357320f519e3e26a698a35b5e0bac606495b23bd7870475c09d01", kill_on_drop: false }` [INFO] [stdout] c57a83bde17357320f519e3e26a698a35b5e0bac606495b23bd7870475c09d01