[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] checking simonvandel/fcbf against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonvandel%2Ffcbf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simonvandel/fcbf on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrixmultiply v0.1.14 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded noisy_float v0.1.4 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded float-cmp v0.4.0 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded indexmap v1.0.1 [INFO] [stderr] Downloaded serde v1.0.45 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] [stderr] Downloaded env_logger v0.5.9 [INFO] [stderr] Downloaded csv v1.0.0-beta.5 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256ba45a4ae9661628af4f8d580348d7163355bc9e4cfa00d824b6a065f19af7 [INFO] running `Command { std: "docker" "start" "-a" "256ba45a4ae9661628af4f8d580348d7163355bc9e4cfa00d824b6a065f19af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256ba45a4ae9661628af4f8d580348d7163355bc9e4cfa00d824b6a065f19af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256ba45a4ae9661628af4f8d580348d7163355bc9e4cfa00d824b6a065f19af7", kill_on_drop: false }` [INFO] [stdout] 256ba45a4ae9661628af4f8d580348d7163355bc9e4cfa00d824b6a065f19af7 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c920af4afdcbe10e5c1bacbc5c83913aaae5467fb31c426425cc7d21b09bdf9a [INFO] running `Command { std: "docker" "start" "-a" "c920af4afdcbe10e5c1bacbc5c83913aaae5467fb31c426425cc7d21b09bdf9a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking serde v1.0.45 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking noisy_float v0.1.4 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking env_logger v0.5.9 [INFO] [stderr] Checking csv v1.0.0-beta.5 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stderr] Checking fcbf v0.1.0 (/opt/rustwide/workdir) [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] 92 | x: ArrayView<'x, ValueType, Ix2>, [INFO] [stdout] | - binding `x` declared 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] 117 | for c in cols { [INFO] [stdout] | - binding `c` declared here [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] 103 | let f_y = Col{idx: x.cols(), values: y}; [INFO] [stdout] | --- binding `f_y` declared 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] 117 | for c in cols { [INFO] [stdout] | - binding `c` declared here [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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y).clone(); [INFO] [stdout] | ++++++++ [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] 100 | let mut s_list: Vec = Vec::new(); [INFO] [stdout] | ---------- binding `s_list` declared 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] 100 | let mut s_list: Vec = Vec::new(); [INFO] [stdout] | ---------- binding `s_list` declared 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] 103 | let f_y = Col{idx: x.cols(), values: y}; [INFO] [stdout] | --- binding `f_y` declared 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] | `s_list` is borrowed 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] | ^^^^^^ `s_list` is assigned to here but it was already borrowed [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `[Feature<'_>]` [INFO] [stdout] note: deref defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/vec/mod.rs:2813:5 [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 [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` (bin "fcbf") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 92 | x: ArrayView<'x, ValueType, Ix2>, [INFO] [stdout] | - binding `x` declared 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] 117 | for c in cols { [INFO] [stdout] | - binding `c` declared here [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] 103 | let f_y = Col{idx: x.cols(), values: y}; [INFO] [stdout] | --- binding `f_y` declared 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] 117 | for c in cols { [INFO] [stdout] | - binding `c` declared here [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] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 118 | let su_i_c = symmetric_uncertainty_cached(&mut cacher, &c, &f_y).clone(); [INFO] [stdout] | ++++++++ [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] 100 | let mut s_list: Vec = Vec::new(); [INFO] [stdout] | ---------- binding `s_list` declared 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] 100 | let mut s_list: Vec = Vec::new(); [INFO] [stdout] | ---------- binding `s_list` declared 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] 103 | let f_y = Col{idx: x.cols(), values: y}; [INFO] [stdout] | --- binding `f_y` declared 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] | `s_list` is borrowed 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] | ^^^^^^ `s_list` is assigned to here but it was already borrowed [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `[Feature<'_>]` [INFO] [stdout] note: deref defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/vec/mod.rs:2813:5 [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 [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` (bin "fcbf" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c920af4afdcbe10e5c1bacbc5c83913aaae5467fb31c426425cc7d21b09bdf9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c920af4afdcbe10e5c1bacbc5c83913aaae5467fb31c426425cc7d21b09bdf9a", kill_on_drop: false }` [INFO] [stdout] c920af4afdcbe10e5c1bacbc5c83913aaae5467fb31c426425cc7d21b09bdf9a [INFO] checking simonvandel/fcbf against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimonvandel%2Ffcbf" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simonvandel/fcbf on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dce5c68251c20ee9ec0c07829dd5a978cf499464838050802f8a58db7fa068c [INFO] running `Command { std: "docker" "start" "-a" "0dce5c68251c20ee9ec0c07829dd5a978cf499464838050802f8a58db7fa068c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dce5c68251c20ee9ec0c07829dd5a978cf499464838050802f8a58db7fa068c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dce5c68251c20ee9ec0c07829dd5a978cf499464838050802f8a58db7fa068c", kill_on_drop: false }` [INFO] [stdout] 0dce5c68251c20ee9ec0c07829dd5a978cf499464838050802f8a58db7fa068c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47a836f8adcf4fd63f5f104938771fed2428fe7774a6573c08c0d756375786fb [INFO] running `Command { std: "docker" "start" "-a" "47a836f8adcf4fd63f5f104938771fed2428fe7774a6573c08c0d756375786fb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "47a836f8adcf4fd63f5f104938771fed2428fe7774a6573c08c0d756375786fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a836f8adcf4fd63f5f104938771fed2428fe7774a6573c08c0d756375786fb", kill_on_drop: false }` [INFO] [stdout] 47a836f8adcf4fd63f5f104938771fed2428fe7774a6573c08c0d756375786fb