[INFO] fetching crate oozie 0.1.2... [INFO] checking oozie-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate oozie 0.1.2 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oozie 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20effc9af8483543d8219e6bb441dfa75561853bfa7ddbf15c9e75e9da9f02e4 [INFO] running `Command { std: "docker" "start" "-a" "20effc9af8483543d8219e6bb441dfa75561853bfa7ddbf15c9e75e9da9f02e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20effc9af8483543d8219e6bb441dfa75561853bfa7ddbf15c9e75e9da9f02e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20effc9af8483543d8219e6bb441dfa75561853bfa7ddbf15c9e75e9da9f02e4", kill_on_drop: false }` [INFO] [stdout] 20effc9af8483543d8219e6bb441dfa75561853bfa7ddbf15c9e75e9da9f02e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb7c3823af848150ae3589d08586a81f0c1e1d506bc450ed43948ad2e9c04f53 [INFO] running `Command { std: "docker" "start" "-a" "bb7c3823af848150ae3589d08586a81f0c1e1d506bc450ed43948ad2e9c04f53", 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.175 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here ----------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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] | ^^^^^^ the lifetime is elided here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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.48s [INFO] running `Command { std: "docker" "inspect" "bb7c3823af848150ae3589d08586a81f0c1e1d506bc450ed43948ad2e9c04f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7c3823af848150ae3589d08586a81f0c1e1d506bc450ed43948ad2e9c04f53", kill_on_drop: false }` [INFO] [stdout] bb7c3823af848150ae3589d08586a81f0c1e1d506bc450ed43948ad2e9c04f53