[INFO] cloning repository https://github.com/NolValue/atomic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NolValue/atomic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolValue%2Fatomic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolValue%2Fatomic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9d4e0183a28f9c62da939b9d28c2ed0963fd216
[INFO] testing NolValue/atomic against 1.47.0 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolValue%2Fatomic" "/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/NolValue/atomic on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/NolValue/atomic
[INFO] finished tweaking git repo https://github.com/NolValue/atomic
[INFO] tweaked toml for git repo https://github.com/NolValue/atomic written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/NolValue/atomic already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] 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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1d40467a34e517020fa1520f6406d99297f194e4a56a6d052b827518b166209
[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" "f1d40467a34e517020fa1520f6406d99297f194e4a56a6d052b827518b166209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1d40467a34e517020fa1520f6406d99297f194e4a56a6d052b827518b166209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1d40467a34e517020fa1520f6406d99297f194e4a56a6d052b827518b166209", kill_on_drop: false }`
[INFO] [stdout] f1d40467a34e517020fa1520f6406d99297f194e4a56a6d052b827518b166209
[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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b1986d90d42b74c3f693b4357b1f170b1c4588ef384dead53d838125348f8da
[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" "1b1986d90d42b74c3f693b4357b1f170b1c4588ef384dead53d838125348f8da", 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]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling proc-macro-hack v0.5.16
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling base64 v0.12.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling inlinable_string v0.1.11
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling ubyte v0.9.1
[INFO] [stderr]    Compiling unchecked-index v0.2.2
[INFO] [stderr]    Compiling atomic v0.4.6
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.1.0 (https://github.com/SergioBenitez/proc-macro2-diagnostics.git?rev=13fbb43#13fbb43d)
[INFO] [stderr]    Compiling standback v0.2.9
[INFO] [stderr]    Compiling indexmap v1.4.0
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling time v0.2.16
[INFO] [stderr]    Compiling cookie v0.15.0-dev (https://github.com/SergioBenitez/cookie-rs.git?rev=3795f2e#3795f2e6)
[INFO] [stderr]    Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c)
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c)
[INFO] [stderr]    Compiling blake2b_simd v0.5.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling dashmap v4.0.0-rc6
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling twoway v0.2.1
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling rust-argon2 v0.8.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling block-cipher v0.7.1
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling aes-soft v0.4.0
[INFO] [stderr]    Compiling polyval v0.4.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hkdf v0.9.0
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.4
[INFO] [stderr]    Compiling ghash v0.3.0
[INFO] [stderr]    Compiling aes v0.4.0
[INFO] [stderr]    Compiling r2d2 v0.8.8
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling aes-gcm v0.6.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269)
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling pear_codegen v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556)
[INFO] [stderr]    Compiling ref-cast-impl v1.0.2
[INFO] [stderr]    Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269)
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling ref-cast v1.0.2
[INFO] [stderr]    Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269)
[INFO] [stderr]    Compiling rocket_contrib_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c)
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling pear v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556)
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling diesel v1.4.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling multer v1.2.2
[INFO] [stderr]    Compiling hyper v0.13.7
[INFO] [stderr]    Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c)
[INFO] [stderr]    Compiling rocket_contrib v0.5.0-dev (https://github.com/SergioBenitez/Rocket#f976c15c)
[INFO] [stderr]    Compiling atomic-serv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `get_following`
[INFO] [stdout]  --> src/follow/routes.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::follow::{create_follow, delete_follow, get_following};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Input`
[INFO] [stdout]  --> src/post/model.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use regex::internal::Input;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::data::ByteUnit`
[INFO] [stdout]  --> src/post/model.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rocket::data::ByteUnit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::io::BufWriter`
[INFO] [stdout]   --> src/post/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::futures::io::BufWriter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::TryFutureExt`
[INFO] [stdout]   --> src/post/model.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rocket::futures::TryFutureExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::outcome::Outcome::Success`
[INFO] [stdout]   --> src/post/model.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rocket::outcome::Outcome::Success;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::response::Stream`
[INFO] [stdout]   --> src/post/model.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rocket::response::Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::tokio`
[INFO] [stdout]   --> src/post/model.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rocket::tokio;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]   --> src/post/model.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::convert::Infallible;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `Bytes`
[INFO] [stdout]   --> src/post/model.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{BufReader, Bytes};
[INFO] [stdout]    |               ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::once`
[INFO] [stdout]   --> src/post/model.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::iter::once;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MediaType`, `Poll`
[INFO] [stdout]   --> src/post/model.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::media::model::{MediaType, Poll};
[INFO] [stdout]    |                           ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::result::Error`
[INFO] [stdout]  --> src/user/routes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::result::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::schema::media`
[INFO] [stdout]  --> src/media/model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::schema::media;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/auth/routes.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     mut cookies: &CookieJar<'_>,
[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/auth/routes.rs:40:55
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) {
[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/auth/routes.rs:55:60
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) {
[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/post/routes.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn update(mut post: Json<PostAlterable>, conn: AtomicDB, auth: Session) -> JsonValue {
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auth`
[INFO] [stdout]   --> src/post/routes.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue {
[INFO] [stdout]    |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_auth`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/follow/mod.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn create_follow(mut fol: Follow, conn: &PgConnection) -> i32 {
[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/follow/mod.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn delete_f_by_uid(mut fol: String, conn: &PgConnection) -> i32 {
[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/follow/mod.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn is_following(mut fol: Follow, conn: &PgConnection) -> bool{
[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/follow/mod.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn delete_follow(mut fol: Follow, conn: &PgConnection) -> i32 {
[INFO] [stdout]    |                      ----^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]   --> src/media/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     id: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `post`
[INFO] [stdout]   --> src/media/model.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     post: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `content_type`
[INFO] [stdout]   --> src/media/model.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     content_type: i16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `content`
[INFO] [stdout]   --> src/media/model.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     content: Value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapeamp` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |         static ref escapeamp: Regex = Regex::new(r"&").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEAMP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapegt` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |         static ref escapegt: Regex = Regex::new(r">").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^ help: convert the identifier to upper case: `ESCAPEGT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapelt` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |         static ref escapelt: Regex = Regex::new(r"<").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^ help: convert the identifier to upper case: `ESCAPELT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapequote` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |         static ref escapequote: Regex = Regex::new(r#"""#).unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEQUOTE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapesingle` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |         static ref escapesingle: Regex = Regex::new(r"'").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapesingle` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |         static ref escapesingle: Regex = Regex::new(r"/").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapebold` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |         static ref escapebold: Regex = Regex::new(r"(\\\*)+").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEBOLD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapeitalics` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         static ref escapeitalics: Regex = Regex::new(r"(\\_)+").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEITALICS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapestrike` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |         static ref escapestrike: Regex = Regex::new(r"(\\~)+").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESTRIKE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `bold` should have an upper case name
[INFO] [stdout]    --> src/utils/mod.rs:104:20
[INFO] [stdout]     |
[INFO] [stdout] 104 |         static ref bold: Regex = Regex::new(r"(?s)(\*(?P<inner>.*?)\*)").unwrap();
[INFO] [stdout]     |                    ^^^^ help: convert the identifier to upper case: `BOLD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `italics` should have an upper case name
[INFO] [stdout]    --> src/utils/mod.rs:110:20
[INFO] [stdout]     |
[INFO] [stdout] 110 |         static ref italics: Regex = Regex::new(r"(?s)(_(?P<inner>.*?)_)").unwrap();
[INFO] [stdout]     |                    ^^^^^^^ help: convert the identifier to upper case: `ITALICS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `strike` should have an upper case name
[INFO] [stdout]    --> src/utils/mod.rs:116:20
[INFO] [stdout]     |
[INFO] [stdout] 116 |         static ref strike: Regex = Regex::new(r"(?s)(~(?P<inner>.*?)~)").unwrap();
[INFO] [stdout]     |                    ^^^^^^ help: convert the identifier to upper case: `STRIKE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 39 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 12s
[INFO] running `Command { std: "docker" "inspect" "1b1986d90d42b74c3f693b4357b1f170b1c4588ef384dead53d838125348f8da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b1986d90d42b74c3f693b4357b1f170b1c4588ef384dead53d838125348f8da", kill_on_drop: false }`
[INFO] [stdout] 1b1986d90d42b74c3f693b4357b1f170b1c4588ef384dead53d838125348f8da
[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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6b4fa9bf0b74162675c91cfae7a4c3980a5f8e8aa81078c9c5c7a1d06c816586
[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" "6b4fa9bf0b74162675c91cfae7a4c3980a5f8e8aa81078c9c5c7a1d06c816586", kill_on_drop: false }`
[INFO] [stderr]    Compiling atomic-serv v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `get_following`
[INFO] [stdout]  --> src/follow/routes.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::follow::{create_follow, delete_follow, get_following};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::internal::Input`
[INFO] [stdout]  --> src/post/model.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use regex::internal::Input;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::data::ByteUnit`
[INFO] [stdout]  --> src/post/model.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rocket::data::ByteUnit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::io::BufWriter`
[INFO] [stdout]   --> src/post/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::futures::io::BufWriter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::TryFutureExt`
[INFO] [stdout]   --> src/post/model.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rocket::futures::TryFutureExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::outcome::Outcome::Success`
[INFO] [stdout]   --> src/post/model.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rocket::outcome::Outcome::Success;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::response::Stream`
[INFO] [stdout]   --> src/post/model.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rocket::response::Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::tokio`
[INFO] [stdout]   --> src/post/model.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rocket::tokio;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]   --> src/post/model.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::convert::Infallible;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `Bytes`
[INFO] [stdout]   --> src/post/model.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{BufReader, Bytes};
[INFO] [stdout]    |               ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::once`
[INFO] [stdout]   --> src/post/model.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::iter::once;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MediaType`, `Poll`
[INFO] [stdout]   --> src/post/model.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::media::model::{MediaType, Poll};
[INFO] [stdout]    |                           ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::result::Error`
[INFO] [stdout]  --> src/user/routes.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use diesel::result::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::schema::media`
[INFO] [stdout]  --> src/media/model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::schema::media;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/auth/routes.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     mut cookies: &CookieJar<'_>,
[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/auth/routes.rs:40:55
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) {
[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/auth/routes.rs:55:60
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) {
[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/post/routes.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn update(mut post: Json<PostAlterable>, conn: AtomicDB, auth: Session) -> JsonValue {
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auth`
[INFO] [stdout]   --> src/post/routes.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue {
[INFO] [stdout]    |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_auth`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/follow/mod.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn create_follow(mut fol: Follow, conn: &PgConnection) -> i32 {
[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/follow/mod.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn delete_f_by_uid(mut fol: String, conn: &PgConnection) -> i32 {
[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/follow/mod.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn is_following(mut fol: Follow, conn: &PgConnection) -> bool{
[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/follow/mod.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn delete_follow(mut fol: Follow, conn: &PgConnection) -> i32 {
[INFO] [stdout]    |                      ----^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]   --> src/media/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     id: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `post`
[INFO] [stdout]   --> src/media/model.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     post: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `content_type`
[INFO] [stdout]   --> src/media/model.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     content_type: i16,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `content`
[INFO] [stdout]   --> src/media/model.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     content: Value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapeamp` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |         static ref escapeamp: Regex = Regex::new(r"&").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEAMP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapegt` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |         static ref escapegt: Regex = Regex::new(r">").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^ help: convert the identifier to upper case: `ESCAPEGT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapelt` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |         static ref escapelt: Regex = Regex::new(r"<").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^ help: convert the identifier to upper case: `ESCAPELT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapequote` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:60:20
[INFO] [stdout]    |
[INFO] [stdout] 60 |         static ref escapequote: Regex = Regex::new(r#"""#).unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEQUOTE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapesingle` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 67 |         static ref escapesingle: Regex = Regex::new(r"'").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapesingle` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |         static ref escapesingle: Regex = Regex::new(r"/").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapebold` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |         static ref escapebold: Regex = Regex::new(r"(\\\*)+").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEBOLD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapeitalics` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         static ref escapeitalics: Regex = Regex::new(r"(\\_)+").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEITALICS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `escapestrike` should have an upper case name
[INFO] [stdout]   --> src/utils/mod.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |         static ref escapestrike: Regex = Regex::new(r"(\\~)+").unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESTRIKE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `bold` should have an upper case name
[INFO] [stdout]    --> src/utils/mod.rs:104:20
[INFO] [stdout]     |
[INFO] [stdout] 104 |         static ref bold: Regex = Regex::new(r"(?s)(\*(?P<inner>.*?)\*)").unwrap();
[INFO] [stdout]     |                    ^^^^ help: convert the identifier to upper case: `BOLD`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `italics` should have an upper case name
[INFO] [stdout]    --> src/utils/mod.rs:110:20
[INFO] [stdout]     |
[INFO] [stdout] 110 |         static ref italics: Regex = Regex::new(r"(?s)(_(?P<inner>.*?)_)").unwrap();
[INFO] [stdout]     |                    ^^^^^^^ help: convert the identifier to upper case: `ITALICS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `strike` should have an upper case name
[INFO] [stdout]    --> src/utils/mod.rs:116:20
[INFO] [stdout]     |
[INFO] [stdout] 116 |         static ref strike: Regex = Regex::new(r"(?s)(~(?P<inner>.*?)~)").unwrap();
[INFO] [stdout]     |                    ^^^^^^ help: convert the identifier to upper case: `STRIKE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 39 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 12.11s
[INFO] running `Command { std: "docker" "inspect" "6b4fa9bf0b74162675c91cfae7a4c3980a5f8e8aa81078c9c5c7a1d06c816586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b4fa9bf0b74162675c91cfae7a4c3980a5f8e8aa81078c9c5c7a1d06c816586", kill_on_drop: false }`
[INFO] [stdout] 6b4fa9bf0b74162675c91cfae7a4c3980a5f8e8aa81078c9c5c7a1d06c816586
[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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 787a977d456012448cf1b9713b8df3c828749cfdc50c16446c8c324e6da4a3f8
[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" "787a977d456012448cf1b9713b8df3c828749cfdc50c16446c8c324e6da4a3f8", 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] warning: unused import: `get_following`
[INFO] [stderr]  --> src/follow/routes.rs:4:51
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::follow::{create_follow, delete_follow, get_following};
[INFO] [stderr]   |                                                   ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `regex::internal::Input`
[INFO] [stderr]  --> src/post/model.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use regex::internal::Input;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::data::ByteUnit`
[INFO] [stderr]  --> src/post/model.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rocket::data::ByteUnit;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::futures::io::BufWriter`
[INFO] [stderr]   --> src/post/model.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use rocket::futures::io::BufWriter;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::futures::TryFutureExt`
[INFO] [stderr]   --> src/post/model.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use rocket::futures::TryFutureExt;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::outcome::Outcome::Success`
[INFO] [stderr]   --> src/post/model.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use rocket::outcome::Outcome::Success;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::response::Stream`
[INFO] [stderr]   --> src/post/model.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use rocket::response::Stream;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rocket::tokio`
[INFO] [stderr]   --> src/post/model.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use rocket::tokio;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::convert::Infallible`
[INFO] [stderr]   --> src/post/model.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::convert::Infallible;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufReader`, `Bytes`
[INFO] [stderr]   --> src/post/model.rs:18:15
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::io::{BufReader, Bytes};
[INFO] [stderr]    |               ^^^^^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::iter::once`
[INFO] [stderr]   --> src/post/model.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | use std::iter::once;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `MediaType`, `Poll`
[INFO] [stderr]   --> src/post/model.rs:21:27
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::media::model::{MediaType, Poll};
[INFO] [stderr]    |                           ^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::result::Error`
[INFO] [stderr]  --> src/user/routes.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use diesel::result::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::schema::media`
[INFO] [stderr]  --> src/media/model.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::schema::media;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/auth/routes.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     mut cookies: &CookieJar<'_>,
[INFO] [stderr]    |     ----^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/auth/routes.rs:40:55
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub async fn logout(session: Session, conn: AtomicDB, mut cookies: &CookieJar<'_>) {
[INFO] [stderr]    |                                                       ----^^^^^^^
[INFO] [stderr]    |                                                       |
[INFO] [stderr]    |                                                       help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/auth/routes.rs:55:60
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub async fn refresh(session: SessionFull, conn: AtomicDB, mut cookies: &CookieJar<'_>) {
[INFO] [stderr]    |                                                            ----^^^^^^^
[INFO] [stderr]    |                                                            |
[INFO] [stderr]    |                                                            help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/post/routes.rs:15:21
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub async fn update(mut post: Json<PostAlterable>, conn: AtomicDB, auth: Session) -> JsonValue {
[INFO] [stderr]    |                     ----^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `auth`
[INFO] [stderr]   --> src/post/routes.rs:10:49
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub async fn create(post: Post, conn: AtomicDB, auth: Session) -> JsonValue {
[INFO] [stderr]    |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_auth`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/follow/mod.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn create_follow(mut fol: Follow, conn: &PgConnection) -> i32 {
[INFO] [stderr]   |                      ----^^^
[INFO] [stderr]   |                      |
[INFO] [stderr]   |                      help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/follow/mod.rs:17:24
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn delete_f_by_uid(mut fol: String, conn: &PgConnection) -> i32 {
[INFO] [stderr]    |                        ----^^^
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/follow/mod.rs:24:21
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub fn is_following(mut fol: Follow, conn: &PgConnection) -> bool{
[INFO] [stderr]    |                     ----^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/follow/mod.rs:35:22
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn delete_follow(mut fol: Follow, conn: &PgConnection) -> i32 {
[INFO] [stderr]    |                      ----^^^
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `id`
[INFO] [stderr]   --> src/media/model.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     id: String,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `post`
[INFO] [stderr]   --> src/media/model.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     post: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `content_type`
[INFO] [stderr]   --> src/media/model.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     content_type: i16,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `content`
[INFO] [stderr]   --> src/media/model.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     content: Value
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapeamp` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:40:20
[INFO] [stderr]    |
[INFO] [stderr] 40 |         static ref escapeamp: Regex = Regex::new(r"&").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEAMP`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapegt` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:47:20
[INFO] [stderr]    |
[INFO] [stderr] 47 |         static ref escapegt: Regex = Regex::new(r">").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^ help: convert the identifier to upper case: `ESCAPEGT`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapelt` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:54:20
[INFO] [stderr]    |
[INFO] [stderr] 54 |         static ref escapelt: Regex = Regex::new(r"<").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^ help: convert the identifier to upper case: `ESCAPELT`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapequote` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:60:20
[INFO] [stderr]    |
[INFO] [stderr] 60 |         static ref escapequote: Regex = Regex::new(r#"""#).unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEQUOTE`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapesingle` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:67:20
[INFO] [stderr]    |
[INFO] [stderr] 67 |         static ref escapesingle: Regex = Regex::new(r"'").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapesingle` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:73:20
[INFO] [stderr]    |
[INFO] [stderr] 73 |         static ref escapesingle: Regex = Regex::new(r"/").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESINGLE`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapebold` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:86:20
[INFO] [stderr]    |
[INFO] [stderr] 86 |         static ref escapebold: Regex = Regex::new(r"(\\\*)+").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEBOLD`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapeitalics` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:92:20
[INFO] [stderr]    |
[INFO] [stderr] 92 |         static ref escapeitalics: Regex = Regex::new(r"(\\_)+").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPEITALICS`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `escapestrike` should have an upper case name
[INFO] [stderr]   --> src/utils/mod.rs:98:20
[INFO] [stderr]    |
[INFO] [stderr] 98 |         static ref escapestrike: Regex = Regex::new(r"(\\~)+").unwrap();
[INFO] [stderr]    |                    ^^^^^^^^^^^^ help: convert the identifier to upper case: `ESCAPESTRIKE`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `bold` should have an upper case name
[INFO] [stderr]    --> src/utils/mod.rs:104:20
[INFO] [stderr]     |
[INFO] [stderr] 104 |         static ref bold: Regex = Regex::new(r"(?s)(\*(?P<inner>.*?)\*)").unwrap();
[INFO] [stderr]     |                    ^^^^ help: convert the identifier to upper case: `BOLD`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `italics` should have an upper case name
[INFO] [stderr]    --> src/utils/mod.rs:110:20
[INFO] [stderr]     |
[INFO] [stderr] 110 |         static ref italics: Regex = Regex::new(r"(?s)(_(?P<inner>.*?)_)").unwrap();
[INFO] [stderr]     |                    ^^^^^^^ help: convert the identifier to upper case: `ITALICS`
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `strike` should have an upper case name
[INFO] [stderr]    --> src/utils/mod.rs:116:20
[INFO] [stderr]     |
[INFO] [stderr] 116 |         static ref strike: Regex = Regex::new(r"(?s)(~(?P<inner>.*?)~)").unwrap();
[INFO] [stderr]     |                    ^^^^^^ help: convert the identifier to upper case: `STRIKE`
[INFO] [stderr] 
[INFO] [stderr] warning: 39 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.72s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/atomic_serv-dc271ba2943f6a2f
[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" "787a977d456012448cf1b9713b8df3c828749cfdc50c16446c8c324e6da4a3f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "787a977d456012448cf1b9713b8df3c828749cfdc50c16446c8c324e6da4a3f8", kill_on_drop: false }`
[INFO] [stdout] 787a977d456012448cf1b9713b8df3c828749cfdc50c16446c8c324e6da4a3f8
