[INFO] cloning repository https://github.com/HarryLiIsMe/ys-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarryLiIsMe/ys-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarryLiIsMe%2Fys-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarryLiIsMe%2Fys-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4685709f1be76beb218dc4d8c524d4512cd89928 [INFO] testing HarryLiIsMe/ys-tracer against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarryLiIsMe%2Fys-tracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HarryLiIsMe/ys-tracer on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HarryLiIsMe/ys-tracer [INFO] finished tweaking git repo https://github.com/HarryLiIsMe/ys-tracer [INFO] tweaked toml for git repo https://github.com/HarryLiIsMe/ys-tracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HarryLiIsMe/ys-tracer 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" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.15.0 [INFO] [stderr] Downloaded ruc v1.0.8 [INFO] [stderr] Downloaded mobc v0.7.3 [INFO] [stderr] Downloaded attohttpc v0.18.0 [INFO] [stderr] Downloaded mobc-redis v0.7.0 [INFO] [stderr] Downloaded validator_derive v0.15.0 [INFO] [stderr] Downloaded validator_types v0.15.0 [INFO] [stderr] Downloaded vergen v4.1.0 [INFO] [stderr] Downloaded git2 v0.14.4 [INFO] [stderr] Downloaded libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Downloaded nonblock-logger v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83b12e68f7971dd5e27f68c577bc8608f0d9b78346f1ec29928b9d3649911632 [INFO] running `Command { std: "docker" "start" "-a" "83b12e68f7971dd5e27f68c577bc8608f0d9b78346f1ec29928b9d3649911632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83b12e68f7971dd5e27f68c577bc8608f0d9b78346f1ec29928b9d3649911632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b12e68f7971dd5e27f68c577bc8608f0d9b78346f1ec29928b9d3649911632", kill_on_drop: false }` [INFO] [stdout] 83b12e68f7971dd5e27f68c577bc8608f0d9b78346f1ec29928b9d3649911632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29ac907b6b96df5870ca517c0a7e63da422121e353c42e1f2c25383518ca61cf [INFO] running `Command { std: "docker" "start" "-a" "29ac907b6b96df5870ca517c0a7e63da422121e353c42e1f2c25383518ca61cf", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling hashbrown v0.12.2 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling wildmatch v2.1.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bcrypt v0.10.1 [INFO] [stderr] Compiling ruc v1.0.8 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling enum-iterator-derive v0.8.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling enum-iterator v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling zeroize v1.5.6 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling redis v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling mobc v0.7.3 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling clap v3.2.12 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling nonblock-logger v0.1.6 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling vergen v4.1.0 [INFO] [stderr] Compiling attohttpc v0.18.0 [INFO] [stderr] Compiling mobc-redis v0.7.0 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling actixweb-sqlx-jwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling actix-files v0.6.1 [INFO] [stderr] Compiling actix-cors v0.6.1 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse`, `get`, `http` [INFO] [stdout] --> src/main.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | use actix_web::{middleware, web, App, HttpServer, get, http, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `HttpRequest`, `dev` [INFO] [stdout] --> src/middlewares/auth.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{dev, FromRequest, HttpRequest}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `err`, `ok` [INFO] [stdout] --> src/middlewares/auth.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::{err, ok, Ready}; [INFO] [stdout] | ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `DecodingKey`, `Validation`, `decode` [INFO] [stdout] --> src/middlewares/auth.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{decode, Algorithm, DecodingKey, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/middlewares/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::ApiError` [INFO] [stdout] --> src/middlewares/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::api::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::AppStateRaw` [INFO] [stdout] --> src/middlewares/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::AppStateRaw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpandedSecretKey`, `SecretKey`, `SignatureError`, `Signature` [INFO] [stdout] --> src/users/routes.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use ed25519_dalek::{ed25519, ExpandedSecretKey, PublicKey, SignatureError, Signature, Verifier, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> src/users/routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/users/routes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::hmac::verify` [INFO] [stdout] --> src/users/routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ring::hmac::verify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/users/routes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/users/routes.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | async fn verify_sign(form: &UserAddress, state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/users/routes.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let mut number = page * form.limit; [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: unused variable: `state` [INFO] [stdout] --> src/users/routes.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | async fn get_address_version(state: AppState) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "29ac907b6b96df5870ca517c0a7e63da422121e353c42e1f2c25383518ca61cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29ac907b6b96df5870ca517c0a7e63da422121e353c42e1f2c25383518ca61cf", kill_on_drop: false }` [INFO] [stdout] 29ac907b6b96df5870ca517c0a7e63da422121e353c42e1f2c25383518ca61cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9afc10ee43252b5eedfc6d361ad2a76fa4c0df6e8f7ec9378d08eb6524b428b7 [INFO] running `Command { std: "docker" "start" "-a" "9afc10ee43252b5eedfc6d361ad2a76fa4c0df6e8f7ec9378d08eb6524b428b7", kill_on_drop: false }` [INFO] [stderr] Compiling actixweb-sqlx-jwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest`, `HttpResponse`, `get`, `http` [INFO] [stdout] --> src/main.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | use actix_web::{middleware, web, App, HttpServer, get, http, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `HttpRequest`, `dev` [INFO] [stdout] --> src/middlewares/auth.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{dev, FromRequest, HttpRequest}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `err`, `ok` [INFO] [stdout] --> src/middlewares/auth.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::{err, ok, Ready}; [INFO] [stdout] | ^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `DecodingKey`, `Validation`, `decode` [INFO] [stdout] --> src/middlewares/auth.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{decode, Algorithm, DecodingKey, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/middlewares/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::ApiError` [INFO] [stdout] --> src/middlewares/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::api::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::AppStateRaw` [INFO] [stdout] --> src/middlewares/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::AppStateRaw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpandedSecretKey`, `SecretKey`, `SignatureError`, `Signature` [INFO] [stdout] --> src/users/routes.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use ed25519_dalek::{ed25519, ExpandedSecretKey, PublicKey, SignatureError, Signature, Verifier, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::err` [INFO] [stdout] --> src/users/routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::future::err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::ToHex` [INFO] [stdout] --> src/users/routes.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::hmac::verify` [INFO] [stdout] --> src/users/routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ring::hmac::verify; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/users/routes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/users/routes.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | async fn verify_sign(form: &UserAddress, state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/users/routes.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let mut number = page * form.limit; [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: unused variable: `state` [INFO] [stdout] --> src/users/routes.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | async fn get_address_version(state: AppState) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9afc10ee43252b5eedfc6d361ad2a76fa4c0df6e8f7ec9378d08eb6524b428b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9afc10ee43252b5eedfc6d361ad2a76fa4c0df6e8f7ec9378d08eb6524b428b7", kill_on_drop: false }` [INFO] [stdout] 9afc10ee43252b5eedfc6d361ad2a76fa4c0df6e8f7ec9378d08eb6524b428b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f34f3f193fee6f4fc5dc2c78d978e8d6487dc9ce95224fbe20b41785c13ced1a [INFO] running `Command { std: "docker" "start" "-a" "f34f3f193fee6f4fc5dc2c78d978e8d6487dc9ce95224fbe20b41785c13ced1a", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse`, `get`, `http` [INFO] [stderr] --> src/main.rs:15:51 [INFO] [stderr] | [INFO] [stderr] 15 | use actix_web::{middleware, web, App, HttpServer, get, http, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FromRequest`, `HttpRequest`, `dev` [INFO] [stderr] --> src/middlewares/auth.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{dev, FromRequest, HttpRequest}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ready`, `err`, `ok` [INFO] [stderr] --> src/middlewares/auth.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use futures::future::{err, ok, Ready}; [INFO] [stderr] | ^^^ ^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Algorithm`, `DecodingKey`, `Validation`, `decode` [INFO] [stderr] --> src/middlewares/auth.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonwebtoken::{decode, Algorithm, DecodingKey, Validation}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/middlewares/auth.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::api::ApiError` [INFO] [stderr] --> src/middlewares/auth.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::api::ApiError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::state::AppStateRaw` [INFO] [stderr] --> src/middlewares/auth.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::state::AppStateRaw; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExpandedSecretKey`, `SecretKey`, `SignatureError`, `Signature` [INFO] [stderr] --> src/users/routes.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | use ed25519_dalek::{ed25519, ExpandedSecretKey, PublicKey, SignatureError, Signature, Verifier, SecretKey}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::err` [INFO] [stderr] --> src/users/routes.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use futures::future::err; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hex::ToHex` [INFO] [stderr] --> src/users/routes.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use hex::ToHex; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ring::hmac::verify` [INFO] [stderr] --> src/users/routes.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use ring::hmac::verify; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/users/routes.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/users/routes.rs:22:42 [INFO] [stderr] | [INFO] [stderr] 22 | async fn verify_sign(form: &UserAddress, state: &AppState) -> Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/users/routes.rs:110:25 [INFO] [stderr] | [INFO] [stderr] 110 | let mut number = page * form.limit; [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: unused variable: `state` [INFO] [stderr] --> src/users/routes.rs:281:30 [INFO] [stderr] | [INFO] [stderr] 281 | async fn get_address_version(state: AppState) -> impl Responder { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: `actixweb-sqlx-jwt` (bin "actixweb-sqlx-jwt" test) generated 17 warnings (run `cargo fix --bin "actixweb-sqlx-jwt" --tests` to apply 16 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.19.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/actixweb_sqlx_jwt-2759855a02ea1823) [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" "f34f3f193fee6f4fc5dc2c78d978e8d6487dc9ce95224fbe20b41785c13ced1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34f3f193fee6f4fc5dc2c78d978e8d6487dc9ce95224fbe20b41785c13ced1a", kill_on_drop: false }` [INFO] [stdout] f34f3f193fee6f4fc5dc2c78d978e8d6487dc9ce95224fbe20b41785c13ced1a