[INFO] cloning repository https://github.com/grandmasponge/redis-rate-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grandmasponge/redis-rate-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrandmasponge%2Fredis-rate-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrandmasponge%2Fredis-rate-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12a19c4ea3554b649d9d062ff8cc064dd431b4b1 [INFO] testing grandmasponge/redis-rate-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrandmasponge%2Fredis-rate-rust" "/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/grandmasponge/redis-rate-rust [INFO] finished tweaking git repo https://github.com/grandmasponge/redis-rate-rust [INFO] tweaked toml for git repo https://github.com/grandmasponge/redis-rate-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/grandmasponge/redis-rate-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/grandmasponge/redis-rate-rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-runtime v0.1.3 [INFO] [stderr] Downloaded deadpool-redis v0.14.0 [INFO] [stderr] Downloaded http-body-util v0.1.0 [INFO] [stderr] Downloaded hyper v1.1.0 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] [stderr] Downloaded axum v0.7.4 [INFO] [stderr] Downloaded tower-http v0.5.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 880cd9657398455b80cedc7a46dae94d9cde0c335894c37c8a0874d8cdf7e7a2 [INFO] running `Command { std: "docker" "start" "-a" "880cd9657398455b80cedc7a46dae94d9cde0c335894c37c8a0874d8cdf7e7a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "880cd9657398455b80cedc7a46dae94d9cde0c335894c37c8a0874d8cdf7e7a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "880cd9657398455b80cedc7a46dae94d9cde0c335894c37c8a0874d8cdf7e7a2", kill_on_drop: false }` [INFO] [stdout] 880cd9657398455b80cedc7a46dae94d9cde0c335894c37c8a0874d8cdf7e7a2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a7929920cfdf7db485d3961b54f7d97373b6e28ab8ca80a72e6c025fd606085 [INFO] running `Command { std: "docker" "start" "-a" "5a7929920cfdf7db485d3961b54f7d97373b6e28ab8ca80a72e6c025fd606085", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling deadpool-runtime v0.1.3 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling deadpool-redis v0.14.0 [INFO] [stderr] Compiling redis_rate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Bearer` is never constructed [INFO] [stdout] --> src/routes/middleware/rate.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AuthMethod { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 22 | Basic, [INFO] [stdout] 23 | Bearer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthMethod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ttl` and `limit` are never read [INFO] [stdout] --> src/routes/middleware/rate.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RateLimiter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | ttl: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | method: AuthMethod, [INFO] [stdout] 51 | limit: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimiter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "5a7929920cfdf7db485d3961b54f7d97373b6e28ab8ca80a72e6c025fd606085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a7929920cfdf7db485d3961b54f7d97373b6e28ab8ca80a72e6c025fd606085", kill_on_drop: false }` [INFO] [stdout] 5a7929920cfdf7db485d3961b54f7d97373b6e28ab8ca80a72e6c025fd606085 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e26b45ebd3b25814a408f282c696f4ebed105c81949de888f6173d50d19e0600 [INFO] running `Command { std: "docker" "start" "-a" "e26b45ebd3b25814a408f282c696f4ebed105c81949de888f6173d50d19e0600", kill_on_drop: false }` [INFO] [stderr] Compiling redis_rate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Bearer` is never constructed [INFO] [stdout] --> src/routes/middleware/rate.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AuthMethod { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 22 | Basic, [INFO] [stdout] 23 | Bearer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthMethod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ttl` and `limit` are never read [INFO] [stdout] --> src/routes/middleware/rate.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RateLimiter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | ttl: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | method: AuthMethod, [INFO] [stdout] 51 | limit: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimiter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "e26b45ebd3b25814a408f282c696f4ebed105c81949de888f6173d50d19e0600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26b45ebd3b25814a408f282c696f4ebed105c81949de888f6173d50d19e0600", kill_on_drop: false }` [INFO] [stdout] e26b45ebd3b25814a408f282c696f4ebed105c81949de888f6173d50d19e0600 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ec042d802e9f7f214896c223c89c2822a38525e4759f62188c378734421f6367 [INFO] running `Command { std: "docker" "start" "-a" "ec042d802e9f7f214896c223c89c2822a38525e4759f62188c378734421f6367", kill_on_drop: false }` [INFO] [stderr] warning: variant `Bearer` is never constructed [INFO] [stderr] --> src/routes/middleware/rate.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum AuthMethod { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 22 | Basic, [INFO] [stderr] 23 | Bearer, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthMethod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `ttl` and `limit` are never read [INFO] [stderr] --> src/routes/middleware/rate.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct RateLimiter { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 49 | ttl: i32, [INFO] [stderr] | ^^^ [INFO] [stderr] 50 | method: AuthMethod, [INFO] [stderr] 51 | limit: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RateLimiter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `redis_rate` (bin "redis_rate" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/redis_rate-19a509591987a0e3) [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" "ec042d802e9f7f214896c223c89c2822a38525e4759f62188c378734421f6367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec042d802e9f7f214896c223c89c2822a38525e4759f62188c378734421f6367", kill_on_drop: false }` [INFO] [stdout] ec042d802e9f7f214896c223c89c2822a38525e4759f62188c378734421f6367