[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 1.46.0 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-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nugine/pastebin-server on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-2/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" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 949bc65fb8fbc1e39dec381f4d1681dc40cdd24a1720abf01417057d0b4f120f
[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" "949bc65fb8fbc1e39dec381f4d1681dc40cdd24a1720abf01417057d0b4f120f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "949bc65fb8fbc1e39dec381f4d1681dc40cdd24a1720abf01417057d0b4f120f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "949bc65fb8fbc1e39dec381f4d1681dc40cdd24a1720abf01417057d0b4f120f", kill_on_drop: false }`
[INFO] [stdout] 949bc65fb8fbc1e39dec381f4d1681dc40cdd24a1720abf01417057d0b4f120f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a55ba6c11a77f2b700ee7e26317009b92989debc7247fb631bd9bee59472370
[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" "8a55ba6c11a77f2b700ee7e26317009b92989debc7247fb631bd9bee59472370", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]    Compiling futures v0.1.28
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling ucd-util v0.1.3
[INFO] [stderr]    Compiling regex v1.1.9
[INFO] [stderr]    Compiling rustc-demangle v0.1.15
[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 encoding_rs v0.8.17
[INFO] [stderr]    Compiling dtoa v0.4.4
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling hashbrown v0.5.0
[INFO] [stderr]    Compiling ascii v0.9.2
[INFO] [stderr]    Compiling redis v0.10.0
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling crc-any v2.0.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling backtrace-sys v0.1.30
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling lock_api v0.2.0
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling humantime v1.2.0
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling unicase v2.4.0
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling regex-syntax v0.6.8
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling crc32fast v1.2.0
[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 signal-hook-registry v1.0.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling atty v0.2.12
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling aho-corasick v0.7.4
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling resolv-conf v0.6.2
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling signal-hook v0.1.10
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling base64-url v1.1.7
[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 tokio-io v0.1.12
[INFO] [stderr]    Compiling http v0.1.17
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling flate2 v1.0.9
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling short-crypt v1.0.8
[INFO] [stderr]    Compiling backtrace v0.3.32
[INFO] [stderr]    Compiling tokio-timer v0.2.11
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling mime v0.3.13
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling chrono v0.4.7
[INFO] [stderr]    Compiling actix-codec v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling actix-utils v0.4.2
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[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 actix-server-config v0.1.1
[INFO] [stderr]    Compiling h2 v0.1.25
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]    Compiling derive_more v0.14.1
[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 34s
[INFO] running `Command { std: "docker" "inspect" "8a55ba6c11a77f2b700ee7e26317009b92989debc7247fb631bd9bee59472370", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a55ba6c11a77f2b700ee7e26317009b92989debc7247fb631bd9bee59472370", kill_on_drop: false }`
[INFO] [stdout] 8a55ba6c11a77f2b700ee7e26317009b92989debc7247fb631bd9bee59472370
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fbf3b3b8a7b9ca31e41b211d66eba14b60a359aa0542eb805f636ce4a4340306
[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" "fbf3b3b8a7b9ca31e41b211d66eba14b60a359aa0542eb805f636ce4a4340306", 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 6.23s
[INFO] running `Command { std: "docker" "inspect" "fbf3b3b8a7b9ca31e41b211d66eba14b60a359aa0542eb805f636ce4a4340306", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbf3b3b8a7b9ca31e41b211d66eba14b60a359aa0542eb805f636ce4a4340306", kill_on_drop: false }`
[INFO] [stdout] fbf3b3b8a7b9ca31e41b211d66eba14b60a359aa0542eb805f636ce4a4340306
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.46.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0882ce0a3c0a648705c8c04292aa286babbf25671e22e8da2e67c411b7f3afdb
[INFO] running `Command { std: "docker" "start" "-a" "0882ce0a3c0a648705c8c04292aa286babbf25671e22e8da2e67c411b7f3afdb", kill_on_drop: false }`
[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.27s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/pastebin_server-ff23340cf31086da
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test time::test_now_nano ... ok
[INFO] [stdout] test data::dto::test_err_res ... ok
[INFO] [stdout] test data::key::test_key_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" "0882ce0a3c0a648705c8c04292aa286babbf25671e22e8da2e67c411b7f3afdb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0882ce0a3c0a648705c8c04292aa286babbf25671e22e8da2e67c411b7f3afdb", kill_on_drop: false }`
[INFO] [stdout] 0882ce0a3c0a648705c8c04292aa286babbf25671e22e8da2e67c411b7f3afdb
