[INFO] cloning repository https://github.com/pswalia2u/url-shortner-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pswalia2u/url-shortner-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpswalia2u%2Furl-shortner-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpswalia2u%2Furl-shortner-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a528ccc36069b65bdfce47a87e5dc08dbafa52f [INFO] testing pswalia2u/url-shortner-api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpswalia2u%2Furl-shortner-api" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pswalia2u/url-shortner-api [INFO] finished tweaking git repo https://github.com/pswalia2u/url-shortner-api [INFO] tweaked toml for git repo https://github.com/pswalia2u/url-shortner-api written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pswalia2u/url-shortner-api on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pswalia2u/url-shortner-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded io-enum v1.2.0 [INFO] [stderr] Downloaded mysql-common-derive v0.32.0 [INFO] [stderr] Downloaded actix-server v2.5.1 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded mysql v26.0.0 [INFO] [stderr] Downloaded actix-http v3.10.0 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded mysql_common v0.34.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a92364866f000208edbd86e91e704108ac53f410857c19ac881c047ff1adec0e [INFO] running `Command { std: "docker" "start" "-a" "a92364866f000208edbd86e91e704108ac53f410857c19ac881c047ff1adec0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a92364866f000208edbd86e91e704108ac53f410857c19ac881c047ff1adec0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92364866f000208edbd86e91e704108ac53f410857c19ac881c047ff1adec0e", kill_on_drop: false }` [INFO] [stdout] a92364866f000208edbd86e91e704108ac53f410857c19ac881c047ff1adec0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75fb29a11427221a2c596ac1616c22ffb225f487a08d538458cef6e6fcd4248a [INFO] running `Command { std: "docker" "start" "-a" "75fb29a11427221a2c596ac1616c22ffb225f487a08d538458cef6e6fcd4248a", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling mysql v26.0.0 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling mysql_common v0.34.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling twox-hash v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling mysql-common-derive v0.32.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling url-shortener-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::ErrorInternalServerError` [INFO] [stdout] --> src/main.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Result, get, post, http::header, error::ErrorInternalServerError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `short_url` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct UrlMapping { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | short_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UrlMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.87s [INFO] running `Command { std: "docker" "inspect" "75fb29a11427221a2c596ac1616c22ffb225f487a08d538458cef6e6fcd4248a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fb29a11427221a2c596ac1616c22ffb225f487a08d538458cef6e6fcd4248a", kill_on_drop: false }` [INFO] [stdout] 75fb29a11427221a2c596ac1616c22ffb225f487a08d538458cef6e6fcd4248a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd82054167b327032cd2ef5ac3f4838ea2a276c47e5a5d48d19c7be0b4228e37 [INFO] running `Command { std: "docker" "start" "-a" "fd82054167b327032cd2ef5ac3f4838ea2a276c47e5a5d48d19c7be0b4228e37", kill_on_drop: false }` [INFO] [stderr] Compiling url-shortener-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::ErrorInternalServerError` [INFO] [stdout] --> src/main.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Result, get, post, http::header, error::ErrorInternalServerError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `short_url` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct UrlMapping { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | short_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UrlMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "fd82054167b327032cd2ef5ac3f4838ea2a276c47e5a5d48d19c7be0b4228e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd82054167b327032cd2ef5ac3f4838ea2a276c47e5a5d48d19c7be0b4228e37", kill_on_drop: false }` [INFO] [stdout] fd82054167b327032cd2ef5ac3f4838ea2a276c47e5a5d48d19c7be0b4228e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c6381b16ca9ff74c2f892f5ffc9723eb2e0a457dd0e26aa757719243fcec370 [INFO] running `Command { std: "docker" "start" "-a" "4c6381b16ca9ff74c2f892f5ffc9723eb2e0a457dd0e26aa757719243fcec370", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error::ErrorInternalServerError` [INFO] [stderr] --> src/main.rs:3:97 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Result, get, post, http::header, error::ErrorInternalServerError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `short_url` is never read [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | struct UrlMapping { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 12 | short_url: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UrlMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `url-shortener-api` (bin "url-shortener-api" test) generated 2 warnings (run `cargo fix --bin "url-shortener-api" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/url_shortener_api-c64779197602d52f) [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" "4c6381b16ca9ff74c2f892f5ffc9723eb2e0a457dd0e26aa757719243fcec370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6381b16ca9ff74c2f892f5ffc9723eb2e0a457dd0e26aa757719243fcec370", kill_on_drop: false }` [INFO] [stdout] 4c6381b16ca9ff74c2f892f5ffc9723eb2e0a457dd0e26aa757719243fcec370