[INFO] fetching crate oozie 0.1.2...
[INFO] checking oozie-0.1.2 against 1.95.0 for pr-155915
[INFO] extracting crate oozie 0.1.2 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate oozie 0.1.2 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "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.4.0)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded csv v0.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8d2a469132f7a58493d466adaca0baa7fc432b7f8038f58e53e94393ff2f272
[INFO] running `Command { std: "docker" "start" "-a" "f8d2a469132f7a58493d466adaca0baa7fc432b7f8038f58e53e94393ff2f272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8d2a469132f7a58493d466adaca0baa7fc432b7f8038f58e53e94393ff2f272", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8d2a469132f7a58493d466adaca0baa7fc432b7f8038f58e53e94393ff2f272", kill_on_drop: false }`
[INFO] [stdout] f8d2a469132f7a58493d466adaca0baa7fc432b7f8038f58e53e94393ff2f272
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10ee50c2034bd924fec2ec5be58a67bb1c7114d90dd8c6d704ff6f0294fa00c0
[INFO] running `Command { std: "docker" "start" "-a" "10ee50c2034bd924fec2ec5be58a67bb1c7114d90dd8c6d704ff6f0294fa00c0", 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.186
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 | ...ler: &mut D, threshold: f64, similarity: fn(&HashMap<ID, f64>, &HashMap<ID, f64>, usize) -> f64) -> BasicUserRecommender<D> {
[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<ID, f64>, &HashMap<ID, f64>, 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<usize, f64>, &HashMap<usize, f64>, usize) -> f64) -> BasicItemRecommender<D> {
[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<usize, f64>, &HashMap<usize, f64>, 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 | ...ndler: &mut D, k: usize, similarity: fn(&HashMap<ID, f64>, &HashMap<ID, f64>, usize) -> f64) -> KNNUserRecommender<D> {
[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<ID, f64>, &HashMap<ID, f64>, 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 | ...ler: &mut D, k: usize, similarity: fn(&HashMap<usize, f64>, &HashMap<usize, f64>, usize) -> f64) -> KNNItemRecommender<D> {
[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<usize, f64>, &HashMap<usize, f64>, 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 | ...ler: &mut D, threshold: f64, similarity: fn(&HashMap<ID, f64>, &HashMap<ID, f64>, usize) -> f64) -> BasicUserRecommender<D> {
[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<ID, f64>, &HashMap<ID, f64>, 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<usize, f64>, &HashMap<usize, f64>, usize) -> f64) -> BasicItemRecommender<D> {
[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<usize, f64>, &HashMap<usize, f64>, 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 | ...ndler: &mut D, k: usize, similarity: fn(&HashMap<ID, f64>, &HashMap<ID, f64>, usize) -> f64) -> KNNUserRecommender<D> {
[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<ID, f64>, &HashMap<ID, f64>, 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 | ...ler: &mut D, k: usize, similarity: fn(&HashMap<usize, f64>, &HashMap<usize, f64>, usize) -> f64) -> KNNItemRecommender<D> {
[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<usize, f64>, &HashMap<usize, f64>, usize) -> f64) -> KNNItemRecommender<'_, D> {
[INFO] [stdout]     |                                                                                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> benches/oozie.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(test)]
[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] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `oozie` (bench "oozie") due to 1 previous error; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "10ee50c2034bd924fec2ec5be58a67bb1c7114d90dd8c6d704ff6f0294fa00c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10ee50c2034bd924fec2ec5be58a67bb1c7114d90dd8c6d704ff6f0294fa00c0", kill_on_drop: false }`
[INFO] [stdout] 10ee50c2034bd924fec2ec5be58a67bb1c7114d90dd8c6d704ff6f0294fa00c0
