[INFO] cloning repository https://github.com/KillianGascon/HappytoBeesbackend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KillianGascon/HappytoBeesbackend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillianGascon%2FHappytoBeesbackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillianGascon%2FHappytoBeesbackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0162a3de955deb8fdba8398dd4d90c1cfb9010a [INFO] checking KillianGascon/HappytoBeesbackend against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillianGascon%2FHappytoBeesbackend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KillianGascon/HappytoBeesbackend [INFO] finished tweaking git repo https://github.com/KillianGascon/HappytoBeesbackend [INFO] tweaked toml for git repo https://github.com/KillianGascon/HappytoBeesbackend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KillianGascon/HappytoBeesbackend on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KillianGascon/HappytoBeesbackend 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3252934eef568f9fdb605efda375d68185d1597712583f65b84c936d97d9dc60 [INFO] running `Command { std: "docker" "start" "-a" "3252934eef568f9fdb605efda375d68185d1597712583f65b84c936d97d9dc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3252934eef568f9fdb605efda375d68185d1597712583f65b84c936d97d9dc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3252934eef568f9fdb605efda375d68185d1597712583f65b84c936d97d9dc60", kill_on_drop: false }` [INFO] [stdout] 3252934eef568f9fdb605efda375d68185d1597712583f65b84c936d97d9dc60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1da408d8e854ff7faf26706fef07ed657bd4085f4f0529b2c82185afa186f13f [INFO] running `Command { std: "docker" "start" "-a" "1da408d8e854ff7faf26706fef07ed657bd4085f4f0529b2c82185afa186f13f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking brotli-decompressor v4.0.3 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling pq-sys v0.7.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking jiff v0.2.8 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling diesel-derive-enum v2.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling diesel_derives v2.2.4 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking diesel v2.2.9 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking HappytoBeesbackend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `sum` is ambiguous [INFO] [stdout] --> src/services/production_service.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | use diesel::dsl::sum; [INFO] [stdout] | ^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `sum` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.9/src/lib.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | pub use crate::helper_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sum` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.9/src/lib.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | pub use crate::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse` and `get` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, get, App, HttpResponse, HttpServer, middleware::Logger}; [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: `Pool as DieselPool` [INFO] [stdout] --> src/db.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::r2d2::{ConnectionManager, Pool as DieselPool, PoolError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utilisateur` [INFO] [stdout] --> src/controllers/utilisateur_controller.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::utilisateur_models::{Utilisateur, NewUtilisateur, UpdateUtilisateur, LoginCredentials}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Production` [INFO] [stdout] --> src/controllers/production_controller.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::production_models::{Production, NewProduction, UpdateProduction}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Poids` [INFO] [stdout] --> src/controllers/poids_controller.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::poids_models::{NewPoids, Poids, UpdatePoids}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Materiel` [INFO] [stdout] --> src/controllers/materiel_controller.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::materiel_models::{Materiel, NewMateriel, UpdateMateriel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/controllers/materiel_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/controllers/materiel_controller.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/models/ruche_models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `sum` is ambiguous [INFO] [stdout] --> src/services/production_service.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | use diesel::dsl::sum; [INFO] [stdout] | ^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `sum` could refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.9/src/lib.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | pub use crate::helper_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sum` could also refer to the type alias defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.9/src/lib.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | pub use crate::expression::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse` and `get` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, get, App, HttpResponse, HttpServer, middleware::Logger}; [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: `Pool as DieselPool` [INFO] [stdout] --> src/db.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::r2d2::{ConnectionManager, Pool as DieselPool, PoolError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utilisateur` [INFO] [stdout] --> src/controllers/utilisateur_controller.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::utilisateur_models::{Utilisateur, NewUtilisateur, UpdateUtilisateur, LoginCredentials}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Production` [INFO] [stdout] --> src/controllers/production_controller.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::production_models::{Production, NewProduction, UpdateProduction}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Poids` [INFO] [stdout] --> src/controllers/poids_controller.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::poids_models::{NewPoids, Poids, UpdatePoids}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Materiel` [INFO] [stdout] --> src/controllers/materiel_controller.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::materiel_models::{Materiel, NewMateriel, UpdateMateriel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/controllers/materiel_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/controllers/materiel_controller.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/models/ruche_models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `HappytoBeesbackend` (bin "HappytoBeesbackend") due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `HappytoBeesbackend` (bin "HappytoBeesbackend" test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1da408d8e854ff7faf26706fef07ed657bd4085f4f0529b2c82185afa186f13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da408d8e854ff7faf26706fef07ed657bd4085f4f0529b2c82185afa186f13f", kill_on_drop: false }` [INFO] [stdout] 1da408d8e854ff7faf26706fef07ed657bd4085f4f0529b2c82185afa186f13f