[INFO] cloning repository https://github.com/imothee/sparkle-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imothee/sparkle-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimothee%2Fsparkle-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimothee%2Fsparkle-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d316db3054c73804be94874c770af6586a2b2c4 [INFO] testing imothee/sparkle-server against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimothee%2Fsparkle-server" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imothee/sparkle-server on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imothee/sparkle-server [INFO] finished tweaking git repo https://github.com/imothee/sparkle-server [INFO] tweaked toml for git repo https://github.com/imothee/sparkle-server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/imothee/sparkle-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ef5c6b98c40b2ead5ef6032dc8aa54b8097c7c542f5ddd1fa4135780678247 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4ef5c6b98c40b2ead5ef6032dc8aa54b8097c7c542f5ddd1fa4135780678247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ef5c6b98c40b2ead5ef6032dc8aa54b8097c7c542f5ddd1fa4135780678247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ef5c6b98c40b2ead5ef6032dc8aa54b8097c7c542f5ddd1fa4135780678247", kill_on_drop: false }` [INFO] [stdout] b4ef5c6b98c40b2ead5ef6032dc8aa54b8097c7c542f5ddd1fa4135780678247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cd22205c70902d76833b8813da10b6791ef1ba76cba5ed8dfc6bf45f3f11dd05 [INFO] running `Command { std: "docker" "start" "-a" "cd22205c70902d76833b8813da10b6791ef1ba76cba5ed8dfc6bf45f3f11dd05", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bcrypt v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling v_escape_derive v0.8.5 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling tera v1.15.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-identity v0.3.1 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling sparkle-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/middleware/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models/user.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/admin.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/routes/admin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/api.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weekday` [INFO] [stdout] --> src/routes/api.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration, NaiveDate, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/app.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRequest` [INFO] [stdout] --> src/routes/auth.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, Error, FromRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewUser` [INFO] [stdout] --> src/routes/auth.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/pages.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/admin.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ctx = tera::Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/pages.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ctx = tera::Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/admin.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/api.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/api.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/auth.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/auth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `AppInfo` in public interface (error E0446) [INFO] [stdout] --> src/routes/api.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub async fn api_apps_metrics_index( [INFO] [stdout] 54 | | id: Identity, [INFO] [stdout] 55 | | info: web::Path, [INFO] [stdout] 56 | | query: web::Query, [INFO] [stdout] 57 | | pool: web::Data, [INFO] [stdout] 58 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `MetricQuery` in public interface (error E0446) [INFO] [stdout] --> src/routes/api.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub async fn api_apps_metrics_index( [INFO] [stdout] 54 | | id: Identity, [INFO] [stdout] 55 | | info: web::Path, [INFO] [stdout] 56 | | query: web::Query, [INFO] [stdout] 57 | | pool: web::Data, [INFO] [stdout] 58 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile_key` [INFO] [stdout] --> src/routes/api.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | profile_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/parse_metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> src/bin/parse_metrics.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Datelike, DateTime, Duration, NaiveDate, TimeZone, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sparkle_server::models::schema::metrics::app_id` [INFO] [stdout] --> src/bin/parse_metrics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sparkle_server::models::schema::metrics::app_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> src/bin/archive_profiles.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Datelike, DateTime, Duration, NaiveDate, TimeZone, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/bin/archive_profiles.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/parse_metrics.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | let offset = args.get(1).map(|f| f.parse::().unwrap_or_else(|e| { 0 })).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numProfiles` should have a snake case name [INFO] [stdout] --> src/bin/parse_metrics.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let numProfiles = (&profiles.len()).clone() as i32; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `num_profiles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getInput` should have a snake case name [INFO] [stdout] --> src/bin/add_user.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn getInput(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 21s [INFO] running `Command { std: "docker" "inspect" "cd22205c70902d76833b8813da10b6791ef1ba76cba5ed8dfc6bf45f3f11dd05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd22205c70902d76833b8813da10b6791ef1ba76cba5ed8dfc6bf45f3f11dd05", kill_on_drop: false }` [INFO] [stdout] cd22205c70902d76833b8813da10b6791ef1ba76cba5ed8dfc6bf45f3f11dd05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db46398246ced351e9c037dde5979f8790bf9e343934b2c051a51e671de91310 [INFO] running `Command { std: "docker" "start" "-a" "db46398246ced351e9c037dde5979f8790bf9e343934b2c051a51e671de91310", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/middleware/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models/user.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/admin.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/routes/admin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/api.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weekday` [INFO] [stdout] --> src/routes/api.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration, NaiveDate, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/app.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRequest` [INFO] [stdout] --> src/routes/auth.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, Error, FromRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewUser` [INFO] [stdout] --> src/routes/auth.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/pages.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sparkle-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/admin.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ctx = tera::Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/pages.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ctx = tera::Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/admin.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/api.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/api.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/auth.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/auth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `AppInfo` in public interface (error E0446) [INFO] [stdout] --> src/routes/api.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub async fn api_apps_metrics_index( [INFO] [stdout] 54 | | id: Identity, [INFO] [stdout] 55 | | info: web::Path, [INFO] [stdout] 56 | | query: web::Query, [INFO] [stdout] 57 | | pool: web::Data, [INFO] [stdout] 58 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `MetricQuery` in public interface (error E0446) [INFO] [stdout] --> src/routes/api.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub async fn api_apps_metrics_index( [INFO] [stdout] 54 | | id: Identity, [INFO] [stdout] 55 | | info: web::Path, [INFO] [stdout] 56 | | query: web::Query, [INFO] [stdout] 57 | | pool: web::Data, [INFO] [stdout] 58 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile_key` [INFO] [stdout] --> src/routes/api.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | profile_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/parse_metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> src/bin/parse_metrics.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Datelike, DateTime, Duration, NaiveDate, TimeZone, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sparkle_server::models::schema::metrics::app_id` [INFO] [stdout] --> src/bin/parse_metrics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sparkle_server::models::schema::metrics::app_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Weekday` [INFO] [stdout] --> src/bin/archive_profiles.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Datelike, DateTime, Duration, NaiveDate, TimeZone, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/bin/archive_profiles.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getInput` should have a snake case name [INFO] [stdout] --> src/bin/add_user.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn getInput(prompt: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/parse_metrics.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | let offset = args.get(1).map(|f| f.parse::().unwrap_or_else(|e| { 0 })).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numProfiles` should have a snake case name [INFO] [stdout] --> src/bin/parse_metrics.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let numProfiles = (&profiles.len()).clone() as i32; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `num_profiles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/middleware/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models/user.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/admin.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/routes/admin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/api.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weekday` [INFO] [stdout] --> src/routes/api.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Duration, NaiveDate, Utc, Weekday}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/app.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRequest` [INFO] [stdout] --> src/routes/auth.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, post, web, Error, FromRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewUser` [INFO] [stdout] --> src/routes/auth.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::user::{NewUser, User}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/pages.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/admin.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ctx = tera::Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes/pages.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ctx = tera::Context::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/admin.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/api.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identity` [INFO] [stdout] --> src/routes/api.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | Some(identity) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/auth.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/routes/auth.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `AppInfo` in public interface (error E0446) [INFO] [stdout] --> src/routes/api.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub async fn api_apps_metrics_index( [INFO] [stdout] 54 | | id: Identity, [INFO] [stdout] 55 | | info: web::Path, [INFO] [stdout] 56 | | query: web::Query, [INFO] [stdout] 57 | | pool: web::Data, [INFO] [stdout] 58 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `MetricQuery` in public interface (error E0446) [INFO] [stdout] --> src/routes/api.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / pub async fn api_apps_metrics_index( [INFO] [stdout] 54 | | id: Identity, [INFO] [stdout] 55 | | info: web::Path, [INFO] [stdout] 56 | | query: web::Query, [INFO] [stdout] 57 | | pool: web::Data, [INFO] [stdout] 58 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile_key` [INFO] [stdout] --> src/routes/api.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | profile_key: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.79s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sparkle_server-ee72895d4f022db5) [INFO] [stderr] Executable unittests src/bin/add_user.rs (/opt/rustwide/target/debug/deps/add_user-1fa51cf214fab8ec) [INFO] [stderr] Executable unittests src/bin/archive_profiles.rs (/opt/rustwide/target/debug/deps/archive_profiles-ec983ed9de53ed44) [INFO] [stderr] Executable unittests src/bin/parse_metrics.rs (/opt/rustwide/target/debug/deps/parse_metrics-a6edaf00b933ecc7) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sparkle_server-3ba848606399c1b0) [INFO] running `Command { std: "docker" "inspect" "db46398246ced351e9c037dde5979f8790bf9e343934b2c051a51e671de91310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db46398246ced351e9c037dde5979f8790bf9e343934b2c051a51e671de91310", kill_on_drop: false }` [INFO] [stdout] db46398246ced351e9c037dde5979f8790bf9e343934b2c051a51e671de91310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 656d2ddb798e081ad3bf061f894e334f8cbde7b1a1b02e2e8721eb631cba49be [INFO] running `Command { std: "docker" "start" "-a" "656d2ddb798e081ad3bf061f894e334f8cbde7b1a1b02e2e8721eb631cba49be", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/middleware/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/models/user.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Responder` [INFO] [stderr] --> src/routes/admin.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Serialize` [INFO] [stderr] --> src/routes/admin.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Responder` [INFO] [stderr] --> src/routes/api.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Weekday` [INFO] [stderr] --> src/routes/api.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::{Duration, NaiveDate, Utc, Weekday}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Responder` [INFO] [stderr] --> src/routes/app.rs:1:34 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FromRequest` [INFO] [stderr] --> src/routes/auth.rs:1:40 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, post, web, Error, FromRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `NewUser` [INFO] [stderr] --> src/routes/auth.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::models::user::{NewUser, User}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Responder` [INFO] [stderr] --> src/routes/pages.rs:1:34 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, web, Error, Responder, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/routes/admin.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | let mut ctx = tera::Context::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/routes/pages.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | let mut ctx = tera::Context::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `identity` [INFO] [stderr] --> src/routes/admin.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | Some(identity) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `identity` [INFO] [stderr] --> src/routes/api.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | Some(identity) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `identity` [INFO] [stderr] --> src/routes/api.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | Some(identity) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/routes/auth.rs:45:11 [INFO] [stderr] | [INFO] [stderr] 45 | Err(e) => None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/routes/auth.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | Err(e) => None, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: private type `AppInfo` in public interface (error E0446) [INFO] [stderr] --> src/routes/api.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / pub async fn api_apps_metrics_index( [INFO] [stderr] 54 | | id: Identity, [INFO] [stderr] 55 | | info: web::Path, [INFO] [stderr] 56 | | query: web::Query, [INFO] [stderr] 57 | | pool: web::Data, [INFO] [stderr] 58 | | ) -> Result { [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `MetricQuery` in public interface (error E0446) [INFO] [stderr] --> src/routes/api.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / pub async fn api_apps_metrics_index( [INFO] [stderr] 54 | | id: Identity, [INFO] [stderr] 55 | | info: web::Path, [INFO] [stderr] 56 | | query: web::Query, [INFO] [stderr] 57 | | pool: web::Data, [INFO] [stderr] 58 | | ) -> Result { [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `profile_key` [INFO] [stderr] --> src/routes/api.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | profile_key: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sparkle-server` (lib) generated 20 warnings [INFO] [stderr] warning: `sparkle-server` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/bin/parse_metrics.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `Weekday` [INFO] [stderr] --> src/bin/parse_metrics.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::{Datelike, DateTime, Duration, NaiveDate, TimeZone, Utc, Weekday}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sparkle_server::models::schema::metrics::app_id` [INFO] [stderr] --> src/bin/parse_metrics.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use sparkle_server::models::schema::metrics::app_id; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bin/parse_metrics.rs:45:69 [INFO] [stderr] | [INFO] [stderr] 45 | let offset = args.get(1).map(|f| f.parse::().unwrap_or_else(|e| { 0 })).unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `numProfiles` should have a snake case name [INFO] [stderr] --> src/bin/parse_metrics.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | let numProfiles = (&profiles.len()).clone() as i32; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `num_profiles` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `getInput` should have a snake case name [INFO] [stderr] --> src/bin/add_user.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | fn getInput(prompt: &str) -> String { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `get_input` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `Weekday` [INFO] [stderr] --> src/bin/archive_profiles.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::{Datelike, DateTime, Duration, NaiveDate, TimeZone, Utc, Weekday}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Add` [INFO] [stderr] --> src/bin/archive_profiles.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use std::ops::{Add, Sub}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `sparkle-server` (bin "parse_metrics" test) generated 5 warnings [INFO] [stderr] warning: `sparkle-server` (bin "add_user" test) generated 1 warning [INFO] [stderr] warning: `sparkle-server` (bin "archive_profiles" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sparkle_server-ee72895d4f022db5) [INFO] [stderr] Running unittests src/bin/add_user.rs (/opt/rustwide/target/debug/deps/add_user-1fa51cf214fab8ec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/archive_profiles.rs (/opt/rustwide/target/debug/deps/archive_profiles-ec983ed9de53ed44) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/parse_metrics.rs (/opt/rustwide/target/debug/deps/parse_metrics-a6edaf00b933ecc7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sparkle_server-3ba848606399c1b0) [INFO] [stdout] [INFO] [stderr] Doc-tests sparkle-server [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "656d2ddb798e081ad3bf061f894e334f8cbde7b1a1b02e2e8721eb631cba49be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656d2ddb798e081ad3bf061f894e334f8cbde7b1a1b02e2e8721eb631cba49be", kill_on_drop: false }` [INFO] [stdout] 656d2ddb798e081ad3bf061f894e334f8cbde7b1a1b02e2e8721eb631cba49be