[INFO] fetching crate cargo-tally 1.0.29... [INFO] checking cargo-tally-1.0.29 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate cargo-tally 1.0.29 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cargo-tally 1.0.29 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 crates.io crate cargo-tally 1.0.29 [INFO] finished tweaking crates.io crate cargo-tally 1.0.29 [INFO] tweaked toml for crates.io crate cargo-tally 1.0.29 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-tally 1.0.29 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-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0052c9e7ab6357e81dc8c50f766b5698d675423dbb5d212af76b37a109d47175 [INFO] running `Command { std: "docker" "start" "-a" "0052c9e7ab6357e81dc8c50f766b5698d675423dbb5d212af76b37a109d47175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0052c9e7ab6357e81dc8c50f766b5698d675423dbb5d212af76b37a109d47175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0052c9e7ab6357e81dc8c50f766b5698d675423dbb5d212af76b37a109d47175", kill_on_drop: false }` [INFO] [stdout] 0052c9e7ab6357e81dc8c50f766b5698d675423dbb5d212af76b37a109d47175 [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=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] da35b92772f2e9d8e25409a4417c60587091926506b97a17b6c9036e462c506a [INFO] running `Command { std: "docker" "start" "-a" "da35b92772f2e9d8e25409a4417c60587091926506b97a17b6c9036e462c506a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.186 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling portable-atomic v1.4.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking timely_logging v0.12.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking timely_bytes v0.12.0 [INFO] [stderr] Checking abomonation v0.7.3 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling ref-cast v1.0.20 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking sysinfo v0.29.8 [INFO] [stderr] Checking num_cpus v1.16.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 termcolor v1.2.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Compiling abomonation_derive v0.5.0 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.186 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling ref-cast-impl v1.0.20 [INFO] [stderr] Checking minipre v0.2.0 [INFO] [stderr] Checking opener v0.6.1 [INFO] [stderr] Checking futures-util v0.3.28 [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 `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[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] [stderr] error: could not compile `cargo-tally` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "da35b92772f2e9d8e25409a4417c60587091926506b97a17b6c9036e462c506a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da35b92772f2e9d8e25409a4417c60587091926506b97a17b6c9036e462c506a", kill_on_drop: false }` [INFO] [stdout] da35b92772f2e9d8e25409a4417c60587091926506b97a17b6c9036e462c506a