[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 try#3f7b27fe41ccd116a4c0829bd9a14b65bada4578 for pr-96970 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fshortman" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bajpai244/shortman on toolchain 3f7b27fe41ccd116a4c0829bd9a14b65bada4578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3f7b27fe41ccd116a4c0829bd9a14b65bada4578" "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-23/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" "+3f7b27fe41ccd116a4c0829bd9a14b65bada4578" "fetch" "--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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+3f7b27fe41ccd116a4c0829bd9a14b65bada4578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41adae10272553510c362a375527c9911f75c3a9c3d36111770c78cce9b79a78 [INFO] running `Command { std: "docker" "start" "-a" "41adae10272553510c362a375527c9911f75c3a9c3d36111770c78cce9b79a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41adae10272553510c362a375527c9911f75c3a9c3d36111770c78cce9b79a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41adae10272553510c362a375527c9911f75c3a9c3d36111770c78cce9b79a78", kill_on_drop: false }` [INFO] [stdout] 41adae10272553510c362a375527c9911f75c3a9c3d36111770c78cce9b79a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+3f7b27fe41ccd116a4c0829bd9a14b65bada4578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a5015b9674847280592f83095fdc377124bc57ef596090d17b6eadb0c129185 [INFO] running `Command { std: "docker" "start" "-a" "2a5015b9674847280592f83095fdc377124bc57ef596090d17b6eadb0c129185", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking harsh v0.2.2 [INFO] [stderr] Checking tinyvec v1.5.0 [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 typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking combine v4.6.2 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking redis v0.21.4 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.10 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking toml v0.4.10 [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: 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.50s [INFO] running `Command { std: "docker" "inspect" "2a5015b9674847280592f83095fdc377124bc57ef596090d17b6eadb0c129185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5015b9674847280592f83095fdc377124bc57ef596090d17b6eadb0c129185", kill_on_drop: false }` [INFO] [stdout] 2a5015b9674847280592f83095fdc377124bc57ef596090d17b6eadb0c129185