[INFO] cloning repository https://github.com/masamonoke/recommender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masamonoke/recommender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasamonoke%2Frecommender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasamonoke%2Frecommender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08a895f90f6d447c51643a67901a2b9d1419c9b6 [INFO] testing masamonoke/recommender against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasamonoke%2Frecommender" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/masamonoke/recommender [INFO] finished tweaking git repo https://github.com/masamonoke/recommender [INFO] tweaked toml for git repo https://github.com/masamonoke/recommender written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/masamonoke/recommender on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/masamonoke/recommender 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e5e6326b0bdf69740ed50d614ab52edd12406e3c525903aa2e2cc6a7139c5b5 [INFO] running `Command { std: "docker" "start" "-a" "2e5e6326b0bdf69740ed50d614ab52edd12406e3c525903aa2e2cc6a7139c5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5e6326b0bdf69740ed50d614ab52edd12406e3c525903aa2e2cc6a7139c5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5e6326b0bdf69740ed50d614ab52edd12406e3c525903aa2e2cc6a7139c5b5", kill_on_drop: false }` [INFO] [stdout] 2e5e6326b0bdf69740ed50d614ab52edd12406e3c525903aa2e2cc6a7139c5b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47b6d92909c02fc1291d513dbb3ef639a408b206c78afdcdb0fceb4d01b8c510 [INFO] running `Command { std: "docker" "start" "-a" "47b6d92909c02fc1291d513dbb3ef639a408b206c78afdcdb0fceb4d01b8c510", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling openssl-sys v0.9.85 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling block-cipher v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling openssl v0.10.50 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling blowfish v0.6.0 [INFO] [stderr] Compiling diesel_derives v2.1.0 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling bitflags v2.3.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling jwt v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [INFO] [stderr] Compiling bcrypt v0.8.2 [INFO] [stderr] Compiling diesel-enum v0.1.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling redis v0.21.7 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling diesel v2.1.0 [INFO] [stderr] Compiling redis-derive v0.1.7 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling redis v0.23.0 [INFO] [stderr] Compiling recommender-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ChartedLog` is never constructed [INFO] [stdout] --> src/model/evidence.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ChartedLog { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `body` are never read [INFO] [stdout] --> src/auth/jwt.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JwtToken { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | pub user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub created_date: i32, [INFO] [stdout] 17 | pub body: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | let req_url = String::from(req.uri().path().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&BigDecimal` instead of cloning the inner type [INFO] [stdout] --> src/service/recommender.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|v| v.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/service/recommender.rs:156:106 [INFO] [stdout] | [INFO] [stdout] 156 | let candidate_movies = get_similarities_from_movie_id_targets(connection, movies_map.keys().map(|k| k.clone().to_owned()).collect()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.7, redis v0.23.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "47b6d92909c02fc1291d513dbb3ef639a408b206c78afdcdb0fceb4d01b8c510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b6d92909c02fc1291d513dbb3ef639a408b206c78afdcdb0fceb4d01b8c510", kill_on_drop: false }` [INFO] [stdout] 47b6d92909c02fc1291d513dbb3ef639a408b206c78afdcdb0fceb4d01b8c510 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4a40dbf5f27a0ceb246eea87be9dc566e65293ffdfa126da9215fc412331b62 [INFO] running `Command { std: "docker" "start" "-a" "e4a40dbf5f27a0ceb246eea87be9dc566e65293ffdfa126da9215fc412331b62", kill_on_drop: false }` [INFO] [stderr] Compiling recommender-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ChartedLog` is never constructed [INFO] [stdout] --> src/model/evidence.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ChartedLog { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `body` are never read [INFO] [stdout] --> src/auth/jwt.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JwtToken { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | pub user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub created_date: i32, [INFO] [stdout] 17 | pub body: String [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | let req_url = String::from(req.uri().path().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&BigDecimal` instead of cloning the inner type [INFO] [stdout] --> src/service/recommender.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | .map(|v| v.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/service/recommender.rs:156:106 [INFO] [stdout] | [INFO] [stdout] 156 | let candidate_movies = get_similarities_from_movie_id_targets(connection, movies_map.keys().map(|k| k.clone().to_owned()).collect()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.7, redis v0.23.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e4a40dbf5f27a0ceb246eea87be9dc566e65293ffdfa126da9215fc412331b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4a40dbf5f27a0ceb246eea87be9dc566e65293ffdfa126da9215fc412331b62", kill_on_drop: false }` [INFO] [stdout] e4a40dbf5f27a0ceb246eea87be9dc566e65293ffdfa126da9215fc412331b62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0eb4ea8f2a501f23bd8d136b4dc4f984f6cb5bbe596576343a60b620ff3c072 [INFO] running `Command { std: "docker" "start" "-a" "e0eb4ea8f2a501f23bd8d136b4dc4f984f6cb5bbe596576343a60b620ff3c072", kill_on_drop: false }` [INFO] [stderr] warning: struct `ChartedLog` is never constructed [INFO] [stderr] --> src/model/evidence.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct ChartedLog { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `user_id` and `body` are never read [INFO] [stderr] --> src/auth/jwt.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct JwtToken { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 15 | pub user_id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | pub created_date: i32, [INFO] [stderr] 17 | pub body: String [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:27:60 [INFO] [stderr] | [INFO] [stderr] 27 | let req_url = String::from(req.uri().path().clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&BigDecimal` instead of cloning the inner type [INFO] [stderr] --> src/service/recommender.rs:153:19 [INFO] [stderr] | [INFO] [stderr] 153 | .map(|v| v.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stderr] --> src/service/recommender.rs:156:106 [INFO] [stderr] | [INFO] [stderr] 156 | let candidate_movies = get_similarities_from_movie_id_targets(connection, movies_map.keys().map(|k| k.clone().to_owned()).collect()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `recommender-backend` (bin "recommender-backend" test) generated 5 warnings (run `cargo fix --bin "recommender-backend" -p recommender-backend --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.7, redis v0.23.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/recommender_backend-aa7157fe0f69881b) [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" "e0eb4ea8f2a501f23bd8d136b4dc4f984f6cb5bbe596576343a60b620ff3c072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0eb4ea8f2a501f23bd8d136b4dc4f984f6cb5bbe596576343a60b620ff3c072", kill_on_drop: false }` [INFO] [stdout] e0eb4ea8f2a501f23bd8d136b4dc4f984f6cb5bbe596576343a60b620ff3c072