[INFO] cloning repository https://github.com/AkaMandakeru/products-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AkaMandakeru/products-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkaMandakeru%2Fproducts-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkaMandakeru%2Fproducts-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6818fe77c7c345f1a0817fc1ca7abfe6216fe22b [INFO] building AkaMandakeru/products-api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkaMandakeru%2Fproducts-api" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AkaMandakeru/products-api [INFO] finished tweaking git repo https://github.com/AkaMandakeru/products-api [INFO] tweaked toml for git repo https://github.com/AkaMandakeru/products-api written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AkaMandakeru/products-api 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/AkaMandakeru/products-api 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] Downloading crates ... [INFO] [stderr] Downloaded mutually_exclusive_features v0.1.0 [INFO] [stderr] Downloaded tracing-actix-web v0.7.16 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded serde_bytes v0.11.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 783e58da3d9439aed7ac5a607eb8eb7c73eea6f505ae20e2376364ed2da08634 [INFO] running `Command { std: "docker" "start" "-a" "783e58da3d9439aed7ac5a607eb8eb7c73eea6f505ae20e2376364ed2da08634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "783e58da3d9439aed7ac5a607eb8eb7c73eea6f505ae20e2376364ed2da08634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783e58da3d9439aed7ac5a607eb8eb7c73eea6f505ae20e2376364ed2da08634", kill_on_drop: false }` [INFO] [stdout] 783e58da3d9439aed7ac5a607eb8eb7c73eea6f505ae20e2376364ed2da08634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6358b234250294fd402dd1092ba50578b02e103af6d10ef0fe7dd97c5284099d [INFO] running `Command { std: "docker" "start" "-a" "6358b234250294fd402dd1092ba50578b02e103af6d10ef0fe7dd97c5284099d", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling mutually_exclusive_features v0.1.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling serde_bytes v0.11.16 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling bson v2.13.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling tracing-actix-web v0.7.16 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling actix-multipart v0.6.2 [INFO] [stderr] Compiling products-json-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [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 import: `Document` [INFO] [stdout] --> src/models.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::bson::{oid::ObjectId, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/auth.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ready` [INFO] [stdout] --> src/auth.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | future::{Ready, Future}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/auth.rs:327:16 [INFO] [stdout] | [INFO] [stdout] 327 | Ok(claims) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/auth.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn auth_middleware( [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 45s [INFO] running `Command { std: "docker" "inspect" "6358b234250294fd402dd1092ba50578b02e103af6d10ef0fe7dd97c5284099d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6358b234250294fd402dd1092ba50578b02e103af6d10ef0fe7dd97c5284099d", kill_on_drop: false }` [INFO] [stdout] 6358b234250294fd402dd1092ba50578b02e103af6d10ef0fe7dd97c5284099d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 884dbf6ea86babcf908b8be9b0e962d0d1fed650099310d721305ffa6c37be57 [INFO] running `Command { std: "docker" "start" "-a" "884dbf6ea86babcf908b8be9b0e962d0d1fed650099310d721305ffa6c37be57", kill_on_drop: false }` [INFO] [stderr] Compiling products-json-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [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 import: `Document` [INFO] [stdout] --> src/models.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::bson::{oid::ObjectId, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/auth.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ready` [INFO] [stdout] --> src/auth.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | future::{Ready, Future}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/auth.rs:327:16 [INFO] [stdout] | [INFO] [stdout] 327 | Ok(claims) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/auth.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "884dbf6ea86babcf908b8be9b0e962d0d1fed650099310d721305ffa6c37be57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884dbf6ea86babcf908b8be9b0e962d0d1fed650099310d721305ffa6c37be57", kill_on_drop: false }` [INFO] [stdout] 884dbf6ea86babcf908b8be9b0e962d0d1fed650099310d721305ffa6c37be57