[INFO] cloning repository https://github.com/EiJhonatan/ferrj_stock-Alfa-
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EiJhonatan/ferrj_stock-Alfa-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEiJhonatan%2Fferrj_stock-Alfa-", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEiJhonatan%2Fferrj_stock-Alfa-'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86adca1907c6f7cd89f0dff13d0213d73ae01b89
[INFO] testing EiJhonatan/ferrj_stock-Alfa- against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEiJhonatan%2Fferrj_stock-Alfa-" "/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/EiJhonatan/ferrj_stock-Alfa-
[INFO] finished tweaking git repo https://github.com/EiJhonatan/ferrj_stock-Alfa-
[INFO] tweaked toml for git repo https://github.com/EiJhonatan/ferrj_stock-Alfa- written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EiJhonatan/ferrj_stock-Alfa- on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EiJhonatan/ferrj_stock-Alfa- 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rsa v0.9.7
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c6f1b7d27ef579d14607f04cf369ce47f2a89986dae227f1e6463db82b00c29
[INFO] running `Command { std: "docker" "start" "-a" "4c6f1b7d27ef579d14607f04cf369ce47f2a89986dae227f1e6463db82b00c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c6f1b7d27ef579d14607f04cf369ce47f2a89986dae227f1e6463db82b00c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c6f1b7d27ef579d14607f04cf369ce47f2a89986dae227f1e6463db82b00c29", kill_on_drop: false }`
[INFO] [stdout] 4c6f1b7d27ef579d14607f04cf369ce47f2a89986dae227f1e6463db82b00c29
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6865f27c2d51936c60d36312e7f8215afc63b344649129fe72ab847d6269fcf0
[INFO] running `Command { std: "docker" "start" "-a" "6865f27c2d51936c60d36312e7f8215afc63b344649129fe72ab847d6269fcf0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.26.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling rsa v0.9.7
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling ferrj_stock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/db/adicionar.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | /     sqlx::query!(
[INFO] [stdout] 48 | |         "INSERT INTO materiais (codigo, descricao, quantidade) VALUES (?, ?, ?)",
[INFO] [stdout] 49 | |         codigo,
[INFO] [stdout] 50 | |         descricao,
[INFO] [stdout] 51 | |         quantidade
[INFO] [stdout] 52 | |     )
[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/db/consultar.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let row = sqlx::query!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 24 | |         "SELECT codigo, descricao, quantidade FROM materiais WHERE codigo = ?",
[INFO] [stdout] 25 | |         codigo
[INFO] [stdout] 26 | |     )
[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/db/atualizar.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |       let row = sqlx::query!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 27 | |         "SELECT codigo, descricao, quantidade FROM materiais WHERE codigo = ?",
[INFO] [stdout] 28 | |         codigo
[INFO] [stdout] 29 | |     )
[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/db/atualizar.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | /             sqlx::query!(
[INFO] [stdout] 66 | |                 "UPDATE materiais SET descricao = ?, quantidade = ? WHERE codigo = ?",
[INFO] [stdout] 67 | |                 descricao,
[INFO] [stdout] 68 | |                 quantidade_str,
[INFO] [stdout] 69 | |                 codigo
[INFO] [stdout] 70 | |             )
[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/db/deletar.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     sqlx::query!("DELETE FROM materiais WHERE codigo = ?", codigo)
[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] warning: unused import: `crossterm::terminal`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crossterm::terminal;
[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: `MySql`
[INFO] [stdout]   --> src/main.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sqlx::{mysql::MySqlPool, MySql};
[INFO] [stdout]    |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ferrj_stock` (bin "ferrj_stock") due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6865f27c2d51936c60d36312e7f8215afc63b344649129fe72ab847d6269fcf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6865f27c2d51936c60d36312e7f8215afc63b344649129fe72ab847d6269fcf0", kill_on_drop: false }`
[INFO] [stdout] 6865f27c2d51936c60d36312e7f8215afc63b344649129fe72ab847d6269fcf0
