[INFO] updating cached repository https://github.com/japarado/vess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 081359090b4dd49bb7f56adb9f627e307e0d8a47 [INFO] testing japarado/vess against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaparado%2Fvess" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/japarado/vess on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/japarado/vess [INFO] finished tweaking git repo https://github.com/japarado/vess [INFO] tweaked toml for git repo https://github.com/japarado/vess written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/japarado/vess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba32473475db94775ea8a4a1e07f695f20f72082437f384468a404645ee3033c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba32473475db94775ea8a4a1e07f695f20f72082437f384468a404645ee3033c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba32473475db94775ea8a4a1e07f695f20f72082437f384468a404645ee3033c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba32473475db94775ea8a4a1e07f695f20f72082437f384468a404645ee3033c", kill_on_drop: false }` [INFO] [stdout] ba32473475db94775ea8a4a1e07f695f20f72082437f384468a404645ee3033c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab979cfcaa7dd9412bc1831a429cb2c7697cfbead3462e498327a4f2c35c1af5 [INFO] running `Command { std: "docker" "start" "-a" "ab979cfcaa7dd9412bc1831a429cb2c7697cfbead3462e498327a4f2c35c1af5", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling rust-argon2 v0.8.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.33 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [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.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling frank_jwt v3.1.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 actix-session v0.3.0 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling actix-identity v0.2.1 [INFO] [stderr] Compiling vess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BlockingError`, `Error` [INFO] [stdout] --> src/controllers/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::error::{BlockingError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/controllers/auth_controller.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use argon2::{self, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude::*` [INFO] [stdout] --> src/controllers/auth_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/controllers/auth_controller.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/controllers/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiple` [INFO] [stdout] --> src/controllers/comment_controller.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::{Multiple, Single}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::repositories::tag_repository` [INFO] [stdout] --> src/controllers/tag_controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::repositories::tag_repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ok_closure` [INFO] [stdout] --> src/controllers/user_controller.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{ok_closure, AppData, GenericResponse, IdPath}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `post` [INFO] [stdout] --> src/controllers/user_controller.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{delete, get, patch, post, web, HttpResponse}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/models/comment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::post::Post` [INFO] [stdout] --> src/repositories/comment_repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::post::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::tag::Tag` [INFO] [stdout] --> src/repositories/post_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::tag::Tag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/services/comment_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::prelude; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ServiceError` [INFO] [stdout] --> src/services/comment_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::ServiceError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiple` [INFO] [stdout] --> src/services/comment_service.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::{Multiple, Single}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `comments`, `users` [INFO] [stdout] --> src/services/comment_service.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::{comments, users}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::comment::Comment` [INFO] [stdout] --> src/services/post_service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::comment::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FullTag` [INFO] [stdout] --> src/services/tag_service.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::tag::{FullTag, NewTag, Tag}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/repositories/comment_repository.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn index(conn: &Conn) -> Multiple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update` [INFO] [stdout] --> src/repositories/comment_repository.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update(conn: &Conn, id: &i32, new_comment: NewComment) -> Single { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 01s [INFO] running `Command { std: "docker" "inspect" "ab979cfcaa7dd9412bc1831a429cb2c7697cfbead3462e498327a4f2c35c1af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab979cfcaa7dd9412bc1831a429cb2c7697cfbead3462e498327a4f2c35c1af5", kill_on_drop: false }` [INFO] [stdout] ab979cfcaa7dd9412bc1831a429cb2c7697cfbead3462e498327a4f2c35c1af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c323bdded176691f42b808dee183ef5a430de98128c6761c35bd17438fd152f5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c323bdded176691f42b808dee183ef5a430de98128c6761c35bd17438fd152f5", kill_on_drop: false }` [INFO] [stderr] Compiling vess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BlockingError`, `Error` [INFO] [stdout] --> src/controllers/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::error::{BlockingError, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/controllers/auth_controller.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use argon2::{self, Config}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude::*` [INFO] [stdout] --> src/controllers/auth_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::Error` [INFO] [stdout] --> src/controllers/auth_controller.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use diesel::result::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/controllers/auth_controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiple` [INFO] [stdout] --> src/controllers/comment_controller.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::{Multiple, Single}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::repositories::tag_repository` [INFO] [stdout] --> src/controllers/tag_controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::repositories::tag_repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ok_closure` [INFO] [stdout] --> src/controllers/user_controller.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{ok_closure, AppData, GenericResponse, IdPath}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete`, `post` [INFO] [stdout] --> src/controllers/user_controller.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{delete, get, patch, post, web, HttpResponse}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/models/comment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::post::Post` [INFO] [stdout] --> src/repositories/comment_repository.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::post::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::tag::Tag` [INFO] [stdout] --> src/repositories/post_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::tag::Tag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::prelude` [INFO] [stdout] --> src/services/comment_service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::prelude; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ServiceError` [INFO] [stdout] --> src/services/comment_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::errors::ServiceError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiple` [INFO] [stdout] --> src/services/comment_service.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::{Multiple, Single}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `comments`, `users` [INFO] [stdout] --> src/services/comment_service.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::{comments, users}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::comment::Comment` [INFO] [stdout] --> src/services/post_service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::comment::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FullTag` [INFO] [stdout] --> src/services/tag_service.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::tag::{FullTag, NewTag, Tag}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/repositories/comment_repository.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn index(conn: &Conn) -> Multiple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update` [INFO] [stdout] --> src/repositories/comment_repository.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update(conn: &Conn, id: &i32, new_comment: NewComment) -> Single { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.36s [INFO] running `Command { std: "docker" "inspect" "c323bdded176691f42b808dee183ef5a430de98128c6761c35bd17438fd152f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c323bdded176691f42b808dee183ef5a430de98128c6761c35bd17438fd152f5", kill_on_drop: false }` [INFO] [stdout] c323bdded176691f42b808dee183ef5a430de98128c6761c35bd17438fd152f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e11ebe0c8a706475d8c84b92fd2e3967edf4e0a5f6eaec155774bd9692c7fe3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e11ebe0c8a706475d8c84b92fd2e3967edf4e0a5f6eaec155774bd9692c7fe3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `BlockingError`, `Error` [INFO] [stderr] --> src/controllers/mod.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::error::{BlockingError, Error}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Config` [INFO] [stderr] --> src/controllers/auth_controller.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use argon2::{self, Config}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude::*` [INFO] [stderr] --> src/controllers/auth_controller.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use diesel::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::result::Error` [INFO] [stderr] --> src/controllers/auth_controller.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use diesel::result::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/controllers/auth_controller.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Multiple` [INFO] [stderr] --> src/controllers/comment_controller.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::models::{Multiple, Single}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::repositories::tag_repository` [INFO] [stderr] --> src/controllers/tag_controller.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::repositories::tag_repository; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ok_closure` [INFO] [stderr] --> src/controllers/user_controller.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{ok_closure, AppData, GenericResponse, IdPath}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `delete`, `post` [INFO] [stderr] --> src/controllers/user_controller.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{delete, get, patch, post, web, HttpResponse}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::web::Json` [INFO] [stderr] --> src/models/comment.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::web::Json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::post::Post` [INFO] [stderr] --> src/repositories/comment_repository.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::models::post::Post; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::tag::Tag` [INFO] [stderr] --> src/repositories/post_repository.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::tag::Tag; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diesel::prelude` [INFO] [stderr] --> src/services/comment_service.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::prelude; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::errors::ServiceError` [INFO] [stderr] --> src/services/comment_service.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::errors::ServiceError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Multiple` [INFO] [stderr] --> src/services/comment_service.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::models::{Multiple, Single}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `comments`, `users` [INFO] [stderr] --> src/services/comment_service.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::schema::{comments, users}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::comment::Comment` [INFO] [stderr] --> src/services/post_service.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::comment::Comment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FullTag` [INFO] [stderr] --> src/services/tag_service.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::tag::{FullTag, NewTag, Tag}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadRequest` [INFO] [stderr] --> src/errors.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | BadRequest(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index` [INFO] [stderr] --> src/repositories/comment_repository.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn index(conn: &Conn) -> Multiple { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update` [INFO] [stderr] --> src/repositories/comment_repository.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn update(conn: &Conn, id: &i32, new_comment: NewComment) -> Single { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/vess-d5270b51258eb85d [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e11ebe0c8a706475d8c84b92fd2e3967edf4e0a5f6eaec155774bd9692c7fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e11ebe0c8a706475d8c84b92fd2e3967edf4e0a5f6eaec155774bd9692c7fe3", kill_on_drop: false }` [INFO] [stdout] 2e11ebe0c8a706475d8c84b92fd2e3967edf4e0a5f6eaec155774bd9692c7fe3