[INFO] cloning repository https://github.com/puma3/distributed_recommender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/puma3/distributed_recommender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuma3%2Fdistributed_recommender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuma3%2Fdistributed_recommender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be19d7076799e93846adcd6256be68413fc7e165 [INFO] testing puma3/distributed_recommender against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuma3%2Fdistributed_recommender" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/puma3/distributed_recommender on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/puma3/distributed_recommender [INFO] removed path dependency database from git repo https://github.com/puma3/distributed_recommender [INFO] removed path dependency distance from git repo https://github.com/puma3/distributed_recommender [INFO] finished tweaking git repo https://github.com/puma3/distributed_recommender [INFO] tweaked toml for git repo https://github.com/puma3/distributed_recommender written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/puma3/distributed_recommender already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (database) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (distance) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (database) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (distance) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9922d19df813f06bf86dde8ca9ab63366bc9c01ff63bad6a3fcbebef9e98aae0 [INFO] running `Command { std: "docker" "start" "-a" "9922d19df813f06bf86dde8ca9ab63366bc9c01ff63bad6a3fcbebef9e98aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9922d19df813f06bf86dde8ca9ab63366bc9c01ff63bad6a3fcbebef9e98aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9922d19df813f06bf86dde8ca9ab63366bc9c01ff63bad6a3fcbebef9e98aae0", kill_on_drop: false }` [INFO] [stdout] 9922d19df813f06bf86dde8ca9ab63366bc9c01ff63bad6a3fcbebef9e98aae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43fcaf81cce6f358086f478994f7d418586a1f8b434330be6aaf2b45808777c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "43fcaf81cce6f358086f478994f7d418586a1f8b434330be6aaf2b45808777c8", kill_on_drop: false }` [INFO] [stderr] warning: dependency (database) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (distance) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling timely_logging v0.11.1 [INFO] [stderr] Compiling timely_bytes v0.11.0 [INFO] [stderr] Compiling abomonation v0.7.3 [INFO] [stderr] Compiling distance v0.4.0 [INFO] [stderr] Compiling database v0.5.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling abomonation_derive v0.5.0 [INFO] [stderr] Compiling timely_communication v0.11.1 [INFO] [stderr] Compiling timely v0.11.1 [INFO] [stderr] Compiling distributed_recommender v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `timely::dataflow::channels::message` [INFO] [stdout] --> src/main.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use timely::dataflow::channels::message::Content; [INFO] [stdout] | ^^^^^^^ could not find `message` in `channels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Database` [INFO] [stdout] --> src/main.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let db = Database::from_file(path); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pearson_coef` in crate `distance` [INFO] [stdout] --> src/main.rs:71:114 [INFO] [stdout] | [INFO] [stdout] 71 | ... distance::pearson_coef))); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use database::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | .unary(Pipeline, "user-user_distances", |capability| [INFO] [stdout] | ^^^^^ ------------ takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `distance_between_users` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:69:82 [INFO] [stdout] | [INFO] [stdout] 69 | ... session.give((*id_2, db1.lock().unwrap().distance_between_users(id... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `db1.lock().unwrap()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/main.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | .unary(Pipeline, "user-based_recommend", |capability| [INFO] [stdout] | ^^^^^ ------------ takes 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `user_based_recommendation` found for struct `std::sync::MutexGuard<'_, _>` in the current scope [INFO] [stdout] --> src/main.rs:84:62 [INFO] [stdout] | [INFO] [stdout] 84 | ... session.give(db2.lock().unwrap().user_based_recommendation(dist_vec)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `std::sync::MutexGuard<'_, _>` [INFO] [stdout] | [INFO] [stdout] = note: `db2.lock().unwrap()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0593, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed_recommender`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "43fcaf81cce6f358086f478994f7d418586a1f8b434330be6aaf2b45808777c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43fcaf81cce6f358086f478994f7d418586a1f8b434330be6aaf2b45808777c8", kill_on_drop: false }` [INFO] [stdout] 43fcaf81cce6f358086f478994f7d418586a1f8b434330be6aaf2b45808777c8