[INFO] cloning repository https://github.com/peddi10/RUST-FINAL-PROJECT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peddi10/RUST-FINAL-PROJECT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeddi10%2FRUST-FINAL-PROJECT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeddi10%2FRUST-FINAL-PROJECT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db6f796612d1eea8907888e58faae59acb945bf0 [INFO] checking peddi10/RUST-FINAL-PROJECT/db6f796612d1eea8907888e58faae59acb945bf0 against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeddi10%2FRUST-FINAL-PROJECT" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peddi10/RUST-FINAL-PROJECT [INFO] finished tweaking git repo https://github.com/peddi10/RUST-FINAL-PROJECT [INFO] tweaked toml for git repo https://github.com/peddi10/RUST-FINAL-PROJECT written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peddi10/RUST-FINAL-PROJECT on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peddi10/RUST-FINAL-PROJECT 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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/pola-rs/polars` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6681d4a1a3761651b15f5345a85239ce9b6a014d7e191d3582f1335ffdf4e33 [INFO] running `Command { std: "docker" "start" "-a" "c6681d4a1a3761651b15f5345a85239ce9b6a014d7e191d3582f1335ffdf4e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6681d4a1a3761651b15f5345a85239ce9b6a014d7e191d3582f1335ffdf4e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6681d4a1a3761651b15f5345a85239ce9b6a014d7e191d3582f1335ffdf4e33", kill_on_drop: false }` [INFO] [stdout] c6681d4a1a3761651b15f5345a85239ce9b6a014d7e191d3582f1335ffdf4e33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4103e76fd249290b11059db83d74ce7c680afafe6119bd84afec8e0d0f7d5e30 [INFO] running `Command { std: "docker" "start" "-a" "4103e76fd249290b11059db83d74ce7c680afafe6119bd84afec8e0d0f7d5e30", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.102 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling polars-utils v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking raw-cpuid v11.0.2 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling polars-arrow v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling polars-compute v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling polars-core v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling polars-ops v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling polars-plan v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling polars-lazy v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling polars v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking parquet-format-safe v0.2.4 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling rust_decimal_macros v1.34.2 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking prettytable v0.10.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking polars-error v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking polars-row v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking polars-parquet v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking polars-time v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking polars-io v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking polars-expr v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking polars-mem-engine v0.41.2 (https://github.com/pola-rs/polars#26f84cfc) [INFO] [stderr] Checking wine_quality_pipeline v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/storage.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | ... let result = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 101 | | ... r#" [INFO] [stdout] 102 | | ... INSERT INTO wine_quality (fixed_acidity, volatile_acidity, citric_acid, residual_sugar, chlorides, free_sulfur_dioxide, total_s... [INFO] [stdout] 103 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) [INFO] [stdout] ... | [INFO] [stdout] 116 | | ... quality [INFO] [stdout] 117 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/storage.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | ... let result = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 101 | | ... r#" [INFO] [stdout] 102 | | ... INSERT INTO wine_quality (fixed_acidity, volatile_acidity, citric_acid, residual_sugar, chlorides, free_sulfur_dioxide, total_s... [INFO] [stdout] 103 | | ... VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) [INFO] [stdout] ... | [INFO] [stdout] 116 | | ... quality [INFO] [stdout] 117 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fixed_acidity_f64` in this scope [INFO] [stdout] --> src/storage.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | let fixed_acidity_bd = BigDecimal::from_str(&fixed_acidity_f64.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fixed_acidity_f64` in this scope [INFO] [stdout] --> src/storage.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | let fixed_acidity_bd = BigDecimal::from_str(&fixed_acidity_f64.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/transformation.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | let fixed_acidity_col = cleaned_df.unwrap().column("fixed acidity").unwrap().f64().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 148 | assert!(fixed_acidity_col.null_count() == 0); [INFO] [stdout] | ----------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 147 ~ let binding = cleaned_df.unwrap(); [INFO] [stdout] 148 ~ let fixed_acidity_col = binding.column("fixed acidity").unwrap().f64().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wine_quality_pipeline` (bin "wine_quality_pipeline") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wine_quality_pipeline` (bin "wine_quality_pipeline" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4103e76fd249290b11059db83d74ce7c680afafe6119bd84afec8e0d0f7d5e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4103e76fd249290b11059db83d74ce7c680afafe6119bd84afec8e0d0f7d5e30", kill_on_drop: false }` [INFO] [stdout] 4103e76fd249290b11059db83d74ce7c680afafe6119bd84afec8e0d0f7d5e30