[INFO] cloning repository https://github.com/lesharper/urlik [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lesharper/urlik" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesharper%2Furlik", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesharper%2Furlik'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bea0b14dd8bfa293104fa0bfe7626ff834280064 [INFO] building lesharper/urlik against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesharper%2Furlik" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lesharper/urlik [INFO] finished tweaking git repo https://github.com/lesharper/urlik [INFO] tweaked toml for git repo https://github.com/lesharper/urlik written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lesharper/urlik on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lesharper/urlik 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded nanoid v0.4.0 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5312be10579e99bd51b11b7de72d7879512c0160e0fab5bc0f88200183cef380 [INFO] running `Command { std: "docker" "start" "-a" "5312be10579e99bd51b11b7de72d7879512c0160e0fab5bc0f88200183cef380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5312be10579e99bd51b11b7de72d7879512c0160e0fab5bc0f88200183cef380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5312be10579e99bd51b11b7de72d7879512c0160e0fab5bc0f88200183cef380", kill_on_drop: false }` [INFO] [stdout] 5312be10579e99bd51b11b7de72d7879512c0160e0fab5bc0f88200183cef380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ed130f302974549eb62f3b0460fa7eb3422761b5a5e1835c17d21a2b6702397 [INFO] running `Command { std: "docker" "start" "-a" "5ed130f302974549eb62f3b0460fa7eb3422761b5a5e1835c17d21a2b6702397", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling url_ik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NanoIDProvider` [INFO] [stdout] --> src/app/command/create_short_url.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::id_provider::{IDProvider, NanoIDProvider}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_url` [INFO] [stdout] --> src/app/command/create_short_url.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn execute(&self, full_url: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateShortUrl` is never constructed [INFO] [stdout] --> src/app/command/create_short_url.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CreateShortUrl [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/app/command/create_short_url.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl CreateShortUrl [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | I: IDProvider, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | pub fn new(id_provider: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn execute(&self, full_url: String) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IDProvider` is never used [INFO] [stdout] --> src/id_provider.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait IDProvider { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NanoIDProvider` is never constructed [INFO] [stdout] --> src/id_provider.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NanoIDProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakeIDProvider` is never constructed [INFO] [stdout] --> src/id_provider.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FakeIDProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_id` are never used [INFO] [stdout] --> src/id_provider.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl FakeIDProvider { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set_id(&mut self, id: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.00s [INFO] running `Command { std: "docker" "inspect" "5ed130f302974549eb62f3b0460fa7eb3422761b5a5e1835c17d21a2b6702397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed130f302974549eb62f3b0460fa7eb3422761b5a5e1835c17d21a2b6702397", kill_on_drop: false }` [INFO] [stdout] 5ed130f302974549eb62f3b0460fa7eb3422761b5a5e1835c17d21a2b6702397 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 232faddf6590b0335e0af455db9e246a3d66de4f38e65dd734b4ce9e23901a88 [INFO] running `Command { std: "docker" "start" "-a" "232faddf6590b0335e0af455db9e246a3d66de4f38e65dd734b4ce9e23901a88", kill_on_drop: false }` [INFO] [stderr] Compiling url_ik v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `full_url` [INFO] [stdout] --> src/app/command/create_short_url.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn execute(&self, full_url: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FakeIDProvider` is never constructed [INFO] [stdout] --> src/id_provider.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FakeIDProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_id` are never used [INFO] [stdout] --> src/id_provider.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl FakeIDProvider { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn set_id(&mut self, id: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "232faddf6590b0335e0af455db9e246a3d66de4f38e65dd734b4ce9e23901a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232faddf6590b0335e0af455db9e246a3d66de4f38e65dd734b4ce9e23901a88", kill_on_drop: false }` [INFO] [stdout] 232faddf6590b0335e0af455db9e246a3d66de4f38e65dd734b4ce9e23901a88