[INFO] cloning repository https://github.com/dtolnay/cargo-tally [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dtolnay/cargo-tally" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtolnay%2Fcargo-tally", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtolnay%2Fcargo-tally'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 981f93160923b4bb3ba04c4ea0d8698f2409427a [INFO] checking dtolnay/cargo-tally against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtolnay%2Fcargo-tally" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dtolnay/cargo-tally 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/dtolnay/cargo-tally [INFO] finished tweaking git repo https://github.com/dtolnay/cargo-tally [INFO] tweaked toml for git repo https://github.com/dtolnay/cargo-tally written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 854ba87c1b2709a55b600e8944f4cfb64ae2bbed8c45b7def75c37c8181ab0f0 [INFO] running `Command { std: "docker" "start" "-a" "854ba87c1b2709a55b600e8944f4cfb64ae2bbed8c45b7def75c37c8181ab0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854ba87c1b2709a55b600e8944f4cfb64ae2bbed8c45b7def75c37c8181ab0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854ba87c1b2709a55b600e8944f4cfb64ae2bbed8c45b7def75c37c8181ab0f0", kill_on_drop: false }` [INFO] [stdout] 854ba87c1b2709a55b600e8944f4cfb64ae2bbed8c45b7def75c37c8181ab0f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8d9c5551691ae7f7fde47afa92cf25dad062b99ad49441eb02b16499e0d36793 [INFO] running `Command { std: "docker" "start" "-a" "8d9c5551691ae7f7fde47afa92cf25dad062b99ad49441eb02b16499e0d36793", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking aho-corasick v1.1.0 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking timely_logging v0.12.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking timely_bytes v0.12.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking clap_builder v4.4.4 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking sysinfo v0.29.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking cargo-subcommand-metadata v0.1.0 [INFO] [stderr] Checking atomic-take v1.1.0 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking clap v4.4.4 [INFO] [stderr] Compiling abomonation_derive v0.5.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling ref-cast-impl v1.0.20 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking minipre v0.2.0 [INFO] [stderr] Checking opener v0.6.1 [INFO] [stderr] Checking timely_communication v0.12.0 [INFO] [stderr] Checking db-dump v0.4.8 [INFO] [stderr] Checking timely v0.12.0 [INFO] [stderr] Checking differential-dataflow v0.12.0 [INFO] [stderr] Checking cargo-tally v1.0.29 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local data `query.predicates` [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | // query [INFO] [stdout] 288 | || .predicates [INFO] [stdout] | ||___________________________- `query.predicates` is borrowed here [INFO] [stdout] 289 | | .iter() [INFO] [stdout] 290 | | .map(move |pred| (pred.crate_id, (query.id, pred.req))) [INFO] [stdout] | |________________________________________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `query.predicates` [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | // query [INFO] [stdout] 288 | || .predicates [INFO] [stdout] | ||___________________________- `query.predicates` is borrowed here [INFO] [stdout] 289 | | .iter() [INFO] [stdout] 290 | | .map(move |pred| (pred.crate_id, (query.id, pred.req))) [INFO] [stdout] | |________________________________________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `rel.features` [INFO] [stdout] --> src/lib.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | rel.features [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | _____________`rel.features` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 359 | | .iter() [INFO] [stdout] 360 | | .flat_map(move |feature| { [INFO] [stdout] 361 | | let edge_from = VersionFeature { [INFO] [stdout] ... | [INFO] [stdout] 401 | | }) [INFO] [stdout] 402 | | .map(|(edge_from, edge_to)| ((edge_from, edge_to), 1)) [INFO] [stdout] | |______________________________________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `rel.features` [INFO] [stdout] --> src/lib.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | rel.features [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | _____________`rel.features` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 359 | | .iter() [INFO] [stdout] 360 | | .flat_map(move |feature| { [INFO] [stdout] 361 | | let edge_from = VersionFeature { [INFO] [stdout] ... | [INFO] [stdout] 401 | | }) [INFO] [stdout] 402 | | .map(|(edge_from, edge_to)| ((edge_from, edge_to), 1)) [INFO] [stdout] | |______________________________________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-tally` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-tally` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8d9c5551691ae7f7fde47afa92cf25dad062b99ad49441eb02b16499e0d36793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9c5551691ae7f7fde47afa92cf25dad062b99ad49441eb02b16499e0d36793", kill_on_drop: false }` [INFO] [stdout] 8d9c5551691ae7f7fde47afa92cf25dad062b99ad49441eb02b16499e0d36793