[INFO] cloning repository https://github.com/mosmeh/indexa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mosmeh/indexa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosmeh%2Findexa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosmeh%2Findexa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 575b94b2ac74090c63a863b0b7a12fe72cbd1da6 [INFO] checking mosmeh/indexa against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmosmeh%2Findexa" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mosmeh/indexa on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mosmeh/indexa [INFO] finished tweaking git repo https://github.com/mosmeh/indexa [INFO] tweaked toml for git repo https://github.com/mosmeh/indexa written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mosmeh/indexa 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0b004eaa5232bd2401069bed352a3a541868aa1c3e4e2938e1c973382b42d4a [INFO] running `Command { std: "docker" "start" "-a" "a0b004eaa5232bd2401069bed352a3a541868aa1c3e4e2938e1c973382b42d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0b004eaa5232bd2401069bed352a3a541868aa1c3e4e2938e1c973382b42d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b004eaa5232bd2401069bed352a3a541868aa1c3e4e2938e1c973382b42d4a", kill_on_drop: false }` [INFO] [stdout] a0b004eaa5232bd2401069bed352a3a541868aa1c3e4e2938e1c973382b42d4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb0b02cf7f85cfe3c875299e8a75616abb34cd178fb1fea42420628f15ee5d3a [INFO] running `Command { std: "docker" "start" "-a" "cb0b02cf7f85cfe3c875299e8a75616abb34cd178fb1fea42420628f15ee5d3a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking zeroize v1.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Checking hashbrown v0.12.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking size v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tui v0.17.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking dialoguer v0.10.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-map-derive v0.8.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking enum-map v2.0.3 [INFO] [stderr] Checking indexa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/indexer.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut parent_node = &mut ctx.database.nodes[parent_id as usize]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/indexer.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut parent_node = &mut ctx.database.nodes[parent_id as usize]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `entry`, which is owned by the current function [INFO] [stdout] --> src/bin/ix/tui/draw.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|column| { [INFO] [stdout] | ^^^^^^^^ may outlive borrowed value `entry` [INFO] [stdout] 90 | self.format_column_content(&column.status, &entry, self.query.as_ref().unwrap()) [INFO] [stdout] | ----- `entry` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: closure is returned here [INFO] [stdout] --> src/bin/ix/tui/draw.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Row::new(contents.into_iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: to force the closure to take ownership of `entry` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 89 | .map(move |column| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `entry`, which is owned by the current function [INFO] [stdout] --> src/bin/ix/tui/draw.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|column| { [INFO] [stdout] | ^^^^^^^^ may outlive borrowed value `entry` [INFO] [stdout] 90 | self.format_column_content(&column.status, &entry, self.query.as_ref().unwrap()) [INFO] [stdout] | ----- `entry` is borrowed here [INFO] [stdout] | [INFO] [stdout] note: closure is returned here [INFO] [stdout] --> src/bin/ix/tui/draw.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | Row::new(contents.into_iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: to force the closure to take ownership of `entry` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 89 | .map(move |column| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `indexa` (bin "ix") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `indexa` (bin "ix" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "cb0b02cf7f85cfe3c875299e8a75616abb34cd178fb1fea42420628f15ee5d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0b02cf7f85cfe3c875299e8a75616abb34cd178fb1fea42420628f15ee5d3a", kill_on_drop: false }` [INFO] [stdout] cb0b02cf7f85cfe3c875299e8a75616abb34cd178fb1fea42420628f15ee5d3a