[INFO] cloning repository https://github.com/atnoon83/04-url_shortener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atnoon83/04-url_shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatnoon83%2F04-url_shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatnoon83%2F04-url_shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00c07323e310c00bbb290bbda39117eae82f3c8b [INFO] building atnoon83/04-url_shortener against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatnoon83%2F04-url_shortener" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/atnoon83/04-url_shortener [INFO] finished tweaking git repo https://github.com/atnoon83/04-url_shortener [INFO] tweaked toml for git repo https://github.com/atnoon83/04-url_shortener written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/atnoon83/04-url_shortener 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/atnoon83/04-url_shortener 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded nanoid v0.4.0 [INFO] [stderr] Downloaded subtle v2.6.0 [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded hyper-util v0.1.5 [INFO] [stderr] Downloaded serde_json v1.0.118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 50e3407161d094f2078491cfb1e34b0f29404f2709af1596624031047ccf91b2 [INFO] running `Command { std: "docker" "start" "-a" "50e3407161d094f2078491cfb1e34b0f29404f2709af1596624031047ccf91b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50e3407161d094f2078491cfb1e34b0f29404f2709af1596624031047ccf91b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e3407161d094f2078491cfb1e34b0f29404f2709af1596624031047ccf91b2", kill_on_drop: false }` [INFO] [stdout] 50e3407161d094f2078491cfb1e34b0f29404f2709af1596624031047ccf91b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 45f8b3d18b102d6d9ae7efc3fae68662ff2f04432dfbda3adaf1ed500c90f6f4 [INFO] running `Command { std: "docker" "start" "-a" "45f8b3d18b102d6d9ae7efc3fae68662ff2f04432dfbda3adaf1ed500c90f6f4", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling url_shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / &body.url.parse::().map_err(|_| { [INFO] [stdout] 87 | | warn!("Invalid URL: {}", body.url); [INFO] [stdout] 88 | | StatusCode::UNPROCESSABLE_ENTITY [INFO] [stdout] 89 | | })?; [INFO] [stdout] | |_______^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = &body.url.parse::().map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "45f8b3d18b102d6d9ae7efc3fae68662ff2f04432dfbda3adaf1ed500c90f6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f8b3d18b102d6d9ae7efc3fae68662ff2f04432dfbda3adaf1ed500c90f6f4", kill_on_drop: false }` [INFO] [stdout] 45f8b3d18b102d6d9ae7efc3fae68662ff2f04432dfbda3adaf1ed500c90f6f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7342769dc2d3166fc0d5769a9ec76b5bc03f121118eebd9da5b53c7d6bd90278 [INFO] running `Command { std: "docker" "start" "-a" "7342769dc2d3166fc0d5769a9ec76b5bc03f121118eebd9da5b53c7d6bd90278", kill_on_drop: false }` [INFO] [stderr] Compiling url_shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / &body.url.parse::().map_err(|_| { [INFO] [stdout] 87 | | warn!("Invalid URL: {}", body.url); [INFO] [stdout] 88 | | StatusCode::UNPROCESSABLE_ENTITY [INFO] [stdout] 89 | | })?; [INFO] [stdout] | |_______^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = &body.url.parse::().map_err(|_| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "7342769dc2d3166fc0d5769a9ec76b5bc03f121118eebd9da5b53c7d6bd90278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7342769dc2d3166fc0d5769a9ec76b5bc03f121118eebd9da5b53c7d6bd90278", kill_on_drop: false }` [INFO] [stdout] 7342769dc2d3166fc0d5769a9ec76b5bc03f121118eebd9da5b53c7d6bd90278