[INFO] cloning repository https://github.com/eggmunkee/rust-vue-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eggmunkee/rust-vue-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Frust-vue-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Frust-vue-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0a2a24f5d44cffe0d045ffed10459b38982ced0 [INFO] building eggmunkee/rust-vue-app against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmunkee%2Frust-vue-app" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eggmunkee/rust-vue-app on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eggmunkee/rust-vue-app [INFO] finished tweaking git repo https://github.com/eggmunkee/rust-vue-app [INFO] tweaked toml for git repo https://github.com/eggmunkee/rust-vue-app written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/eggmunkee/rust-vue-app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 014af1d0edfd2cf28e9b9b9d60e30ccbf8691da79c72c927f634c537d86a488b [INFO] running `Command { std: "docker" "start" "-a" "014af1d0edfd2cf28e9b9b9d60e30ccbf8691da79c72c927f634c537d86a488b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "014af1d0edfd2cf28e9b9b9d60e30ccbf8691da79c72c927f634c537d86a488b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014af1d0edfd2cf28e9b9b9d60e30ccbf8691da79c72c927f634c537d86a488b", kill_on_drop: false }` [INFO] [stdout] 014af1d0edfd2cf28e9b9b9d60e30ccbf8691da79c72c927f634c537d86a488b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9e5e312c3694f5ea4b10ef2dd9263d8de542d6f1c3fb5f48fee964273939b57 [INFO] running `Command { std: "docker" "start" "-a" "a9e5e312c3694f5ea4b10ef2dd9263d8de542d6f1c3fb5f48fee964273939b57", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling bstr v0.2.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling sqlite3-src v0.2.11 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling sqlite v0.25.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling ignore v0.4.11 [INFO] [stderr] Compiling globwalk v0.7.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pest_generator v2.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling enum-as-inner v0.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.4 [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.1 [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.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling tera v1.0.2 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling rust_vue_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `val_text` [INFO] [stdout] --> src/macros.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! val_text { ($field:expr) => { format!("'{}'", &$field) } } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `val_int` [INFO] [stdout] --> src/macros.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! val_int { ($field:expr) => { format!("{}", &$field) } } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `col_int_key` [INFO] [stdout] --> src/macros.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! col_int_key { ($field:expr) => { col_def!($field,"INTEGER PRIMARY KEY ASC") } } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `drop_table` [INFO] [stdout] --> src/macros.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! drop_table { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/core/models.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `Error` [INFO] [stdout] --> src/core/models.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlite::{Type,Error,Connection,Statement}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `StatusCode` [INFO] [stdout] --> src/core/views.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | StatusCode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | dev::{ Body } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::views` [INFO] [stdout] --> src/urls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::views; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrudModel` [INFO] [stdout] --> src/urls.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::views::{CrudModel}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/views.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::http::{StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> src/views.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::dev::{ Body }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/views.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use tera::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_users` [INFO] [stdout] --> src/views.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::app::models::{get_users}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_template_context` [INFO] [stdout] --> src/views.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::utils::{get_template_context}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/views.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/app/models.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlite::{State,Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/app/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as ActixResult` [INFO] [stdout] --> src/app/models.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web, HttpRequest, HttpResponse, Result as ActixResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/app/models.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/app/models.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/app/views.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/survey/models.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlite::{State,Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/survey/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as ActixResult` [INFO] [stdout] --> src/survey/models.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web, HttpRequest, HttpResponse, Result as ActixResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/survey/models.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/survey/models.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/survey/views.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Answer`, `Question` [INFO] [stdout] --> src/survey/views.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::survey::models::{Question, Answer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/survey/views.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::db::{ get_conn }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInstanceContext` [INFO] [stdout] --> src/main.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::app_context::{AppContext,AppInstanceContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/views.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | Ok((tera, mut context)) => { [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/app/views.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((tera, mut context)) => { [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/app/views.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((tera, mut context)) => { [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/app/views.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut app_instance = AppInstanceContext::new(); [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/survey/views.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut app_instance = AppInstanceContext::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/core/views.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn process_url_load_flags(flags: &mut LoadFlags, rb: &mut ResponseBuilder) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb` [INFO] [stdout] --> src/core/views.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | fn process_url_load_flags(flags: &mut LoadFlags, rb: &mut ResponseBuilder) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/app/views.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/app/views.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/app/views.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/app/views.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/app/views.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/app/views.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_type_name` [INFO] [stdout] --> src/core/models.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_type_name<'a>(statement: &'a sqlite::Statement, index: usize) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/core/models.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_string(statement: &sqlite::Statement, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_int` [INFO] [stdout] --> src/core/models.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_int(statement: &sqlite::Statement, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LoadFlags` [INFO] [stdout] --> src/core/views.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct LoadFlags { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_url_load_flags` [INFO] [stdout] --> src/core/views.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn process_url_load_flags(flags: &mut LoadFlags, rb: &mut ResponseBuilder) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/views.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | offset: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/app/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new() -> User { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_list` [INFO] [stdout] --> src/app/models.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn get_user_list() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_count` [INFO] [stdout] --> src/app/models.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn get_user_count<'a>(connection: &mut sqlite::Connection) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/survey/views.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn index<'a>(_req: HttpRequest, data: web::Data) -> HttpResponse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 24s [INFO] running `Command { std: "docker" "inspect" "a9e5e312c3694f5ea4b10ef2dd9263d8de542d6f1c3fb5f48fee964273939b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e5e312c3694f5ea4b10ef2dd9263d8de542d6f1c3fb5f48fee964273939b57", kill_on_drop: false }` [INFO] [stdout] a9e5e312c3694f5ea4b10ef2dd9263d8de542d6f1c3fb5f48fee964273939b57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdfa79febedd75ab19cc023be36e0d8aa15eabee352b157b531e6e6262424ad1 [INFO] running `Command { std: "docker" "start" "-a" "bdfa79febedd75ab19cc023be36e0d8aa15eabee352b157b531e6e6262424ad1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_vue_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `val_text` [INFO] [stdout] --> src/macros.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! val_text { ($field:expr) => { format!("'{}'", &$field) } } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `val_int` [INFO] [stdout] --> src/macros.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! val_int { ($field:expr) => { format!("{}", &$field) } } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `col_int_key` [INFO] [stdout] --> src/macros.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! col_int_key { ($field:expr) => { col_def!($field,"INTEGER PRIMARY KEY ASC") } } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `drop_table` [INFO] [stdout] --> src/macros.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! drop_table { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/core/models.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `Error` [INFO] [stdout] --> src/core/models.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlite::{Type,Error,Connection,Statement}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `StatusCode` [INFO] [stdout] --> src/core/views.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | StatusCode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | dev::{ Body } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::views` [INFO] [stdout] --> src/urls.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::views; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrudModel` [INFO] [stdout] --> src/urls.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::views::{CrudModel}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/views.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::http::{StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> src/views.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::dev::{ Body }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/views.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use tera::{Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_users` [INFO] [stdout] --> src/views.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::app::models::{get_users}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_template_context` [INFO] [stdout] --> src/views.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::utils::{get_template_context}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/views.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/app/models.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlite::{State,Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/app/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as ActixResult` [INFO] [stdout] --> src/app/models.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web, HttpRequest, HttpResponse, Result as ActixResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/app/models.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/app/models.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/app/views.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Statement` [INFO] [stdout] --> src/survey/models.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlite::{State,Statement}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/survey/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result as ActixResult` [INFO] [stdout] --> src/survey/models.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web, HttpRequest, HttpResponse, Result as ActixResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/survey/models.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::db::{get_conn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/survey/models.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/survey/views.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Answer`, `Question` [INFO] [stdout] --> src/survey/views.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::survey::models::{Question, Answer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_conn` [INFO] [stdout] --> src/survey/views.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::db::{ get_conn }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInstanceContext` [INFO] [stdout] --> src/main.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::app_context::{AppContext,AppInstanceContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::Service` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use actix_web::dev::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `http`, `test`, `web` [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | use actix_web::{http, test, web, App, Error}; [INFO] [stdout] | ^^^^ ^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/views.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | Ok((tera, mut context)) => { [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/app/views.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((tera, mut context)) => { [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/app/views.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((tera, mut context)) => { [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/app/views.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut app_instance = AppInstanceContext::new(); [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/survey/views.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut app_instance = AppInstanceContext::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/core/views.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn process_url_load_flags(flags: &mut LoadFlags, rb: &mut ResponseBuilder) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rb` [INFO] [stdout] --> src/core/views.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | fn process_url_load_flags(flags: &mut LoadFlags, rb: &mut ResponseBuilder) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/app/views.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/app/views.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/app/views.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/app/views.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/app/views.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/app/views.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | Ok((tera, mut context)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_type_name` [INFO] [stdout] --> src/core/models.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_type_name<'a>(statement: &'a sqlite::Statement, index: usize) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_string` [INFO] [stdout] --> src/core/models.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_string(statement: &sqlite::Statement, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_int` [INFO] [stdout] --> src/core/models.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_int(statement: &sqlite::Statement, index: usize) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LoadFlags` [INFO] [stdout] --> src/core/views.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct LoadFlags { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_url_load_flags` [INFO] [stdout] --> src/core/views.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn process_url_load_flags(flags: &mut LoadFlags, rb: &mut ResponseBuilder) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/views.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | offset: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/app/models.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new() -> User { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_list` [INFO] [stdout] --> src/app/models.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn get_user_list() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_count` [INFO] [stdout] --> src/app/models.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn get_user_count<'a>(connection: &mut sqlite::Connection) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/survey/views.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn index<'a>(_req: HttpRequest, data: web::Data) -> HttpResponse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 35.89s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_vue_app-36cad37ea8182fe6) [INFO] running `Command { std: "docker" "inspect" "bdfa79febedd75ab19cc023be36e0d8aa15eabee352b157b531e6e6262424ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdfa79febedd75ab19cc023be36e0d8aa15eabee352b157b531e6e6262424ad1", kill_on_drop: false }` [INFO] [stdout] bdfa79febedd75ab19cc023be36e0d8aa15eabee352b157b531e6e6262424ad1