[INFO] cloning repository https://github.com/japarado/vess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/japarado/vess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaparado%2Fvess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaparado%2Fvess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 081359090b4dd49bb7f56adb9f627e307e0d8a47 [INFO] testing japarado/vess against master#61469b682c2b0bf9cebc4622f1859e2bb3b7ebca for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaparado%2Fvess" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/japarado/vess on toolchain 61469b682c2b0bf9cebc4622f1859e2bb3b7ebca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-25/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" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frank_jwt v3.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b28773f25cd77498b932490fb5fb14a712a32867928daa967ad0f1bc20807921 [INFO] running `Command { std: "docker" "start" "-a" "b28773f25cd77498b932490fb5fb14a712a32867928daa967ad0f1bc20807921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b28773f25cd77498b932490fb5fb14a712a32867928daa967ad0f1bc20807921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28773f25cd77498b932490fb5fb14a712a32867928daa967ad0f1bc20807921", kill_on_drop: false }` [INFO] [stdout] b28773f25cd77498b932490fb5fb14a712a32867928daa967ad0f1bc20807921 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ece1641ffe50567499b00d96f238b831aa652e2a0d6b9fcf80eca94b849a29e7 [INFO] running `Command { std: "docker" "start" "-a" "ece1641ffe50567499b00d96f238b831aa652e2a0d6b9fcf80eca94b849a29e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling memchr v2.3.3 [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 smallvec v1.4.0 [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 arc-swap v0.4.7 [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 cc v1.0.54 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [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 ppv-lite86 v0.2.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling openssl-sys v0.9.58 [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 time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling rust-argon2 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling env_logger v0.7.1 [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 brotli2 v0.3.2 [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 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 diesel_derives v1.4.1 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [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-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.5 [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 actix-http v1.0.1 [INFO] [stderr] Compiling frank_jwt v3.1.2 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-identity v0.2.1 [INFO] [stderr] Compiling actix-session v0.3.0 [INFO] [stderr] Compiling actix-cors v0.2.0 [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 37.26s [INFO] running `Command { std: "docker" "inspect" "ece1641ffe50567499b00d96f238b831aa652e2a0d6b9fcf80eca94b849a29e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece1641ffe50567499b00d96f238b831aa652e2a0d6b9fcf80eca94b849a29e7", kill_on_drop: false }` [INFO] [stdout] ece1641ffe50567499b00d96f238b831aa652e2a0d6b9fcf80eca94b849a29e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16c71b327bc705b6373d0c6b2a3e234b19bc34b93d9547daf9710addbf3dcae6 [INFO] running `Command { std: "docker" "start" "-a" "16c71b327bc705b6373d0c6b2a3e234b19bc34b93d9547daf9710addbf3dcae6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 5.53s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/vess-e35cbd1cebd118b6) [INFO] running `Command { std: "docker" "inspect" "16c71b327bc705b6373d0c6b2a3e234b19bc34b93d9547daf9710addbf3dcae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c71b327bc705b6373d0c6b2a3e234b19bc34b93d9547daf9710addbf3dcae6", kill_on_drop: false }` [INFO] [stdout] 16c71b327bc705b6373d0c6b2a3e234b19bc34b93d9547daf9710addbf3dcae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c725fc48c7310b05f58065afef23a4837cc407d63d378ec242fe268621c81994 [INFO] running `Command { std: "docker" "start" "-a" "c725fc48c7310b05f58065afef23a4837cc407d63d378ec242fe268621c81994", 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] note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Display)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `vess` (bin "vess" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vess-e35cbd1cebd118b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c725fc48c7310b05f58065afef23a4837cc407d63d378ec242fe268621c81994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c725fc48c7310b05f58065afef23a4837cc407d63d378ec242fe268621c81994", kill_on_drop: false }` [INFO] [stdout] c725fc48c7310b05f58065afef23a4837cc407d63d378ec242fe268621c81994