[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] testing bajpai244/shortman against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbajpai244%2Fshortman" "/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/bajpai244/shortman on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af07115d55e9dbc4196978364bf8a14f27fc43d84738aa443185dffc8c45790 [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" "6af07115d55e9dbc4196978364bf8a14f27fc43d84738aa443185dffc8c45790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af07115d55e9dbc4196978364bf8a14f27fc43d84738aa443185dffc8c45790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af07115d55e9dbc4196978364bf8a14f27fc43d84738aa443185dffc8c45790", kill_on_drop: false }` [INFO] [stdout] 6af07115d55e9dbc4196978364bf8a14f27fc43d84738aa443185dffc8c45790 [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=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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f717921e2a48582057e059125d4ab812eea5ef43629870d7a3641e5ad28a875 [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" "2f717921e2a48582057e059125d4ab812eea5ef43629870d7a3641e5ad28a875", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling harsh v0.2.2 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [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 base64 v0.9.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling combine v4.6.2 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [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] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling mio-extras v2.0.6 [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 notify v4.0.17 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling redis v0.21.4 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling rusqlite v0.24.2 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling 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: 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 54s [INFO] running `Command { std: "docker" "inspect" "2f717921e2a48582057e059125d4ab812eea5ef43629870d7a3641e5ad28a875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f717921e2a48582057e059125d4ab812eea5ef43629870d7a3641e5ad28a875", kill_on_drop: false }` [INFO] [stdout] 2f717921e2a48582057e059125d4ab812eea5ef43629870d7a3641e5ad28a875 [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=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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e8664dbec8f4e1b7787724867076b120836223eaf7899683d732bf0ee57a7a1 [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" "6e8664dbec8f4e1b7787724867076b120836223eaf7899683d732bf0ee57a7a1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling 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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.74s [INFO] running `Command { std: "docker" "inspect" "6e8664dbec8f4e1b7787724867076b120836223eaf7899683d732bf0ee57a7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e8664dbec8f4e1b7787724867076b120836223eaf7899683d732bf0ee57a7a1", kill_on_drop: false }` [INFO] [stdout] 6e8664dbec8f4e1b7787724867076b120836223eaf7899683d732bf0ee57a7a1 [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=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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f424bcfe99442cf2a95fbd5148cbbdf9d2823d3a19cd27fcdfb18c5dc64b79d [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" "4f424bcfe99442cf2a95fbd5148cbbdf9d2823d3a19cd27fcdfb18c5dc64b79d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/shortner.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let mut connection_url = self.connection_url.clone(); [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/shortner.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut connection_url = self.connection_url.clone(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `rckt` (lib) generated 2 warnings [INFO] [stderr] warning: `rckt` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused imports: `content`, `status` [INFO] [stderr] --> src/main.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use rocket::response::{content, status, Redirect}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/main.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | if let Json(val) = body { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `short_url` [INFO] [stderr] --> src/main.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | let short_url: String; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_short_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/main.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | Ok(val) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/main.rs:65:34 [INFO] [stderr] | [INFO] [stderr] 65 | fn url_route(body: Json, header: HostHeader) -> Resp { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stderr] [INFO] [stderr] warning: `rckt` (bin "rckt" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rckt-47513b9b301e494b) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rckt-4b0608536ef5f7fc) [INFO] [stdout] [INFO] [stderr] Doc-tests rckt [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f424bcfe99442cf2a95fbd5148cbbdf9d2823d3a19cd27fcdfb18c5dc64b79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f424bcfe99442cf2a95fbd5148cbbdf9d2823d3a19cd27fcdfb18c5dc64b79d", kill_on_drop: false }` [INFO] [stdout] 4f424bcfe99442cf2a95fbd5148cbbdf9d2823d3a19cd27fcdfb18c5dc64b79d