[INFO] fetching crate oozie 0.1.2... [INFO] checking oozie-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate oozie 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate oozie 0.1.2 [INFO] finished tweaking crates.io crate oozie 0.1.2 [INFO] tweaked toml for crates.io crate oozie 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oozie 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--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] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding csv v0.15.0 (available: v1.3.1) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d48982e56bf10a7004911c031aa52fad5be9d4e6aa613fe6297445a06fd943a [INFO] running `Command { std: "docker" "start" "-a" "1d48982e56bf10a7004911c031aa52fad5be9d4e6aa613fe6297445a06fd943a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d48982e56bf10a7004911c031aa52fad5be9d4e6aa613fe6297445a06fd943a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d48982e56bf10a7004911c031aa52fad5be9d4e6aa613fe6297445a06fd943a", kill_on_drop: false }` [INFO] [stdout] 1d48982e56bf10a7004911c031aa52fad5be9d4e6aa613fe6297445a06fd943a [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=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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b6ace6c9301d2300268a59f4b0367858c4333c67c7287b224fac4b333ff6a1 [INFO] running `Command { std: "docker" "start" "-a" "d1b6ace6c9301d2300268a59f4b0367858c4333c67c7287b224fac4b333ff6a1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking oozie v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/recommender.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | / /// Predicts the rating for an user and item averaging the ratings of the [INFO] [stdout] 384 | | /// k items most similar to the item rated by the user. [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] 385 | let mut total_sim: f64 = 0.0; [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/recommender.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | / /// Predicts the rating for an user and item averaging the ratings of the [INFO] [stdout] 384 | | /// k items most similar to the item rated by the user. [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] 385 | let mut total_sim: f64 = 0.0; [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | ...ndler: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicUserRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(data_handler: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicUserRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | ...r: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicItemRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(data_handler: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicItemRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | ...handler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNUserRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(data_handler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNUserRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | ...ndler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNItemRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 337 | pub fn new(data_handler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNItemRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | ...ndler: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicUserRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(data_handler: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicUserRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | ...r: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicItemRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new(data_handler: &mut D, threshold: f64, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> BasicItemRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | ...handler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNUserRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(data_handler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNUserRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/recommender.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | ...ndler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNItemRecommender { [INFO] [stdout] | ^^^^^^ this lifetime flows to the output --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 337 | pub fn new(data_handler: &mut D, k: usize, similarity: fn(&HashMap, &HashMap, usize) -> f64) -> KNNItemRecommender<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{thread_rng, sample}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | data_handler.get_user_ratings(*sample(&mut rng, &user_ids, 1)[0]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | data_handler.get_item_ratings(*sample(&mut rng, &item_ids, 1)[0]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | let user_id = *sample(&mut rng, &user_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let item_id = *sample(&mut rng, &item_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let user_id = *sample(&mut rng, &user_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let item_id = *sample(&mut rng, &item_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let user_id = *sample(&mut rng, &user_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let item_id = *sample(&mut rng, &item_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let user_id = *sample(&mut rng, &user_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let item_id = *sample(&mut rng, &item_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | let user_id = *sample(&mut rng, &user_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> benches/oozie.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let user_id = *sample(&mut rng, &user_ids, 1)[0]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "d1b6ace6c9301d2300268a59f4b0367858c4333c67c7287b224fac4b333ff6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b6ace6c9301d2300268a59f4b0367858c4333c67c7287b224fac4b333ff6a1", kill_on_drop: false }` [INFO] [stdout] d1b6ace6c9301d2300268a59f4b0367858c4333c67c7287b224fac4b333ff6a1