[INFO] cloning repository https://github.com/jongyunha/building-web-api-with-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jongyunha/building-web-api-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjongyunha%2Fbuilding-web-api-with-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjongyunha%2Fbuilding-web-api-with-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 497827a87afc535a5cda71c182bb228aa95d0c43 [INFO] checking jongyunha/building-web-api-with-rust against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjongyunha%2Fbuilding-web-api-with-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jongyunha/building-web-api-with-rust [INFO] finished tweaking git repo https://github.com/jongyunha/building-web-api-with-rust [INFO] tweaked toml for git repo https://github.com/jongyunha/building-web-api-with-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jongyunha/building-web-api-with-rust on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jongyunha/building-web-api-with-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded postgres-types v0.2.7 [INFO] [stderr] Downloaded scoped-futures v0.1.3 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Downloaded rocket_db_pools v0.1.0 [INFO] [stderr] Downloaded bytemuck v1.17.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.11 [INFO] [stderr] Downloaded libc v0.2.156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 747c5655be8a16f5cf0576b6a9214685cc3d53ace645a27054765d1b7868644a [INFO] running `Command { std: "docker" "start" "-a" "747c5655be8a16f5cf0576b6a9214685cc3d53ace645a27054765d1b7868644a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "747c5655be8a16f5cf0576b6a9214685cc3d53ace645a27054765d1b7868644a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747c5655be8a16f5cf0576b6a9214685cc3d53ace645a27054765d1b7868644a", kill_on_drop: false }` [INFO] [stdout] 747c5655be8a16f5cf0576b6a9214685cc3d53ace645a27054765d1b7868644a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f929ca8d9581b8a0069dbfe0f4a5b338d032a5bd8a93fa5f6be1bf08886cc94 [INFO] running `Command { std: "docker" "start" "-a" "3f929ca8d9581b8a0069dbfe0f4a5b338d032a5bd8a93fa5f6be1bf08886cc94", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking scoped-futures v0.1.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking diesel-async v0.4.1 [INFO] [stderr] Checking rocket_db_pools v0.1.0 [INFO] [stderr] Checking advance-web-for-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `NewRustacean` and `Rustacean` [INFO] [stdout] --> src/routes/crates.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Crate, NewCrate, NewRustacean, Rustacean}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RustaceanRepository` [INFO] [stdout] --> src/routes/crates.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::repositories::{CrateRepository, RustaceanRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NewRustacean` and `Rustacean` [INFO] [stdout] --> src/routes/crates.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::{Crate, NewCrate, NewRustacean, Rustacean}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RustaceanRepository` [INFO] [stdout] --> src/routes/crates.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::repositories::{CrateRepository, RustaceanRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `model::NewCrate: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/routes/crates.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | request: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `model::NewCrate` [INFO] [stdout] --> src/model.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NewCrate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `model::NewCrate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a RawStr [INFO] [stdout] &'a UncasedStr [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a rocket::form::name::Key [INFO] [stdout] &'a rocket::form::name::Name [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] and 189 others [INFO] [stdout] = note: required for `rocket::serde::json::Json` to implement `FromData<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `model::Crate: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/routes/crates.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | request: Json, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `model::Crate` [INFO] [stdout] --> src/model.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Crate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `model::Crate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a RawStr [INFO] [stdout] &'a UncasedStr [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a rocket::form::name::Key [INFO] [stdout] &'a rocket::form::name::Name [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] and 189 others [INFO] [stdout] = note: required for `rocket::serde::json::Json` to implement `FromData<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `model::NewCrate: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/routes/crates.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | request: Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `model::NewCrate` [INFO] [stdout] --> src/model.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct NewCrate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `model::NewCrate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a RawStr [INFO] [stdout] &'a UncasedStr [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a rocket::form::name::Key [INFO] [stdout] &'a rocket::form::name::Name [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] and 189 others [INFO] [stdout] = note: required for `rocket::serde::json::Json` to implement `FromData<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `model::Crate: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/routes/crates.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | request: Json, [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `model::Crate` [INFO] [stdout] --> src/model.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Crate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `model::Crate` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a RawStr [INFO] [stdout] &'a UncasedStr [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a rocket::form::name::Key [INFO] [stdout] &'a rocket::form::name::Name [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] and 189 others [INFO] [stdout] = note: required for `rocket::serde::json::Json` to implement `FromData<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advance-web-for-rust` (bin "advance-web-for-rust") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advance-web-for-rust` (bin "advance-web-for-rust" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3f929ca8d9581b8a0069dbfe0f4a5b338d032a5bd8a93fa5f6be1bf08886cc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f929ca8d9581b8a0069dbfe0f4a5b338d032a5bd8a93fa5f6be1bf08886cc94", kill_on_drop: false }` [INFO] [stdout] 3f929ca8d9581b8a0069dbfe0f4a5b338d032a5bd8a93fa5f6be1bf08886cc94