[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-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanobligado%2Frust-rest-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juanobligado/rust-rest-api on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "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-5-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-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff2f5beb81824323c26d4482519c165d02366947bad53119e576c38eb98c82d2 [INFO] running `Command { std: "docker" "start" "-a" "ff2f5beb81824323c26d4482519c165d02366947bad53119e576c38eb98c82d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff2f5beb81824323c26d4482519c165d02366947bad53119e576c38eb98c82d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff2f5beb81824323c26d4482519c165d02366947bad53119e576c38eb98c82d2", kill_on_drop: false }` [INFO] [stdout] ff2f5beb81824323c26d4482519c165d02366947bad53119e576c38eb98c82d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ccabf2a37d78cc4264ceeb21a7a36f173f7b1f84dd3a84a4cb3520941a7b4f8 [INFO] running `Command { std: "docker" "start" "-a" "7ccabf2a37d78cc4264ceeb21a7a36f173f7b1f84dd3a84a4cb3520941a7b4f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [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 cfg-if v1.0.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 pin-utils v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling clap v4.5.18 [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 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 diesel_derives v2.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [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 devise v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [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 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 deadpool v0.9.5 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.21 [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 49s [INFO] running `Command { std: "docker" "inspect" "7ccabf2a37d78cc4264ceeb21a7a36f173f7b1f84dd3a84a4cb3520941a7b4f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ccabf2a37d78cc4264ceeb21a7a36f173f7b1f84dd3a84a4cb3520941a7b4f8", kill_on_drop: false }` [INFO] [stdout] 7ccabf2a37d78cc4264ceeb21a7a36f173f7b1f84dd3a84a4cb3520941a7b4f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af38b771c6321612e98e6646f7c17d836746148d9af77aa8072d799f76af9783 [INFO] running `Command { std: "docker" "start" "-a" "af38b771c6321612e98e6646f7c17d836746148d9af77aa8072d799f76af9783", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [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 openssl-probe v0.1.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.1.21 [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/rustclyPnyF/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libbackend_crate-ba52165fe8cd602b.rlib,libargon2-317f31e0bd3cb38f.rlib,libblake2-8175054d56742bb0.rlib,libpassword_hash-30b6dcacb6155330.rlib,libbase64ct-3d944cba406686bd.rlib,librocket_db_pools-d9de32ba0ee42d46.rlib,libdeadpool_redis-eec2dda39290580b.rlib,libredis-376df25d0712739f.rlib,liburl-7aecfe955335da99.rlib,libidna-b53eff120ec6fb02.rlib,libform_urlencoded-35907277f0683ea4.rlib,libcombine-f7534743819979d2.rlib,libdiesel_async-8bb37c0c2942377d.rlib,libdeadpool-fc2a5e244faaaeb6.rlib,libretain_mut-ce7177b237dafe2d.rlib,libdeadpool_runtime-65d536ae3be52980.rlib,libtokio_postgres-521a0ad31b7fdbc6.rlib,libphf-368da4e4756bf96b.rlib,libphf_shared-22559cc19e2d6be5.rlib,libsiphasher-6bb0304e8b0d0631.rlib,libwhoami-81d8c7b23c533c9e.rlib,libpostgres_types-3781e82fb665d354.rlib,libpostgres_protocol-e8157e6915e7a966.rlib,libstringprep-859156dc2b8b8b28.rlib,libunicode_properties-6e0346fc50c61b02.rlib,libunicode_normalization-d67675934b132d4f.rlib,libtinyvec-7aa3319fb171c386.rlib,libtinyvec_macros-7b77ea21c73594ca.rlib,libunicode_bidi-2593632bda154282.rlib,libsha2-7724e140e6421675.rlib,libcpufeatures-18b07cb2979166e4.rlib,librand-f9ab84f65b2973b4.rlib,librand_chacha-d36bbe0550e73b6e.rlib,libppv_lite86-8d59ec806a185c7b.rlib,libzerocopy-0f11fb55bf9530a1.rlib,librand_core-53cf0e210f81ff95.rlib,libgetrandom-c9758567cb3a0e16.rlib,libhmac-e3ea578be65c2752.rlib,libbase64-32787b0325ea6df8.rlib,libmd5-da4003b24c00aa22.rlib,libdigest-47ac758414846b33.rlib,libsubtle-2ae6a7038b9a0630.rlib,libblock_buffer-38c9df5ac7fcce0f.rlib,libcrypto_common-f28820e30da6394a.rlib,libgeneric_array-1b50d99765d5dfd0.rlib,libtypenum-c2fff0d6cd29fbbc.rlib,libfallible_iterator-a337747b23ec23ad.rlib,libscoped_futures-b8f0e90d1285975e.rlib,libdiesel-cd915af0badd1c21.rlib,libbyteorder-8f59b6d1bfdaa844.rlib,libchrono-c97fc2ca29f4ccf7.rlib,libnum_traits-f8a4dc1f75b66c77.rlib,libiana_time_zone-98f2ac8a8c5a9959.rlib,librocket-53bc63a3ebb7c9fc.rlib,libnum_cpus-4f7ddf8a3d1d02e8.rlib,libtempfile-8eec9d68e0e1b7cd.rlib,libfastrand-95938f07ebb7e7bf.rlib,librustix-5e5d4d80925645bf.rlib,libbitflags-c95e5b195a86a9bf.rlib,liblinux_raw_sys-07d08e485b51e8af.rlib,libserde_json-c76549f94e0c33a7.rlib,libryu-a980823ac8640001.rlib,librocket_http-03fe7b4bf3df0af1.rlib,libcookie-8daea76362115d40.rlib,libstable_pattern-c6f22efc8e1ab716.rlib,libref_cast-5339ab3ca6a3c427.rlib,libpercent_encoding-af9df9186596bd92.rlib,libhyper-97ed1c9b84a6567a.rlib,libwant-0b31e25494497eb5.rlib,libtry_lock-8fa2f6971035be84.rlib,libh2-b3e25c3310893e5e.rlib,libtower_service-3fb88d28c2218805.rlib,libtracing-6f440e4b9df914ed.rlib,libtracing_core-b916b3518d5055ef.rlib,libonce_cell-a1d7742f74efe1da.rlib,libhttp_body-9845d545333fc1a2.rlib,libhttpdate-331798cefc82cc7e.rlib,libhttp-c994153ea1becb8d.rlib,libmulter-d392c8113744795d.rlib,libmime-0188e0814ca7ddbf.rlib,libtokio_util-43e34d8417c2ddbd.rlib,libhttparse-7c80f4fbf7df4089.rlib,libspin-dc062d377076afff.rlib,libencoding_rs-ca79e330d79b9da1.rlib,libhttp-fb74f7f23ee7c9f0.rlib,libfnv-79e2cbfbe03dcd16.rlib,libeither-f9c213979566fae6.rlib,libtokio_stream-70c2efc0dfda1cbb.rlib,libatomic-7a7832d6aef67078.rlib,libstate-25903d2ba1d62c86.rlib,libparking_lot-b8bded40728c5a1b.rlib,libparking_lot_core-c0baa6c63479b93e.rlib,libcfg_if-3e7fc4e38d4a72b5.rlib,libsmallvec-084045a3116dc58e.rlib,liblock_api-f5b91ee196d0e1d3.rlib,libscopeguard-7ec2214574194454.rlib,libubyte-74301ebd024ead2d.rlib,liblog-368e05ac2c0115e3.rlib,libtime-591b4e5621a970cb.rlib,libitoa-20e94f961f8d160c.rlib,libtime_core-1d4d75223b2cf7d2.rlib,libnum_conv-d3297905cfb69f59.rlib,libderanged-92956cf910ef0b9e.rlib,libpowerfmt-f6019a2766e431f7.rlib,libfigment-f6b701b4fbf8f0b1.rlib,libtoml-5153643335968a7c.rlib,libtoml_edit-26c5a1ea74c07af2.rlib,libserde_spanned-6b64f8d88d7587f3.rlib,libindexmap-c4e431216f03fdb1.rlib,libequivalent-487f93f8f6ab5e5b.rlib,libhashbrown-7535884dad52ee2f.rlib,libwinnow-04408f0e025c6d46.rlib,libtoml_datetime-18b48197437c0003.rlib,libuncased-dd1bb4d3e55fda41.rlib,libpear-799631a21372a30d.rlib,libinlinable_string-ca01d01701aeee7b.rlib,libserde-7a1c2afb64ddf554.rlib,libtokio-d44d6a71bcb64b3a.rlib,libsignal_hook_registry-e41db061aeb7ebe9.rlib,libsocket2-7529cd8dde055b90.rlib,libbytes-97cefb27b52cd468.rlib,libmio-4b042ff4f0ce0e5a.rlib,libfutures-ec01143e2d47760d.rlib,libfutures_util-ebbcb4c1121d6e92.rlib,libmemchr-08f38e9718637002.rlib,libfutures_io-15f510aebc68962e.rlib,libslab-b2d771989aa109c6.rlib,libfutures_channel-c5a37d957ff72faa.rlib,libfutures_sink-bfbbbc7bce12d32f.rlib,libfutures_task-7735bb2404c6e6f3.rlib,libpin_utils-3860774ad9b215b5.rlib,libasync_stream-20cf4c9c77dfbe6f.rlib,libpin_project_lite-e591be24d8b8b3c6.rlib,libfutures_core-451bff7c303527ba.rlib,libyansi-f30e448253a8c07f.rlib,libis_terminal-d7819e819d620d3c.rlib,liblibc-faefa127492a8260.rlib,libclap-9b5866da44991e63.rlib,libclap_builder-3236e4066bdb5964.rlib,libstrsim-4d1ed08a123238dc.rlib,libanstream-d65ff0cee23422aa.rlib,libanstyle_query-c2ddf24da84b808b.rlib,libis_terminal_polyfill-e39671344234c74d.rlib,libcolorchoice-f043a9cbe978a475.rlib,libanstyle_parse-d052f2eded0228ad.rlib,libutf8parse-92d0158219063202.rlib,libclap_lex-0512dbb32afc12f9.rlib,libanstyle-30c2776cf400edb9.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" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/cli-d4463d2c006c2106" "-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` (bin "cli") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "af38b771c6321612e98e6646f7c17d836746148d9af77aa8072d799f76af9783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af38b771c6321612e98e6646f7c17d836746148d9af77aa8072d799f76af9783", kill_on_drop: false }` [INFO] [stdout] af38b771c6321612e98e6646f7c17d836746148d9af77aa8072d799f76af9783