[INFO] cloning repository https://github.com/Starz0r/link-backlog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Starz0r/link-backlog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Flink-backlog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Flink-backlog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 583c253f7f85d74a0f58f90ee4197d137b0ee181 [INFO] building Starz0r/link-backlog against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Flink-backlog" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Starz0r/link-backlog on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Starz0r/link-backlog [INFO] finished tweaking git repo https://github.com/Starz0r/link-backlog [INFO] tweaked toml for git repo https://github.com/Starz0r/link-backlog written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Starz0r/link-backlog 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sea-query-derive v0.2.0 [INFO] [stderr] Downloaded num_threads v0.1.4 [INFO] [stderr] Downloaded ulid v0.5.0 [INFO] [stderr] Downloaded biscuit v0.5.0 [INFO] [stderr] Downloaded openid v0.9.3 [INFO] [stderr] Downloaded validator_derive v0.12.0 [INFO] [stderr] Downloaded sea-orm-macros v0.6.0 [INFO] [stderr] Downloaded axum-macros v0.1.2 [INFO] [stderr] Downloaded async-compression v0.3.12 [INFO] [stderr] Downloaded sea-orm v0.6.0 [INFO] [stderr] Downloaded sea-query v0.21.0 [INFO] [stderr] Downloaded rust_decimal v1.22.0 [INFO] [stderr] Downloaded axum-auth v0.1.1 [INFO] [stderr] Downloaded tower-cookies v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5bc7ba740bc735bb824be8413e3750c19f89dc33cfb0e202b80c0e5c18e3ab [INFO] running `Command { std: "docker" "start" "-a" "0b5bc7ba740bc735bb824be8413e3750c19f89dc33cfb0e202b80c0e5c18e3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5bc7ba740bc735bb824be8413e3750c19f89dc33cfb0e202b80c0e5c18e3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5bc7ba740bc735bb824be8413e3750c19f89dc33cfb0e202b80c0e5c18e3ab", kill_on_drop: false }` [INFO] [stdout] 0b5bc7ba740bc735bb824be8413e3750c19f89dc33cfb0e202b80c0e5c18e3ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54074b503e962bc78fa570d4e3c879302766fd4bc2bd3455987995ce482a6cd9 [INFO] running `Command { std: "docker" "start" "-a" "54074b503e962bc78fa570d4e3c879302766fd4bc2bd3455987995ce482a6cd9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rust_decimal v1.22.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sqlformat v0.1.8 [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 brotli v3.3.3 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num_threads v0.1.4 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling dashmap v5.2.0 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling ouroboros_macro v0.14.2 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling validator_derive v0.12.0 [INFO] [stderr] Compiling async-compression v0.3.12 [INFO] [stderr] Compiling sea-orm-macros v0.6.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling axum-macros v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling ouroboros v0.14.2 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling tower-cookies v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ulid v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling sea-query v0.21.0 [INFO] [stderr] Compiling validator v0.12.0 [INFO] [stderr] Compiling biscuit v0.5.0 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling tera v1.15.0 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling openid v0.9.3 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling sea-orm v0.6.0 [INFO] [stderr] Compiling axum-auth v0.1.1 [INFO] [stderr] Compiling link_backlog v0.2.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cookie`, `Cookies`, `Redirect`, `debug`, `info`, `warn` [INFO] [stdout] --> src/api/links.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | response::{IntoResponse, Json, Redirect}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | tower_cookies::{Cookie, Cookies}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] 18 | tracing::{debug, error, info, warn}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api_keys` [INFO] [stdout] --> src/api/links.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | database::entity::{api_keys, grouped_links, links}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::User` [INFO] [stdout] --> src/api/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::app::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Url` [INFO] [stdout] --> src/app.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | reqwest::{StatusCode, Url}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tracing::Level, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::api_keys::Entity as ApiKeys` [INFO] [stdout] --> src/database/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::api_keys::Entity as ApiKeys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::grouped_links::Entity as GroupedLinks` [INFO] [stdout] --> src/database/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::grouped_links::Entity as GroupedLinks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::groups::Entity as Groups` [INFO] [stdout] --> src/database/entity/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::groups::Entity as Groups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::links::Entity as Links` [INFO] [stdout] --> src/database/entity/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::links::Entity as Links; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::notes::Entity as Notes` [INFO] [stdout] --> src/database/entity/prelude.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::notes::Entity as Notes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tagged_links::Entity as TaggedLinks` [INFO] [stdout] --> src/database/entity/prelude.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::tagged_links::Entity as TaggedLinks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tags::Entity as Tags` [INFO] [stdout] --> src/database/entity/prelude.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::tags::Entity as Tags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/pages/apikeys.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | extract::{Extension, Multipart, Query}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result`, `info` [INFO] [stdout] --> src/pages/index.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | tracing::{error, info, warn}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/pages/index.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | app::{Sessions, User}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `error`, `extract::Extension`, `response::Html`, `response::IntoResponse`, `routing::get`, `tera::Tera` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | axum::{extract::Extension, response::Html, response::IntoResponse, routing::get, Router}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | tera::Tera, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | tracing::{debug, error, info, Level}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/groups.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/groups.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/links.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/links.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/links.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `axum::response::Redirect::found`: This results in different behavior between clients, so Redirect::temporary or Redirect::to should be used instead [INFO] [stdout] --> src/api/oauth2.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | Redirect::found(auth_url.into_string().parse().unwrap()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/api/oauth2.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | Redirect::found(auth_url.into_string().parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmpl` [INFO] [stdout] --> src/pages/apikeys.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | Extension(tmpl): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pages/apikeys.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let name = field.name().unwrap().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/apikeys.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(mut field) = req.next_field().await.unwrap() { [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/api/groups.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn into_der(mut self) -> groups::ActiveModel { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/links.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn into_der(mut self) -> links::ActiveModel { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/apikeys.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn into_der(mut self) -> api_keys::ActiveModel { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_der` is never used [INFO] [stdout] --> src/api/links.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Link { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_der(der: links::ActiveModel) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cfg`, `templates`, `openid`, `sessions`, `database`, and `random` are never read [INFO] [stdout] --> src/app.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 51 | cfg: super::config::Configuration, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | templates: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | openid: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | sessions: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | database: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | random: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api/oauth2.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | .and_then(|c| Some(c.value().clone().to_string())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.03s [INFO] running `Command { std: "docker" "inspect" "54074b503e962bc78fa570d4e3c879302766fd4bc2bd3455987995ce482a6cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54074b503e962bc78fa570d4e3c879302766fd4bc2bd3455987995ce482a6cd9", kill_on_drop: false }` [INFO] [stdout] 54074b503e962bc78fa570d4e3c879302766fd4bc2bd3455987995ce482a6cd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63008cb653dda7f07d3e643c804cc7fad8325d2437edb0d423b9475710b1b399 [INFO] running `Command { std: "docker" "start" "-a" "63008cb653dda7f07d3e643c804cc7fad8325d2437edb0d423b9475710b1b399", kill_on_drop: false }` [INFO] [stderr] Compiling link_backlog v0.2.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cookie`, `Cookies`, `Redirect`, `debug`, `info`, `warn` [INFO] [stdout] --> src/api/links.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | response::{IntoResponse, Json, Redirect}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | tower_cookies::{Cookie, Cookies}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] 18 | tracing::{debug, error, info, warn}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api_keys` [INFO] [stdout] --> src/api/links.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | database::entity::{api_keys, grouped_links, links}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::User` [INFO] [stdout] --> src/api/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::app::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Url` [INFO] [stdout] --> src/app.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | reqwest::{StatusCode, Url}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tracing::Level, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::api_keys::Entity as ApiKeys` [INFO] [stdout] --> src/database/entity/prelude.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use super::api_keys::Entity as ApiKeys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::grouped_links::Entity as GroupedLinks` [INFO] [stdout] --> src/database/entity/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::grouped_links::Entity as GroupedLinks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::groups::Entity as Groups` [INFO] [stdout] --> src/database/entity/prelude.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::groups::Entity as Groups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::links::Entity as Links` [INFO] [stdout] --> src/database/entity/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::links::Entity as Links; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::notes::Entity as Notes` [INFO] [stdout] --> src/database/entity/prelude.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::notes::Entity as Notes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tagged_links::Entity as TaggedLinks` [INFO] [stdout] --> src/database/entity/prelude.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::tagged_links::Entity as TaggedLinks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tags::Entity as Tags` [INFO] [stdout] --> src/database/entity/prelude.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use super::tags::Entity as Tags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/pages/apikeys.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | extract::{Extension, Multipart, Query}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Result`, `info` [INFO] [stdout] --> src/pages/index.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | tracing::{error, info, warn}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/pages/index.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | app::{Sessions, User}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{str::FromStr, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `error`, `extract::Extension`, `response::Html`, `response::IntoResponse`, `routing::get`, `tera::Tera` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | axum::{extract::Extension, response::Html, response::IntoResponse, routing::get, Router}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | tera::Tera, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | tracing::{debug, error, info, Level}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/groups.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/groups.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/links.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/api/links.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sessions` [INFO] [stdout] --> src/api/links.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | Extension(sessions): Extension>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `axum::response::Redirect::found`: This results in different behavior between clients, so Redirect::temporary or Redirect::to should be used instead [INFO] [stdout] --> src/api/oauth2.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | Redirect::found(auth_url.into_string().parse().unwrap()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/api/oauth2.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | Redirect::found(auth_url.into_string().parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmpl` [INFO] [stdout] --> src/pages/apikeys.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | Extension(tmpl): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/pages/apikeys.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let name = field.name().unwrap().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/apikeys.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | if let Some(mut field) = req.next_field().await.unwrap() { [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/api/groups.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn into_der(mut self) -> groups::ActiveModel { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/links.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn into_der(mut self) -> links::ActiveModel { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/apikeys.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn into_der(mut self) -> api_keys::ActiveModel { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_der` is never used [INFO] [stdout] --> src/api/links.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Link { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_der(der: links::ActiveModel) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cfg`, `templates`, `openid`, `sessions`, `database`, and `random` are never read [INFO] [stdout] --> src/app.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 51 | cfg: super::config::Configuration, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | templates: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | openid: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | sessions: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | database: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | random: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api/oauth2.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | .and_then(|c| Some(c.value().clone().to_string())) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "63008cb653dda7f07d3e643c804cc7fad8325d2437edb0d423b9475710b1b399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63008cb653dda7f07d3e643c804cc7fad8325d2437edb0d423b9475710b1b399", kill_on_drop: false }` [INFO] [stdout] 63008cb653dda7f07d3e643c804cc7fad8325d2437edb0d423b9475710b1b399