[INFO] updating cached repository https://github.com/simonvandel/fcbf
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 08439f0dc2e4d00fb8a3d6391842d47cdfe54178
[INFO] testing simonvandel/fcbf against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonvandel%2Ffcbf" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/simonvandel/fcbf on toolchain 41997647ba6a77908f6ef64401414feb00bccf16
[INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/simonvandel/fcbf
[INFO] finished tweaking git repo https://github.com/simonvandel/fcbf
[INFO] tweaked toml for git repo https://github.com/simonvandel/fcbf written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/simonvandel/fcbf already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3a754e89b9aeedf416ee997ab85b81701e4ff1e9dca14552c10aae19988b188f
[INFO] running `"docker" "start" "-a" "3a754e89b9aeedf416ee997ab85b81701e4ff1e9dca14552c10aae19988b188f"`
[INFO] [stderr] Compiling num-traits v0.2.2
[INFO] [stderr] Compiling void v1.0.2
[INFO] [stderr] Compiling ndarray v0.11.2
[INFO] [stderr] Compiling rawpointer v0.1.0
[INFO] [stderr] Compiling indexmap v1.0.1
[INFO] [stderr] Compiling itertools v0.7.8
[INFO] [stderr] Compiling memchr v2.0.1
[INFO] [stderr] Compiling matrixmultiply v0.1.14
[INFO] [stderr] Compiling unreachable v0.1.1
[INFO] [stderr] Compiling csv-core v0.1.4
[INFO] [stderr] Compiling csv v1.0.0-beta.5
[INFO] [stderr] Compiling num-traits v0.1.43
[INFO] [stderr] Compiling num-complex v0.1.43
[INFO] [stderr] Compiling ordered-float v0.5.0
[INFO] [stderr] Compiling noisy_float v0.1.4
[INFO] [stderr] Compiling fcbf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused variable: `cacher`
[INFO] [stderr] --> src/main.rs:31:37
[INFO] [stderr] |
[INFO] [stderr] 31 | fn symmetric_uncertainty_cached<'a>(cacher: &mut MyCacher, x: &'a Col<'a>, y: &'a Col<'a>) -> ValueType {
[INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cacher`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] error[E0597]: `x` does not live long enough
[INFO] [stderr] --> src/main.rs:106:26
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 106 | let cols: Vec
= x.gencolumns()
[INFO] [stderr] | ^ borrowed value does not live long enough
[INFO] [stderr] ...
[INFO] [stderr] 110 | / Col {
[INFO] [stderr] 111 | | idx,
[INFO] [stderr] 112 | | values: f_i,
[INFO] [stderr] 113 | | }}).collect();
[INFO] [stderr] | |_________- returning this value requires that `x` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 172 | }
[INFO] [stderr] | - `x` dropped here while still borrowed
[INFO] [stderr]
[INFO] [stderr] error[E0597]: `c` does not live long enough
[INFO] [stderr] --> src/main.rs:118:64
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y);
[INFO] [stderr] | ------------------------------------------^^-------
[INFO] [stderr] | | |
[INFO] [stderr] | | borrowed value does not live long enough
[INFO] [stderr] | argument requires that `c` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 122 | }
[INFO] [stderr] | - `c` dropped here while still borrowed
[INFO] [stderr]
[INFO] [stderr] error[E0597]: `f_y` does not live long enough
[INFO] [stderr] --> src/main.rs:118:68
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y);
[INFO] [stderr] | ----------------------------------------------^^^^-
[INFO] [stderr] | | |
[INFO] [stderr] | | borrowed value does not live long enough
[INFO] [stderr] | argument requires that `f_y` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 172 | }
[INFO] [stderr] | - `f_y` dropped here while still borrowed
[INFO] [stderr]
[INFO] [stderr] error[E0505]: cannot move out of `c` because it is borrowed
[INFO] [stderr] --> src/main.rs:120:38
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y);
[INFO] [stderr] | ---------------------------------------------------
[INFO] [stderr] | | |
[INFO] [stderr] | | borrow of `c` occurs here
[INFO] [stderr] | argument requires that `c` is borrowed for `'x`
[INFO] [stderr] 119 | if su_i_c >= threshold {
[INFO] [stderr] 120 | s_list.push(Feature{col: c, su_target: su_i_c});
[INFO] [stderr] | ^ move out of `c` occurs here
[INFO] [stderr]
[INFO] [stderr] error[E0597]: `s_list` does not live long enough
[INFO] [stderr] --> src/main.rs:130:27
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 130 | while let Some(f_p) = s_list.get(cur_feature_idx) {
[INFO] [stderr] | ^^^^^^---------------------
[INFO] [stderr] | |
[INFO] [stderr] | borrowed value does not live long enough
[INFO] [stderr] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 172 | }
[INFO] [stderr] | - `s_list` dropped here while still borrowed
[INFO] [stderr]
[INFO] [stderr] error[E0597]: `s_list` does not live long enough
[INFO] [stderr] --> src/main.rs:132:26
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 132 | let unexplored = s_list.iter().skip(cur_feature_idx + 1).filter(|f_q| {
[INFO] [stderr] | ^^^^^^-------
[INFO] [stderr] | |
[INFO] [stderr] | borrowed value does not live long enough
[INFO] [stderr] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 172 | }
[INFO] [stderr] | - `s_list` dropped here while still borrowed
[INFO] [stderr]
[INFO] [stderr] error[E0597]: `f_y` does not live long enough
[INFO] [stderr] --> src/main.rs:138:86
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 132 | let unexplored = s_list.iter().skip(cur_feature_idx + 1).filter(|f_q| {
[INFO] [stderr] | ----- value captured here
[INFO] [stderr] ...
[INFO] [stderr] 138 | let f_q_su_target = symmetric_uncertainty_cached(&mut cacher, &f_q.col, &f_y);
[INFO] [stderr] | -----------------------------------------------------^^^-
[INFO] [stderr] | | |
[INFO] [stderr] | | borrowed value does not live long enough
[INFO] [stderr] | argument requires that `f_y` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 172 | }
[INFO] [stderr] | - `f_y` dropped here while still borrowed
[INFO] [stderr]
[INFO] [stderr] error[E0506]: cannot assign to `s_list` because it is borrowed
[INFO] [stderr] --> src/main.rs:153:9
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 130 | while let Some(f_p) = s_list.get(cur_feature_idx) {
[INFO] [stderr] | ---------------------------
[INFO] [stderr] | |
[INFO] [stderr] | borrow of `s_list` occurs here
[INFO] [stderr] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 153 | s_list = new_s_list.clone();
[INFO] [stderr] | ^^^^^^ assignment to borrowed `s_list` occurs here
[INFO] [stderr]
[INFO] [stderr] error[E0502]: cannot borrow `s_list` as mutable because it is also borrowed as immutable
[INFO] [stderr] --> src/main.rs:159:5
[INFO] [stderr] |
[INFO] [stderr] 91 | pub fn fcbf<'x>(
[INFO] [stderr] | -- lifetime `'x` defined here
[INFO] [stderr] ...
[INFO] [stderr] 130 | while let Some(f_p) = s_list.get(cur_feature_idx) {
[INFO] [stderr] | ---------------------------
[INFO] [stderr] | |
[INFO] [stderr] | immutable borrow occurs here
[INFO] [stderr] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stderr] ...
[INFO] [stderr] 159 | s_list.sort_by(|a, b| {
[INFO] [stderr] | ^^^^^^ mutable borrow occurs here
[INFO] [stderr]
[INFO] [stderr] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0502, E0505, E0506, E0597.
[INFO] [stderr] For more information about an error, try `rustc --explain E0502`.
[INFO] [stderr] error: could not compile `fcbf`.
[INFO] [stderr]
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "3a754e89b9aeedf416ee997ab85b81701e4ff1e9dca14552c10aae19988b188f"`
[INFO] running `"docker" "rm" "-f" "3a754e89b9aeedf416ee997ab85b81701e4ff1e9dca14552c10aae19988b188f"`
[INFO] [stdout] 3a754e89b9aeedf416ee997ab85b81701e4ff1e9dca14552c10aae19988b188f