[INFO] cloning repository https://github.com/Nugine/pastebin-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nugine/pastebin-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNugine%2Fpastebin-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNugine%2Fpastebin-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d93bf6b2023078497f3929a8da10ab822e3e5c9f
[INFO] testing Nugine/pastebin-server against beta-2020-08-29 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNugine%2Fpastebin-server" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nugine/pastebin-server on toolchain beta-2020-08-29
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Nugine/pastebin-server
[INFO] finished tweaking git repo https://github.com/Nugine/pastebin-server
[INFO] tweaked toml for git repo https://github.com/Nugine/pastebin-server written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Nugine/pastebin-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded base32 v0.4.0
[INFO] [stderr]   Downloaded signal-hook v0.1.10
[INFO] [stderr]   Downloaded crc-any v2.0.0
[INFO] [stderr]   Downloaded redis v0.10.0
[INFO] [stderr]   Downloaded atty v0.2.12
[INFO] [stderr]   Downloaded ascii v0.9.2
[INFO] [stderr]   Downloaded base64-url v1.1.7
[INFO] [stderr]   Downloaded short-crypt v1.0.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 671d434cad441e7a0bcc91ceb5ff65448b8269553d0263238a0b0c8e78aafb23
[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" "671d434cad441e7a0bcc91ceb5ff65448b8269553d0263238a0b0c8e78aafb23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "671d434cad441e7a0bcc91ceb5ff65448b8269553d0263238a0b0c8e78aafb23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "671d434cad441e7a0bcc91ceb5ff65448b8269553d0263238a0b0c8e78aafb23", kill_on_drop: false }`
[INFO] [stdout] 671d434cad441e7a0bcc91ceb5ff65448b8269553d0263238a0b0c8e78aafb23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 493dbb344681a15cf1b4d2b9d07d22e27ebeee5c7617523ea486ad8329d87fa1
[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" "493dbb344681a15cf1b4d2b9d07d22e27ebeee5c7617523ea486ad8329d87fa1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]    Compiling futures v0.1.28
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.15
[INFO] [stderr]    Compiling regex v1.1.9
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.3
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling arc-swap v0.3.11
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.17
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling dtoa v0.4.4
[INFO] [stderr]    Compiling hashbrown v0.5.0
[INFO] [stderr]    Compiling ascii v0.9.2
[INFO] [stderr]    Compiling redis v0.10.0
[INFO] [stderr]    Compiling crc-any v2.0.0
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling backtrace-sys v0.1.30
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling regex-syntax v0.6.8
[INFO] [stderr]    Compiling unicase v2.4.0
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.8
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling aho-corasick v0.7.4
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling tokio-executor v0.1.8
[INFO] [stderr]    Compiling tokio-sync v0.1.6
[INFO] [stderr]    Compiling actix-service v0.4.1
[INFO] [stderr]    Compiling base64-url v1.1.7
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling socket2 v0.3.9
[INFO] [stderr]    Compiling hostname v0.1.5
[INFO] [stderr]    Compiling getrandom v0.1.6
[INFO] [stderr]    Compiling signal-hook-registry v1.0.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling atty v0.2.12
[INFO] [stderr]    Compiling mime v0.3.13
[INFO] [stderr]    Compiling tokio-timer v0.2.11
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling short-crypt v1.0.8
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling backtrace v0.3.32
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling resolv-conf v0.6.2
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling flate2 v1.0.9
[INFO] [stderr]    Compiling rand_core v0.5.0
[INFO] [stderr]    Compiling signal-hook v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling http v0.1.17
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling chrono v0.4.7
[INFO] [stderr]    Compiling rand_chacha v0.2.0
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling rand v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling actix-codec v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling actix-utils v0.4.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-udp v0.1.3
[INFO] [stderr]    Compiling tokio-signal v0.2.7
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling actix-server-config v0.1.1
[INFO] [stderr]    Compiling h2 v0.1.25
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling derive_more v0.14.1
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]    Compiling enum-as-inner v0.2.1
[INFO] [stderr]    Compiling derive_more v0.15.0
[INFO] [stderr]    Compiling actix-web-codegen v0.1.2
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling trust-dns-proto v0.7.4
[INFO] [stderr]    Compiling dotenv v0.14.1
[INFO] [stderr]    Compiling actix-threadpool v0.1.1
[INFO] [stderr]    Compiling actix-rt v0.2.3
[INFO] [stderr]    Compiling actix-server v0.5.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.11.1
[INFO] [stderr]    Compiling actix-connect v0.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling actix-router v0.1.5
[INFO] [stderr]    Compiling actix-http v0.2.5
[INFO] [stderr]    Compiling awc v0.2.2
[INFO] [stderr]    Compiling actix-web v1.0.3
[INFO] [stderr]    Compiling pastebin-server v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]  --> src/data/key.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 |     static ref SC: ShortCrypt = { ShortCrypt::new(&*CRYPT_KEY) };
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub static ref MAX_STORE_SIZE: usize = { parse("PASTEBIN_MAX_STORE_SIZE", 100 * 1024 * 1024) };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub static ref MAX_POST_SIZE: usize = { parse("PASTEBIN_MAX_POST_SIZE", 32 * 1024) };
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub static ref MAX_EXPIRATION: SecTime = { parse("PASTEBIN_MAX_EXPIRATION", 7 * 24 * 60 * 60) };
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub static ref CLEAN_DURATION: u64 = { parse("PASTEBIN_CLEAN_DURATION", 5000) };
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub static ref ADDR: String = { env::var("PASTEBIN_ADDR").unwrap_or(DEFAULT_ADDR.into()) };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         { env::var("PASTEBIN_CRYPT_KEY").unwrap_or(DEFAULT_CRYPT_KEY.into()) };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:38:48
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub static ref REDIS_URL: Option<String> = { env::var("PASTEBIN_REDIS_URL").ok() };
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 43s
[INFO] running `Command { std: "docker" "inspect" "493dbb344681a15cf1b4d2b9d07d22e27ebeee5c7617523ea486ad8329d87fa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "493dbb344681a15cf1b4d2b9d07d22e27ebeee5c7617523ea486ad8329d87fa1", kill_on_drop: false }`
[INFO] [stdout] 493dbb344681a15cf1b4d2b9d07d22e27ebeee5c7617523ea486ad8329d87fa1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d90ede7c14da3610bbc0f72b7907fb284bed38814f616aa6c52b5a9d9c3fe78b
[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" "d90ede7c14da3610bbc0f72b7907fb284bed38814f616aa6c52b5a9d9c3fe78b", kill_on_drop: false }`
[INFO] [stderr]    Compiling pastebin-server v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]  --> src/data/key.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 |     static ref SC: ShortCrypt = { ShortCrypt::new(&*CRYPT_KEY) };
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub static ref MAX_STORE_SIZE: usize = { parse("PASTEBIN_MAX_STORE_SIZE", 100 * 1024 * 1024) };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub static ref MAX_POST_SIZE: usize = { parse("PASTEBIN_MAX_POST_SIZE", 32 * 1024) };
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:33:46
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub static ref MAX_EXPIRATION: SecTime = { parse("PASTEBIN_MAX_EXPIRATION", 7 * 24 * 60 * 60) };
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub static ref CLEAN_DURATION: u64 = { parse("PASTEBIN_CLEAN_DURATION", 5000) };
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub static ref ADDR: String = { env::var("PASTEBIN_ADDR").unwrap_or(DEFAULT_ADDR.into()) };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         { env::var("PASTEBIN_CRYPT_KEY").unwrap_or(DEFAULT_CRYPT_KEY.into()) };
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/env.rs:38:48
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub static ref REDIS_URL: Option<String> = { env::var("PASTEBIN_REDIS_URL").ok() };
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.82s
[INFO] running `Command { std: "docker" "inspect" "d90ede7c14da3610bbc0f72b7907fb284bed38814f616aa6c52b5a9d9c3fe78b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d90ede7c14da3610bbc0f72b7907fb284bed38814f616aa6c52b5a9d9c3fe78b", kill_on_drop: false }`
[INFO] [stdout] d90ede7c14da3610bbc0f72b7907fb284bed38814f616aa6c52b5a9d9c3fe78b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 39017ce211fb5acf19f5f0209b01852710569f7a55d4d4004eadcad4953b05ad
[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" "39017ce211fb5acf19f5f0209b01852710569f7a55d4d4004eadcad4953b05ad", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]  --> src/data/key.rs:9:33
[INFO] [stderr]   |
[INFO] [stderr] 9 |     static ref SC: ShortCrypt = { ShortCrypt::new(&*CRYPT_KEY) };
[INFO] [stderr]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:31:44
[INFO] [stderr]    |
[INFO] [stderr] 31 |     pub static ref MAX_STORE_SIZE: usize = { parse("PASTEBIN_MAX_STORE_SIZE", 100 * 1024 * 1024) };
[INFO] [stderr]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:32:43
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub static ref MAX_POST_SIZE: usize = { parse("PASTEBIN_MAX_POST_SIZE", 32 * 1024) };
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:33:46
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub static ref MAX_EXPIRATION: SecTime = { parse("PASTEBIN_MAX_EXPIRATION", 7 * 24 * 60 * 60) };
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:34:42
[INFO] [stderr]    |
[INFO] [stderr] 34 |     pub static ref CLEAN_DURATION: u64 = { parse("PASTEBIN_CLEAN_DURATION", 5000) };
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:35:35
[INFO] [stderr]    |
[INFO] [stderr] 35 |     pub static ref ADDR: String = { env::var("PASTEBIN_ADDR").unwrap_or(DEFAULT_ADDR.into()) };
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |         { env::var("PASTEBIN_CRYPT_KEY").unwrap_or(DEFAULT_CRYPT_KEY.into()) };
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/env.rs:38:48
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub static ref REDIS_URL: Option<String> = { env::var("PASTEBIN_REDIS_URL").ok() };
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/pastebin_server-6d68ddc2a3691497
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test data::dto::test_err_res ... ok
[INFO] [stdout] test data::key::test_key_nano ... ok
[INFO] [stdout] test time::test_now_nano ... ok
[INFO] [stdout] test mem_store::store::test_store ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "39017ce211fb5acf19f5f0209b01852710569f7a55d4d4004eadcad4953b05ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39017ce211fb5acf19f5f0209b01852710569f7a55d4d4004eadcad4953b05ad", kill_on_drop: false }`
[INFO] [stdout] 39017ce211fb5acf19f5f0209b01852710569f7a55d4d4004eadcad4953b05ad
