[INFO] cloning repository https://github.com/DanCardin/homebrew [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanCardin/homebrew" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanCardin%2Fhomebrew", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanCardin%2Fhomebrew'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ba978e00e8d9155ec32b1962a5c3eba8f23a603 [INFO] checking DanCardin/homebrew against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanCardin%2Fhomebrew" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanCardin/homebrew on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanCardin/homebrew [INFO] finished tweaking git repo https://github.com/DanCardin/homebrew [INFO] tweaked toml for git repo https://github.com/DanCardin/homebrew written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/DanCardin/homebrew already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8263c89267f9c33c96f4e02ea35a4a269ecb2fc71f8a44baf8f55d2623e7ceb2 [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" "8263c89267f9c33c96f4e02ea35a4a269ecb2fc71f8a44baf8f55d2623e7ceb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8263c89267f9c33c96f4e02ea35a4a269ecb2fc71f8a44baf8f55d2623e7ceb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8263c89267f9c33c96f4e02ea35a4a269ecb2fc71f8a44baf8f55d2623e7ceb2", kill_on_drop: false }` [INFO] [stdout] 8263c89267f9c33c96f4e02ea35a4a269ecb2fc71f8a44baf8f55d2623e7ceb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] e51d5422ea77479796af23151ed047d7354a1854ea04d67fefc1ced8d4591d6a [INFO] running `Command { std: "docker" "start" "-a" "e51d5422ea77479796af23151ed047d7354a1854ea04d67fefc1ced8d4591d6a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking futures-sink v0.3.6 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling time v0.2.18 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking listenfd v0.3.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Compiling atoi v0.3.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-native-tls v0.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling sqlx-rt v0.1.1 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking bigdecimal v0.2.0 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking tracing-subscriber v0.2.12 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.0.2 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking actix-multipart v0.3.0 [INFO] [stderr] Checking tracing-actix-web v0.2.1 [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [INFO] [stderr] Checking homebrew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to find data for query d5fc58c16e9604234eb58d51719c98d8bd7296cb7045915971c7903f2cec0faa at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let beer = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 43 | | DbBatchFermentable, [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | INSERT INTO batch_fermentable (batch_id) VALUES ($1) [INFO] [stdout] ... | [INFO] [stdout] 48 | | input.batch_id, [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query 16ea902e873a5e409c525f400a2d8599a4cb077f73c9c569771d5b40655ca687 at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | sqlx::query!("DELETE FROM batch_fermentable WHERE id = $1", input.id,) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: failed to find data for query 96da1b1c064368364a322b98b55afae26b70c25191521c2cd7453340ffa47c5a at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | let db_ingredients = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 70 | | DbBatchFermentable, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT id, batch_id, fermentable_id, amount, time FROM batch_fermentable [INFO] [stdout] ... | [INFO] [stdout] 76 | | input.batch_id, [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query d5fc58c16e9604234eb58d51719c98d8bd7296cb7045915971c7903f2cec0faa at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let beer = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 43 | | DbBatchFermentable, [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | INSERT INTO batch_fermentable (batch_id) VALUES ($1) [INFO] [stdout] ... | [INFO] [stdout] 48 | | input.batch_id, [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query 2c28a289b64d36a3b3e7656bae2ba0f5346e878ac5997fac7b98aafa47677484 at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | let ingredient = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 88 | | DbBatchFermentable, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | UPDATE batch_fermentable [INFO] [stdout] ... | [INFO] [stdout] 97 | | sqlx::types::BigDecimal::from(input.amount), [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query 16ea902e873a5e409c525f400a2d8599a4cb077f73c9c569771d5b40655ca687 at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | sqlx::query!("DELETE FROM batch_fermentable WHERE id = $1", input.id,) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: failed to find data for query 96da1b1c064368364a322b98b55afae26b70c25191521c2cd7453340ffa47c5a at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | let db_ingredients = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 70 | | DbBatchFermentable, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT id, batch_id, fermentable_id, amount, time FROM batch_fermentable [INFO] [stdout] ... | [INFO] [stdout] 76 | | input.batch_id, [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query 2c28a289b64d36a3b3e7656bae2ba0f5346e878ac5997fac7b98aafa47677484 at line 607 column 1 [INFO] [stdout] --> src/server/repos/batch_fermentable.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | let ingredient = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 88 | | DbBatchFermentable, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | UPDATE batch_fermentable [INFO] [stdout] ... | [INFO] [stdout] 97 | | sqlx::types::BigDecimal::from(input.amount), [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query fe7b66d5b79f35d8109ff6ba589318fff701c999561ab024123a2e392bcfc784 at line 607 column 1 [INFO] [stdout] --> src/server/repos/fermentable.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | r#" [INFO] [stdout] 102 | | INSERT INTO fermentable (name, country, category, kind, color, ppg) [INFO] [stdout] 103 | | VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 116 | | &ppgs [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query fe7b66d5b79f35d8109ff6ba589318fff701c999561ab024123a2e392bcfc784 at line 607 column 1 [INFO] [stdout] --> src/server/repos/fermentable.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | r#" [INFO] [stdout] 102 | | INSERT INTO fermentable (name, country, category, kind, color, ppg) [INFO] [stdout] 103 | | VALUES ( [INFO] [stdout] ... | [INFO] [stdout] 116 | | &ppgs [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query 1126f4e21df897798e90d1fe6bb8493f3a8d345d0c87ee51324c57f476c55982 at line 607 column 1 [INFO] [stdout] --> src/server/repos/fermentable.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 160 | | DbFermentable, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | SELECT id, name, country, category, kind, color, ppg [INFO] [stdout] ... | [INFO] [stdout] 174 | | &ids, [INFO] [stdout] 175 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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: failed to find data for query 1126f4e21df897798e90d1fe6bb8493f3a8d345d0c87ee51324c57f476c55982 at line 607 column 1 [INFO] [stdout] --> src/server/repos/fermentable.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 160 | | DbFermentable, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | SELECT id, name, country, category, kind, color, ppg [INFO] [stdout] ... | [INFO] [stdout] 174 | | &ids, [INFO] [stdout] 175 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | sqlx::types::BigDecimal::from(new.ppg) [INFO] [stdout] | ^^^^ expected `i32`, found struct `BigDecimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | sqlx::types::BigDecimal::from(new.ppg) [INFO] [stdout] | ^^^^ expected `i32`, found struct `BigDecimal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | DbFermentable, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | INSERT INTO fermentable (name, country, category, kind, color, ppg) [INFO] [stdout] ... | [INFO] [stdout] 57 | | sqlx::types::BigDecimal::from(new.ppg) [INFO] [stdout] 58 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | help: try using a variant of the expected enum: `config::_::_serde::export::Some($crate::sqlx_macros::expand_query!(record = $out_struct, source = $query, args = [$($args)*]))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `std::string::String` [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | DbFermentable, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | INSERT INTO fermentable (name, country, category, kind, color, ppg) [INFO] [stdout] ... | [INFO] [stdout] 57 | | sqlx::types::BigDecimal::from(new.ppg) [INFO] [stdout] 58 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | help: try using a variant of the expected enum: `config::_::_serde::export::Some($crate::sqlx_macros::expand_query!(record = $out_struct, source = $query, args = [$($args)*]))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `std::string::String` [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | DbFermentable, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | INSERT INTO fermentable (name, country, category, kind, color, ppg) [INFO] [stdout] ... | [INFO] [stdout] 57 | | sqlx::types::BigDecimal::from(new.ppg) [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ expected struct `BigDecimal`, found `i32` [INFO] [stdout] | [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let row = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 46 | | DbFermentable, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | INSERT INTO fermentable (name, country, category, kind, color, ppg) [INFO] [stdout] ... | [INFO] [stdout] 57 | | sqlx::types::BigDecimal::from(new.ppg) [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ expected struct `BigDecimal`, found `i32` [INFO] [stdout] | [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 142 | | DbFermentable, [INFO] [stdout] 143 | | "SELECT id, name, country, category, kind, color, ppg FROM fermentable", [INFO] [stdout] 144 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | help: try using a variant of the expected enum: `config::_::_serde::export::Some($crate::sqlx_macros::expand_query!(record = $out_struct, source = $query, args = [$($args)*]))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `std::string::String` [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 142 | | DbFermentable, [INFO] [stdout] 143 | | "SELECT id, name, country, category, kind, color, ppg FROM fermentable", [INFO] [stdout] 144 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | help: try using a variant of the expected enum: `config::_::_serde::export::Some($crate::sqlx_macros::expand_query!(record = $out_struct, source = $query, args = [$($args)*]))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `std::string::String` [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 142 | | DbFermentable, [INFO] [stdout] 143 | | "SELECT id, name, country, category, kind, color, ppg FROM fermentable", [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________^ expected struct `BigDecimal`, found `i32` [INFO] [stdout] | [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[E0308]: mismatched types [INFO] [stdout] --> src/server/repos/fermentable.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | let rows = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 142 | | DbFermentable, [INFO] [stdout] 143 | | "SELECT id, name, country, category, kind, color, ppg FROM fermentable", [INFO] [stdout] 144 | | ) [INFO] [stdout] | |_________^ expected struct `BigDecimal`, found `i32` [INFO] [stdout] | [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `homebrew` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e51d5422ea77479796af23151ed047d7354a1854ea04d67fefc1ced8d4591d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51d5422ea77479796af23151ed047d7354a1854ea04d67fefc1ced8d4591d6a", kill_on_drop: false }` [INFO] [stdout] e51d5422ea77479796af23151ed047d7354a1854ea04d67fefc1ced8d4591d6a