[INFO] cloning repository https://github.com/MarcinAman/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/MarcinAman/url-shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcinAman%2Furl-shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcinAman%2Furl-shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20e7e655dee9c9ab5e096393225423921a521dfa [INFO] testing MarcinAman/url-shortener against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcinAman%2Furl-shortener" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarcinAman/url-shortener [INFO] finished tweaking git repo https://github.com/MarcinAman/url-shortener [INFO] tweaked toml for git repo https://github.com/MarcinAman/url-shortener written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarcinAman/url-shortener on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarcinAman/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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 tokio-test v0.4.4 [INFO] [stderr] Downloaded base62 v2.2.1 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded backon v1.5.2 [INFO] [stderr] Downloaded actix-web v4.11.0 [INFO] [stderr] Downloaded actix-http v3.11.0 [INFO] [stderr] Downloaded redis v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a0c61ffd98af197a85d1e27fefb35d2d2a68c4385cf76593ce67863e8edd3d2 [INFO] running `Command { std: "docker" "start" "-a" "1a0c61ffd98af197a85d1e27fefb35d2d2a68c4385cf76593ce67863e8edd3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a0c61ffd98af197a85d1e27fefb35d2d2a68c4385cf76593ce67863e8edd3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a0c61ffd98af197a85d1e27fefb35d2d2a68c4385cf76593ce67863e8edd3d2", kill_on_drop: false }` [INFO] [stdout] 1a0c61ffd98af197a85d1e27fefb35d2d2a68c4385cf76593ce67863e8edd3d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50030ec42ab4da0b132cd7a76dc722291512f2d3ce251d6d19f3565ef924df83 [INFO] running `Command { std: "docker" "start" "-a" "50030ec42ab4da0b132cd7a76dc722291512f2d3ce251d6d19f3565ef924df83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling backon v1.5.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling base62 v2.2.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling redis v0.32.5 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling url-shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `cleanup` is never used [INFO] [stdout] --> src/redis.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl RedisService { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub async fn cleanup(&self) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [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 1m 17s [INFO] running `Command { std: "docker" "inspect" "50030ec42ab4da0b132cd7a76dc722291512f2d3ce251d6d19f3565ef924df83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50030ec42ab4da0b132cd7a76dc722291512f2d3ce251d6d19f3565ef924df83", kill_on_drop: false }` [INFO] [stdout] 50030ec42ab4da0b132cd7a76dc722291512f2d3ce251d6d19f3565ef924df83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8c2db6bb1931e11d301bb6cda48296ffef4c3ee827e685fe1d939383e1cfe82 [INFO] running `Command { std: "docker" "start" "-a" "e8c2db6bb1931e11d301bb6cda48296ffef4c3ee827e685fe1d939383e1cfe82", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling redis v0.32.5 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling url-shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 35.66s [INFO] running `Command { std: "docker" "inspect" "e8c2db6bb1931e11d301bb6cda48296ffef4c3ee827e685fe1d939383e1cfe82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c2db6bb1931e11d301bb6cda48296ffef4c3ee827e685fe1d939383e1cfe82", kill_on_drop: false }` [INFO] [stdout] e8c2db6bb1931e11d301bb6cda48296ffef4c3ee827e685fe1d939383e1cfe82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8baa191e5c0ca7e1fdd88e2cd7621013e479f10e956d6513438b3fd08dd26d3 [INFO] running `Command { std: "docker" "start" "-a" "a8baa191e5c0ca7e1fdd88e2cd7621013e479f10e956d6513438b3fd08dd26d3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/url_shortener-41702a2c969e699d) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test url_shortener::tests::test_generate_random_code ... ok [INFO] [stdout] test url_shortener::tests::test_get_shortened_url_happy_path ... ok [INFO] [stdout] test e2e_tests::test_nonexistent_short_url has been running for over 60 seconds [INFO] [stdout] test e2e_tests::test_url_shortening_flow has been running for over 60 seconds [INFO] [stdout] test e2e_tests::test_url_shortening_with_different_urls has been running for over 60 seconds [INFO] [stdout] test redis::tests::test_redis_service_get_nonexistent_key has been running for over 60 seconds [INFO] [stdout] test redis::tests::test_redis_service_set_nx_prevents_overwrite has been running for over 60 seconds [INFO] [stdout] test redis::tests::test_redis_service_set_then_get has been running for over 60 seconds [INFO] [stdout] test redis::tests::test_redis_service_ttl_functionality has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "a8baa191e5c0ca7e1fdd88e2cd7621013e479f10e956d6513438b3fd08dd26d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8baa191e5c0ca7e1fdd88e2cd7621013e479f10e956d6513438b3fd08dd26d3", kill_on_drop: false }` [INFO] [stdout] a8baa191e5c0ca7e1fdd88e2cd7621013e479f10e956d6513438b3fd08dd26d3