[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] testing atnoon83/04-url_shortener against 1.99.0-beta.8 for beta-1.100-4 [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 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b [INFO] running `Command { std: "docker" "start" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [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 49.68s [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" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", 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.75s [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" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/main.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / &body.url.parse::().map_err(|_| { [INFO] [stderr] 87 | | warn!("Invalid URL: {}", body.url); [INFO] [stderr] 88 | | StatusCode::UNPROCESSABLE_ENTITY [INFO] [stderr] 89 | | })?; [INFO] [stderr] | |_______^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 86 | let _ = &body.url.parse::().map_err(|_| { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `url_shortener` (bin "url_shortener" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/url_shortener-b8c60c17d8db8f01) [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" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b", kill_on_drop: false }` [INFO] [stdout] ffef5ce95a6530b0978d69e0b2aa8e836e1d051fdd79bc90785b4f74a955c50b