[INFO] cloning repository https://github.com/simonvandel/fcbf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simonvandel/fcbf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonvandel%2Ffcbf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonvandel%2Ffcbf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 08439f0dc2e4d00fb8a3d6391842d47cdfe54178
[INFO] testing simonvandel/fcbf against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonvandel%2Ffcbf" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/simonvandel/fcbf on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0/source/Cargo.toml
[INFO] crate git repo https://github.com/simonvandel/fcbf already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded float-cmp v0.4.0
[INFO] [stderr] Downloaded env_logger v0.5.9
[INFO] [stderr] Downloaded csv-core v0.1.4
[INFO] [stderr] Downloaded noisy_float v0.1.4
[INFO] [stderr] Downloaded quickcheck v0.6.2
[INFO] [stderr] Downloaded serde v1.0.45
[INFO] [stderr] Downloaded ndarray v0.11.2
[INFO] [stderr] Downloaded csv v1.0.0-beta.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3fb8e8599799f7155d6bc992d7245cdc97e06eadbc3dac289f3adbb6cb8bf07f
[INFO] running `Command { std: "docker" "start" "-a" "3fb8e8599799f7155d6bc992d7245cdc97e06eadbc3dac289f3adbb6cb8bf07f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3fb8e8599799f7155d6bc992d7245cdc97e06eadbc3dac289f3adbb6cb8bf07f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fb8e8599799f7155d6bc992d7245cdc97e06eadbc3dac289f3adbb6cb8bf07f", kill_on_drop: false }`
[INFO] [stdout] 3fb8e8599799f7155d6bc992d7245cdc97e06eadbc3dac289f3adbb6cb8bf07f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ce8a06e4187899af186a99efc6eea5e64b412d031082725a59e96745d3c3a07
[INFO] running `Command { std: "docker" "start" "-a" "9ce8a06e4187899af186a99efc6eea5e64b412d031082725a59e96745d3c3a07", kill_on_drop: false }`
[INFO] [stderr] Compiling num-traits v0.2.2
[INFO] [stderr] Compiling matrixmultiply v0.1.14
[INFO] [stderr] Compiling libc v0.2.40
[INFO] [stderr] Compiling rawpointer v0.1.0
[INFO] [stderr] Compiling void v1.0.2
[INFO] [stderr] Compiling either v1.5.0
[INFO] [stderr] Compiling ndarray v0.11.2
[INFO] [stderr] Compiling serde v1.0.45
[INFO] [stderr] Compiling indexmap v1.0.1
[INFO] [stderr] Compiling unreachable v0.1.1
[INFO] [stderr] Compiling itertools v0.7.8
[INFO] [stderr] Compiling memchr v2.0.1
[INFO] [stderr] Compiling csv-core v0.1.4
[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 csv v1.0.0-beta.5
[INFO] [stderr] Compiling fcbf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `cacher`
[INFO] [stdout] --> src/main.rs:31:37
[INFO] [stdout] |
[INFO] [stdout] 31 | fn symmetric_uncertainty_cached<'a>(cacher: &mut MyCacher, x: &'a Col<'a>, y: &'a Col<'a>) -> ValueType {
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cacher`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0597]: `x` does not live long enough
[INFO] [stdout] --> src/main.rs:106:26
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 106 | let cols: Vec
= x.gencolumns()
[INFO] [stdout] | ^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 110 | / Col {
[INFO] [stdout] 111 | | idx,
[INFO] [stdout] 112 | | values: f_i,
[INFO] [stdout] 113 | | }}).collect();
[INFO] [stdout] | |_________- returning this value requires that `x` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 172 | }
[INFO] [stdout] | - `x` dropped here while still borrowed
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0597]: `c` does not live long enough
[INFO] [stdout] --> src/main.rs:118:64
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y);
[INFO] [stdout] | ------------------------------------------^^-------
[INFO] [stdout] | | |
[INFO] [stdout] | | borrowed value does not live long enough
[INFO] [stdout] | argument requires that `c` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 122 | }
[INFO] [stdout] | - `c` dropped here while still borrowed
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0597]: `f_y` does not live long enough
[INFO] [stdout] --> src/main.rs:118:68
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y);
[INFO] [stdout] | ----------------------------------------------^^^^-
[INFO] [stdout] | | |
[INFO] [stdout] | | borrowed value does not live long enough
[INFO] [stdout] | argument requires that `f_y` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 172 | }
[INFO] [stdout] | - `f_y` dropped here while still borrowed
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0505]: cannot move out of `c` because it is borrowed
[INFO] [stdout] --> src/main.rs:120:38
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y);
[INFO] [stdout] | ---------------------------------------------------
[INFO] [stdout] | | |
[INFO] [stdout] | | borrow of `c` occurs here
[INFO] [stdout] | argument requires that `c` is borrowed for `'x`
[INFO] [stdout] 119 | if su_i_c >= threshold {
[INFO] [stdout] 120 | s_list.push(Feature{col: c, su_target: su_i_c});
[INFO] [stdout] | ^ move out of `c` occurs here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0597]: `s_list` does not live long enough
[INFO] [stdout] --> src/main.rs:130:27
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 130 | while let Some(f_p) = s_list.get(cur_feature_idx) {
[INFO] [stdout] | ^^^^^^---------------------
[INFO] [stdout] | |
[INFO] [stdout] | borrowed value does not live long enough
[INFO] [stdout] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 172 | }
[INFO] [stdout] | - `s_list` dropped here while still borrowed
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0597]: `s_list` does not live long enough
[INFO] [stdout] --> src/main.rs:132:26
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 132 | let unexplored = s_list.iter().skip(cur_feature_idx + 1).filter(|f_q| {
[INFO] [stdout] | ^^^^^^-------
[INFO] [stdout] | |
[INFO] [stdout] | borrowed value does not live long enough
[INFO] [stdout] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 172 | }
[INFO] [stdout] | - `s_list` dropped here while still borrowed
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0597]: `f_y` does not live long enough
[INFO] [stdout] --> src/main.rs:138:86
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 132 | let unexplored = s_list.iter().skip(cur_feature_idx + 1).filter(|f_q| {
[INFO] [stdout] | ----- value captured here
[INFO] [stdout] ...
[INFO] [stdout] 138 | let f_q_su_target = symmetric_uncertainty_cached(&mut cacher, &f_q.col, &f_y);
[INFO] [stdout] | -----------------------------------------------------^^^-
[INFO] [stdout] | | |
[INFO] [stdout] | | borrowed value does not live long enough
[INFO] [stdout] | argument requires that `f_y` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 172 | }
[INFO] [stdout] | - `f_y` dropped here while still borrowed
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0506]: cannot assign to `s_list` because it is borrowed
[INFO] [stdout] --> src/main.rs:153:9
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 130 | while let Some(f_p) = s_list.get(cur_feature_idx) {
[INFO] [stdout] | ---------------------------
[INFO] [stdout] | |
[INFO] [stdout] | borrow of `s_list` occurs here
[INFO] [stdout] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 153 | s_list = new_s_list.clone();
[INFO] [stdout] | ^^^^^^ assignment to borrowed `s_list` occurs here
[INFO] [stdout] |
[INFO] [stdout] = note: borrow occurs due to deref coercion to `[Feature]`
[INFO] [stdout] note: deref defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0502]: cannot borrow `s_list` as mutable because it is also borrowed as immutable
[INFO] [stdout] --> src/main.rs:159:5
[INFO] [stdout] |
[INFO] [stdout] 91 | pub fn fcbf<'x>(
[INFO] [stdout] | -- lifetime `'x` defined here
[INFO] [stdout] ...
[INFO] [stdout] 130 | while let Some(f_p) = s_list.get(cur_feature_idx) {
[INFO] [stdout] | ---------------------------
[INFO] [stdout] | |
[INFO] [stdout] | immutable borrow occurs here
[INFO] [stdout] | argument requires that `s_list` is borrowed for `'x`
[INFO] [stdout] ...
[INFO] [stdout] 159 | s_list.sort_by(|a, b| {
[INFO] [stdout] | ^^^^^^ mutable borrow occurs here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0502, E0505, E0506, E0597.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `fcbf`
[INFO] [stderr]
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "9ce8a06e4187899af186a99efc6eea5e64b412d031082725a59e96745d3c3a07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ce8a06e4187899af186a99efc6eea5e64b412d031082725a59e96745d3c3a07", kill_on_drop: false }`
[INFO] [stdout] 9ce8a06e4187899af186a99efc6eea5e64b412d031082725a59e96745d3c3a07