[INFO] fetching crate starfish-api 0.1.1... [INFO] testing starfish-api-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate starfish-api 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate starfish-api 0.1.1 [INFO] finished tweaking crates.io crate starfish-api 0.1.1 [INFO] tweaked toml for crates.io crate starfish-api 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate starfish-api 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 390 packages to latest compatible versions [INFO] [stderr] Adding pretty_assertions v0.7.2 (available: v1.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded starfish-core v0.1.1 [INFO] [stderr] Downloaded sea-schema-derive v0.1.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded sea-orm-rocket-codegen v0.5.5 [INFO] [stderr] Downloaded sea-orm-macros v0.6.0 [INFO] [stderr] Downloaded sea-orm-rocket v0.5.5 [INFO] [stderr] Downloaded ouroboros_macro v0.14.2 [INFO] [stderr] Downloaded crc-catalog v1.1.1 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded ouroboros v0.14.2 [INFO] [stderr] Downloaded sea-query v0.21.0 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded sea-orm v0.6.0 [INFO] [stderr] Downloaded sea-schema v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291d9645e0f3431e4b24c94a8db723f9177c6f12ba8fcfa6e4a5fbb558dc9598 [INFO] running `Command { std: "docker" "start" "-a" "291d9645e0f3431e4b24c94a8db723f9177c6f12ba8fcfa6e4a5fbb558dc9598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291d9645e0f3431e4b24c94a8db723f9177c6f12ba8fcfa6e4a5fbb558dc9598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291d9645e0f3431e4b24c94a8db723f9177c6f12ba8fcfa6e4a5fbb558dc9598", kill_on_drop: false }` [INFO] [stdout] 291d9645e0f3431e4b24c94a8db723f9177c6f12ba8fcfa6e4a5fbb558dc9598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d857b8f0afb90bd76c18c562b2505502053f0ccb8e7be5adb032c6ebd6cc744 [INFO] running `Command { std: "docker" "start" "-a" "7d857b8f0afb90bd76c18c562b2505502053f0ccb8e7be5adb032c6ebd6cc744", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling ouroboros_macro v0.14.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling ouroboros v0.14.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling sea-query v0.21.0 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling sea-orm-macros v0.6.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling sea-schema-derive v0.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling sea-orm v0.6.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling sea-orm-rocket-codegen v0.5.5 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling sea-schema v0.5.1 [INFO] [stderr] Compiling starfish-core v0.1.1 [INFO] [stderr] Compiling sea-orm-rocket v0.5.5 [INFO] [stderr] Compiling starfish-api v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/core.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | Schema::define_schema(db, schema_json) [INFO] [stdout] | --------------------- ^^^^^^^^^^^ expected `SchemaJson`, found `Json` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SchemaJson` [INFO] [stdout] found struct `rocket::serde::json::Json` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/starfish-core-0.1.1/src/schema/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn define_schema(db: &DbConn, schema_json: SchemaJson) -> Result<(), DbErr> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/core.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | Mutate::mutate(db, mutate_json, upsert) [INFO] [stdout] | -------------- ^^^^^^^^^^^ expected `MutateJson`, found `Json` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `MutateJson` [INFO] [stdout] found struct `rocket::serde::json::Json` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/starfish-core-0.1.1/src/mutate/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn mutate(db: &DbConn, mutate_json: MutateJson, upsert: bool) -> Result<(), DbErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handler/core.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | Query::query(db, query_json).await.map_err(Into::into)?, [INFO] [stdout] | ------------ ^^^^^^^^^^ expected `QueryJson`, found `Json` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `QueryJson` [INFO] [stdout] found struct `rocket::serde::json::Json` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/starfish-core-0.1.1/src/query/mod.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn query(db: &DbConn, query_json: QueryJson) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `starfish-api` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7d857b8f0afb90bd76c18c562b2505502053f0ccb8e7be5adb032c6ebd6cc744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d857b8f0afb90bd76c18c562b2505502053f0ccb8e7be5adb032c6ebd6cc744", kill_on_drop: false }` [INFO] [stdout] 7d857b8f0afb90bd76c18c562b2505502053f0ccb8e7be5adb032c6ebd6cc744