[INFO] cloning repository https://github.com/juanobligado/rust-rest-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juanobligado/rust-rest-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanobligado%2Frust-rest-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanobligado%2Frust-rest-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33a58efcecf0e2657ad6513e00b60136ee4f2e17 [INFO] testing juanobligado/rust-rest-api against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanobligado%2Frust-rest-api" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juanobligado/rust-rest-api on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juanobligado/rust-rest-api [INFO] finished tweaking git repo https://github.com/juanobligado/rust-rest-api [INFO] tweaked toml for git repo https://github.com/juanobligado/rust-rest-api written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/juanobligado/rust-rest-api 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4228e729f7effa274e874f53ef02219460be5f39ccdfcea9a68349cde96d825 [INFO] running `Command { std: "docker" "start" "-a" "b4228e729f7effa274e874f53ef02219460be5f39ccdfcea9a68349cde96d825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4228e729f7effa274e874f53ef02219460be5f39ccdfcea9a68349cde96d825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4228e729f7effa274e874f53ef02219460be5f39ccdfcea9a68349cde96d825", kill_on_drop: false }` [INFO] [stdout] b4228e729f7effa274e874f53ef02219460be5f39ccdfcea9a68349cde96d825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b73364d064e87e29fe5394b310e2b92bc352531fe2ed9a96317cf500470547a9 [INFO] running `Command { std: "docker" "start" "-a" "b73364d064e87e29fe5394b310e2b92bc352531fe2ed9a96317cf500470547a9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.21 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling diesel v2.1.6 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling deadpool-redis v0.12.0 [INFO] [stderr] Compiling diesel-async v0.4.1 [INFO] [stderr] Compiling rocket_db_pools v0.1.0 [INFO] [stderr] Compiling backend_crate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serialize` [INFO] [stdout] --> src/models.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::{AsExpression, sql_types::Text, FromSqlRow, deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Output` [INFO] [stdout] --> src/models.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::serialize::{Output, ToSql}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::serialize::ToSql` [INFO] [stdout] --> src/repositories.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::serialize::ToSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/rocket_routes/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::serde::json::{json, Json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NewRustacean` and `Rustacean` [INFO] [stdout] --> src/rocket_routes/crates.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Crate, NewCrate, NewRustacean, Rustacean, User}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/crates.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::repositories::{CrateRepository, RustaceanRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::log::private::error` [INFO] [stdout] --> src/rocket_routes/crates.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::log::private::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/rocket_routes/crates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_db_pools::Database` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket_db_pools::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash` and `PasswordVerifier` [INFO] [stdout] --> src/rocket_routes/authorization.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{PasswordHash, PasswordVerifier}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::join` [INFO] [stdout] --> src/rocket_routes/authorization.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_role` [INFO] [stdout] --> src/repositories.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let user_role = diesel::insert_into(users_roles::table) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_role` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rocket_routes/authorization.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rocket_routes/mod.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct EditorUser(User); [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::body::HttpBody` [INFO] [stdout] --> src/bin/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::hyper::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "b73364d064e87e29fe5394b310e2b92bc352531fe2ed9a96317cf500470547a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73364d064e87e29fe5394b310e2b92bc352531fe2ed9a96317cf500470547a9", kill_on_drop: false }` [INFO] [stdout] b73364d064e87e29fe5394b310e2b92bc352531fe2ed9a96317cf500470547a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7282927ef278128f08e0bf191478005dfb55a9dec086007c5caaf1dab707740f [INFO] running `Command { std: "docker" "start" "-a" "7282927ef278128f08e0bf191478005dfb55a9dec086007c5caaf1dab707740f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rocket_db_pools v0.1.0 [INFO] [stderr] Compiling backend_crate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serialize` [INFO] [stdout] --> src/models.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::{AsExpression, sql_types::Text, FromSqlRow, deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Output` [INFO] [stdout] --> src/models.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::serialize::{Output, ToSql}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::serialize::ToSql` [INFO] [stdout] --> src/repositories.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::serialize::ToSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/rocket_routes/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::serde::json::{json, Json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NewRustacean` and `Rustacean` [INFO] [stdout] --> src/rocket_routes/crates.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Crate, NewCrate, NewRustacean, Rustacean, User}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/crates.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::repositories::{CrateRepository, RustaceanRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::log::private::error` [INFO] [stdout] --> src/rocket_routes/crates.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::log::private::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/rocket_routes/crates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_db_pools::Database` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket_db_pools::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash` and `PasswordVerifier` [INFO] [stdout] --> src/rocket_routes/authorization.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{PasswordHash, PasswordVerifier}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::join` [INFO] [stdout] --> src/rocket_routes/authorization.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_role` [INFO] [stdout] --> src/repositories.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let user_role = diesel::insert_into(users_roles::table) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_role` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rocket_routes/authorization.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serialize` [INFO] [stdout] --> src/models.rs:5:70 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::{AsExpression, sql_types::Text, FromSqlRow, deserialize, serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Output` [INFO] [stdout] --> src/models.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::serialize::{Output, ToSql}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::serialize::ToSql` [INFO] [stdout] --> src/repositories.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::serialize::ToSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/rocket_routes/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::serde::json::{json, Json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NewRustacean` and `Rustacean` [INFO] [stdout] --> src/rocket_routes/crates.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Crate, NewCrate, NewRustacean, Rustacean, User}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RustaceanRepository` [INFO] [stdout] --> src/rocket_routes/crates.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::repositories::{CrateRepository, RustaceanRepository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::log::private::error` [INFO] [stdout] --> src/rocket_routes/crates.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::log::private::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/rocket_routes/crates.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_db_pools::Database` [INFO] [stdout] --> src/rocket_routes/rustaceans.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rocket_db_pools::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash` and `PasswordVerifier` [INFO] [stdout] --> src/rocket_routes/authorization.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{PasswordHash, PasswordVerifier}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::join` [INFO] [stdout] --> src/rocket_routes/authorization.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rocket_routes/mod.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct EditorUser(User); [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_role` [INFO] [stdout] --> src/repositories.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let user_role = diesel::insert_into(users_roles::table) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_role` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rocket_routes/authorization.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | .map_err(|e| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::body::HttpBody` [INFO] [stdout] --> src/bin/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::hyper::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::hyper::body::HttpBody` [INFO] [stdout] --> src/bin/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::hyper::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rocket_routes/mod.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct EditorUser(User); [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcrdhPpu/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libreqwest-24d45e93fa351eb0.rlib,librustls_pemfile-5b3b4ed33f2f120c.rlib,libhyper_tls-8c31ce65ee0fd277.rlib,libbase64-13144a1f1e192158.rlib,libipnet-cbebc2fcde2716e2.rlib,libtokio_native_tls-eb9e3afffaf4c484.rlib,libserde_urlencoded-6e31462b97dc87b5.rlib,libmime-0188e0814ca7ddbf.rlib,libencoding_rs-ca79e330d79b9da1.rlib,libserde_json-c76549f94e0c33a7.rlib,libryu-a980823ac8640001.rlib,libnative_tls-5cacab4204f95657.rlib,libopenssl_probe-5821ed5bfde807ff.rlib,libopenssl-057d5bf679ddcadf.rlib,libbitflags-c95e5b195a86a9bf.rlib,libforeign_types-ce5d663d7c32e748.rlib,libforeign_types_shared-47b443a4583fd949.rlib,libcfg_if-3e7fc4e38d4a72b5.rlib,libopenssl_sys-cbbef2bb62834a49.rlib,libhyper-97ed1c9b84a6567a.rlib,libwant-0b31e25494497eb5.rlib,libtry_lock-8fa2f6971035be84.rlib,libhttparse-7c80f4fbf7df4089.rlib,libh2-b3e25c3310893e5e.rlib,libindexmap-c4e431216f03fdb1.rlib,libequivalent-487f93f8f6ab5e5b.rlib,libhashbrown-7535884dad52ee2f.rlib,libserde-7a1c2afb64ddf554.rlib,libtokio_util-43e34d8417c2ddbd.rlib,libtower_service-3fb88d28c2218805.rlib,libtracing-6f440e4b9df914ed.rlib,libtracing_core-b916b3518d5055ef.rlib,libonce_cell-a1d7742f74efe1da.rlib,libhttpdate-331798cefc82cc7e.rlib,libtokio-d44d6a71bcb64b3a.rlib,libsignal_hook_registry-e41db061aeb7ebe9.rlib,libsocket2-7529cd8dde055b90.rlib,libmio-4b042ff4f0ce0e5a.rlib,liblibc-faefa127492a8260.rlib,libsync_wrapper-b5d3a794a1e9deea.rlib,libhttp_body-9845d545333fc1a2.rlib,liblog-368e05ac2c0115e3.rlib,libfutures_util-ebbcb4c1121d6e92.rlib,libmemchr-08f38e9718637002.rlib,libfutures_io-15f510aebc68962e.rlib,libslab-b2d771989aa109c6.rlib,libfutures_channel-c5a37d957ff72faa.rlib,libpin_project_lite-e591be24d8b8b3c6.rlib,libfutures_sink-bfbbbc7bce12d32f.rlib,libfutures_task-7735bb2404c6e6f3.rlib,libpin_utils-3860774ad9b215b5.rlib,libfutures_core-451bff7c303527ba.rlib,liburl-7aecfe955335da99.rlib,libidna-b53eff120ec6fb02.rlib,libunicode_normalization-d67675934b132d4f.rlib,libtinyvec-7aa3319fb171c386.rlib,libtinyvec_macros-7b77ea21c73594ca.rlib,libunicode_bidi-2593632bda154282.rlib,libform_urlencoded-35907277f0683ea4.rlib,libpercent_encoding-af9df9186596bd92.rlib,libhttp-c994153ea1becb8d.rlib,libitoa-20e94f961f8d160c.rlib,libbytes-97cefb27b52cd468.rlib,libfnv-79e2cbfbe03dcd16.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcrdhPpu/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustaceans-3d1aec7538ac3f79" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backend_crate` (test "rustaceans") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7282927ef278128f08e0bf191478005dfb55a9dec086007c5caaf1dab707740f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7282927ef278128f08e0bf191478005dfb55a9dec086007c5caaf1dab707740f", kill_on_drop: false }` [INFO] [stdout] 7282927ef278128f08e0bf191478005dfb55a9dec086007c5caaf1dab707740f