[INFO] cloning repository https://github.com/bajpai244/shortman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bajpai244/shortman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fshortman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fshortman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1275b35e58fca5c1cf4e82567284cf89f81c037b [INFO] checking bajpai244/shortman against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fshortman" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bajpai244/shortman on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bajpai244/shortman [INFO] finished tweaking git repo https://github.com/bajpai244/shortman [INFO] tweaked toml for git repo https://github.com/bajpai244/shortman written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/bajpai244/shortman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 176f6eb1db2ec860f7d7eb603f258ae0eb5ae1c538d351592453719a29f9f342 [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" "176f6eb1db2ec860f7d7eb603f258ae0eb5ae1c538d351592453719a29f9f342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "176f6eb1db2ec860f7d7eb603f258ae0eb5ae1c538d351592453719a29f9f342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176f6eb1db2ec860f7d7eb603f258ae0eb5ae1c538d351592453719a29f9f342", kill_on_drop: false }` [INFO] [stdout] 176f6eb1db2ec860f7d7eb603f258ae0eb5ae1c538d351592453719a29f9f342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 674923b3dda47e1e98a3eee3bb5dc1c82c0130cbd3b8dfbcd35a06a7ede2574e [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" "674923b3dda47e1e98a3eee3bb5dc1c82c0130cbd3b8dfbcd35a06a7ede2574e", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking harsh v0.2.2 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking combine v4.6.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking redis v0.21.4 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.69 [INFO] [stderr] Checking rocket_contrib v0.4.10 [INFO] [stderr] Checking rckt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shortner.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut connection_url = self.connection_url.clone(); [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/shortner.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut connection_url = self.connection_url.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shortner.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut connection_url = self.connection_url.clone(); [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/shortner.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut connection_url = self.connection_url.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `content`, `status` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::response::{content, status, Redirect}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | if let Json(val) = body { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short_url` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let short_url: String; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/main.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn url_route(body: Json, header: HostHeader) -> Resp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `content`, `status` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::response::{content, status, Redirect}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | if let Json(val) = body { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short_url` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let short_url: String; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/main.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(val) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/main.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn url_route(body: Json, header: HostHeader) -> Resp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "674923b3dda47e1e98a3eee3bb5dc1c82c0130cbd3b8dfbcd35a06a7ede2574e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "674923b3dda47e1e98a3eee3bb5dc1c82c0130cbd3b8dfbcd35a06a7ede2574e", kill_on_drop: false }` [INFO] [stdout] 674923b3dda47e1e98a3eee3bb5dc1c82c0130cbd3b8dfbcd35a06a7ede2574e