[INFO] cloning repository https://github.com/PauloDoMonte/API-Ecommerce-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PauloDoMonte/API-Ecommerce-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauloDoMonte%2FAPI-Ecommerce-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauloDoMonte%2FAPI-Ecommerce-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a84bd0a84065ef6d89942e92a730067a216c44a [INFO] checking PauloDoMonte/API-Ecommerce-in-Rust/2a84bd0a84065ef6d89942e92a730067a216c44a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPauloDoMonte%2FAPI-Ecommerce-in-Rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PauloDoMonte/API-Ecommerce-in-Rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PauloDoMonte/API-Ecommerce-in-Rust [INFO] finished tweaking git repo https://github.com/PauloDoMonte/API-Ecommerce-in-Rust [INFO] tweaked toml for git repo https://github.com/PauloDoMonte/API-Ecommerce-in-Rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PauloDoMonte/API-Ecommerce-in-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded pest v2.7.12 [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded diesel_derives v1.4.1 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded pest_meta v2.7.12 [INFO] [stderr] Downloaded dsl_auto_type v0.1.2 [INFO] [stderr] Downloaded diesel_derives v2.2.3 [INFO] [stderr] Downloaded cc v1.1.19 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded pest_derive v2.7.12 [INFO] [stderr] Downloaded pest_generator v2.7.12 [INFO] [stderr] Downloaded diesel v1.4.8 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded diesel v2.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48f4f76fc264cfa4490cb8cfe8a20b0a3ff9494b75d8570120ed2e622ee1c4ce [INFO] running `Command { std: "docker" "start" "-a" "48f4f76fc264cfa4490cb8cfe8a20b0a3ff9494b75d8570120ed2e622ee1c4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48f4f76fc264cfa4490cb8cfe8a20b0a3ff9494b75d8570120ed2e622ee1c4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f4f76fc264cfa4490cb8cfe8a20b0a3ff9494b75d8570120ed2e622ee1c4ce", kill_on_drop: false }` [INFO] [stdout] 48f4f76fc264cfa4490cb8cfe8a20b0a3ff9494b75d8570120ed2e622ee1c4ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca01455a83e06868f3377772f50ffedc22de13a8d7b3ca8616ee28e65aa0d1b [INFO] running `Command { std: "docker" "start" "-a" "0ca01455a83e06868f3377772f50ffedc22de13a8d7b3ca8616ee28e65aa0d1b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.12 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.7.12 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling pest_generator v2.7.12 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling pest_derive v2.7.12 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking diesel v2.2.4 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking migrations_internals v2.2.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Checking diesel_migrations v2.2.0 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking testando v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NewCustomer` [INFO] [stdout] --> src/routes/users.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::customer_management::customer::{Customer, NewCustomer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/order_management/order.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewCustomer` [INFO] [stdout] --> src/routes/users.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::customer_management::customer::{Customer, NewCustomer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/order_management/order.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `transaction::TransactionStatus` [INFO] [stdout] --> src/models/payment_management/transaction.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(transaction.status, TransactionStatus::Pending); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | transaction::TransactionStatus [INFO] [stdout] | transaction::TransactionStatus [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `transaction::TransactionStatus` [INFO] [stdout] --> src/models/payment_management/transaction.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `transaction::TransactionStatus` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(PartialEq)] [INFO] [stdout] 17 | pub enum TransactionStatus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `transaction::TransactionStatus` [INFO] [stdout] --> src/models/payment_management/transaction.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(transaction.status, TransactionStatus::Completed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | transaction::TransactionStatus [INFO] [stdout] | transaction::TransactionStatus [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `transaction::TransactionStatus` [INFO] [stdout] --> src/models/payment_management/transaction.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `transaction::TransactionStatus` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 16 + #[derive(PartialEq)] [INFO] [stdout] 17 | pub enum TransactionStatus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `tracking::TrackingStatus` [INFO] [stdout] --> src/models/shipping_management/tracking.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(tracking.status, TrackingStatus::InTransit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | tracking::TrackingStatus [INFO] [stdout] | tracking::TrackingStatus [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `tracking::TrackingStatus` [INFO] [stdout] --> src/models/shipping_management/tracking.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum TrackingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `tracking::TrackingStatus` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 14 + #[derive(PartialEq)] [INFO] [stdout] 15 | pub enum TrackingStatus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testando` (bin "testando" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ca01455a83e06868f3377772f50ffedc22de13a8d7b3ca8616ee28e65aa0d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca01455a83e06868f3377772f50ffedc22de13a8d7b3ca8616ee28e65aa0d1b", kill_on_drop: false }` [INFO] [stdout] 0ca01455a83e06868f3377772f50ffedc22de13a8d7b3ca8616ee28e65aa0d1b