[INFO] updating cached repository https://github.com/AOSC-Dev/pakreqWeb [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 26f425c52506750b6d17609596d75a4754161b5d [INFO] testing AOSC-Dev/pakreqWeb against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AOSC-Dev/pakreqWeb on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/AOSC-Dev/pakreqWeb [INFO] finished tweaking git repo https://github.com/AOSC-Dev/pakreqWeb [INFO] tweaked toml for git repo https://github.com/AOSC-Dev/pakreqWeb written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/AOSC-Dev/pakreqWeb already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 06d2fe985dd78a86932f450c4f2124462746429ad675d23f18acbd5f5bc05f75 [INFO] running `"docker" "start" "-a" "06d2fe985dd78a86932f450c4f2124462746429ad675d23f18acbd5f5bc05f75"` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling annotate-snippets v0.6.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling backtrace-sys v0.1.33 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling pem v0.7.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling v_eval v0.2.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling yarte_html v0.7.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling syntect v3.2.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling yarte_helpers v0.7.0 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling jsonwebtoken v7.1.0 [INFO] [stderr] Compiling yarte_parser v0.7.0 [INFO] [stderr] Compiling yarte_hir v0.7.0 [INFO] [stderr] Compiling prettyprint v0.7.0 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling yarte_dom v0.7.0 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling yarte_codegen v0.7.0 [INFO] [stderr] Compiling yarte_derive v0.7.0 [INFO] [stderr] Compiling actix-identity v0.2.1 [INFO] [stderr] Compiling yarte v0.7.0 [INFO] [stderr] Compiling pakreqWeb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Identity` [INFO] [stderr] --> src/main.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_identity::{CookieIdentityPolicy, Identity, IdentityService}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `error` [INFO] [stderr] --> src/auth.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/auth.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::{http, http::StatusCode, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::PgConnection` [INFO] [stderr] --> src/auth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use diesel::PgConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RequestInput` [INFO] [stderr] --> src/db.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::models::{Request, RequestStr, RequestInput, User, Oauth}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `models` [INFO] [stderr] --> src/rest.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{auth, db, models, DbPool}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `error` [INFO] [stderr] --> src/rest.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{error, web, Error, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/rest.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_user_by_oauth` [INFO] [stderr] --> src/db.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_user_by_oauth( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `close_request_by_id` [INFO] [stderr] --> src/db.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn close_request_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `validate_jwt_token` [INFO] [stderr] --> src/rest.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | async fn validate_jwt_token(token: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `base_url` [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | base_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `pakreqWeb_rs` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pakreq_web_rs` [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 40s [INFO] running `"docker" "inspect" "06d2fe985dd78a86932f450c4f2124462746429ad675d23f18acbd5f5bc05f75"` [INFO] running `"docker" "rm" "-f" "06d2fe985dd78a86932f450c4f2124462746429ad675d23f18acbd5f5bc05f75"` [INFO] [stdout] 06d2fe985dd78a86932f450c4f2124462746429ad675d23f18acbd5f5bc05f75 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stdout] 9c7afa58d1ea459a6afc57b8036c8bc1bf00810dc39c607367398fd2c0a2bfaf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "9c7afa58d1ea459a6afc57b8036c8bc1bf00810dc39c607367398fd2c0a2bfaf"` [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Compiling pakreqWeb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Identity` [INFO] [stderr] --> src/main.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_identity::{CookieIdentityPolicy, Identity, IdentityService}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `error` [INFO] [stderr] --> src/auth.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/auth.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::{http, http::StatusCode, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::PgConnection` [INFO] [stderr] --> src/auth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use diesel::PgConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RequestInput` [INFO] [stderr] --> src/db.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::models::{Request, RequestStr, RequestInput, User, Oauth}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `models` [INFO] [stderr] --> src/rest.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{auth, db, models, DbPool}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `error` [INFO] [stderr] --> src/rest.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{error, web, Error, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/rest.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_user_by_oauth` [INFO] [stderr] --> src/db.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_user_by_oauth( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `close_request_by_id` [INFO] [stderr] --> src/db.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn close_request_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `validate_jwt_token` [INFO] [stderr] --> src/rest.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | async fn validate_jwt_token(token: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `base_url` [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | base_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `pakreqWeb_rs` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pakreq_web_rs` [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 31.28s [INFO] running `"docker" "inspect" "9c7afa58d1ea459a6afc57b8036c8bc1bf00810dc39c607367398fd2c0a2bfaf"` [INFO] running `"docker" "rm" "-f" "9c7afa58d1ea459a6afc57b8036c8bc1bf00810dc39c607367398fd2c0a2bfaf"` [INFO] [stdout] 9c7afa58d1ea459a6afc57b8036c8bc1bf00810dc39c607367398fd2c0a2bfaf [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c18cb62266bbfd4fdcaa54e4198f6f9acc766e8cc7fe2f57c597daf490b30379 [INFO] running `"docker" "start" "-a" "c18cb62266bbfd4fdcaa54e4198f6f9acc766e8cc7fe2f57c597daf490b30379"` [INFO] [stderr] warning: unused import: `Identity` [INFO] [stderr] --> src/main.rs:4:44 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_identity::{CookieIdentityPolicy, Identity, IdentityService}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `error` [INFO] [stderr] --> src/auth.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/auth.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use actix_web::{http, http::StatusCode, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::PgConnection` [INFO] [stderr] --> src/auth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use diesel::PgConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RequestInput` [INFO] [stderr] --> src/db.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::models::{Request, RequestStr, RequestInput, User, Oauth}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `models` [INFO] [stderr] --> src/rest.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{auth, db, models, DbPool}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `error` [INFO] [stderr] --> src/rest.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{error, web, Error, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::StatusCode` [INFO] [stderr] --> src/rest.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_user_by_oauth` [INFO] [stderr] --> src/db.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn get_user_by_oauth( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `close_request_by_id` [INFO] [stderr] --> src/db.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn close_request_by_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `validate_jwt_token` [INFO] [stderr] --> src/rest.rs:174:10 [INFO] [stderr] | [INFO] [stderr] 174 | async fn validate_jwt_token(token: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `base_url` [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | base_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `pakreqWeb_rs` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `pakreq_web_rs` [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.61s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pakreqWeb_rs-fec94dcda5719261 [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "c18cb62266bbfd4fdcaa54e4198f6f9acc766e8cc7fe2f57c597daf490b30379"` [INFO] running `"docker" "rm" "-f" "c18cb62266bbfd4fdcaa54e4198f6f9acc766e8cc7fe2f57c597daf490b30379"` [INFO] [stdout] c18cb62266bbfd4fdcaa54e4198f6f9acc766e8cc7fe2f57c597daf490b30379