[INFO] cloning repository https://github.com/rluvaton/cargo-collect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rluvaton/cargo-collect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frluvaton%2Fcargo-collect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frluvaton%2Fcargo-collect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4d16dba883138ea1357f7f2b3b66ec39522ffa2 [INFO] testing rluvaton/cargo-collect against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frluvaton%2Fcargo-collect" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rluvaton/cargo-collect on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rluvaton/cargo-collect [INFO] finished tweaking git repo https://github.com/rluvaton/cargo-collect [INFO] tweaked toml for git repo https://github.com/rluvaton/cargo-collect written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rluvaton/cargo-collect 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e9d7dea1ba81c732e826aced29b8ead02129a67ab26d53d0ca55c4c6e5feaa9 [INFO] running `Command { std: "docker" "start" "-a" "9e9d7dea1ba81c732e826aced29b8ead02129a67ab26d53d0ca55c4c6e5feaa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e9d7dea1ba81c732e826aced29b8ead02129a67ab26d53d0ca55c4c6e5feaa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9d7dea1ba81c732e826aced29b8ead02129a67ab26d53d0ca55c4c6e5feaa9", kill_on_drop: false }` [INFO] [stdout] 9e9d7dea1ba81c732e826aced29b8ead02129a67ab26d53d0ca55c4c6e5feaa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d58ae0b3431fbf5ffc4a587820aef95bceba9133756de47d7a910c13c8f2f9e1 [INFO] running `Command { std: "docker" "start" "-a" "d58ae0b3431fbf5ffc4a587820aef95bceba9133756de47d7a910c13c8f2f9e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling gix-trace v0.1.9 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling faster-hex v0.9.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling prodash v28.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling gix-utils v0.1.12 [INFO] [stderr] Compiling sha1-asm v0.5.2 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling unicode-bom v2.0.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling gix-sec v0.10.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling kstring v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling uluru v3.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clru v0.6.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling gix-macros v0.1.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling gix-hash v0.14.2 [INFO] [stderr] Compiling gix-path v0.10.8 [INFO] [stderr] Compiling gix-date v0.8.7 [INFO] [stderr] Compiling gix-validate v0.8.5 [INFO] [stderr] Compiling gix-chunk v0.4.8 [INFO] [stderr] Compiling gix-quote v0.4.12 [INFO] [stderr] Compiling gix-actor v0.31.4 [INFO] [stderr] Compiling gix-hashtable v0.5.2 [INFO] [stderr] Compiling gix-config-value v0.14.6 [INFO] [stderr] Compiling gix-command v0.3.7 [INFO] [stderr] Compiling gix-bitmap v0.2.11 [INFO] [stderr] Compiling gix-packetline v0.17.5 [INFO] [stderr] Compiling gix-packetline-blocking v0.17.4 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling gix-prompt v0.8.5 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.15 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling gix-features v0.38.2 [INFO] [stderr] Compiling gix-object v0.42.3 [INFO] [stderr] Compiling gix-fs v0.11.1 [INFO] [stderr] Compiling gix-commitgraph v0.24.2 [INFO] [stderr] Compiling gix-glob v0.16.3 [INFO] [stderr] Compiling gix-url v0.27.3 [INFO] [stderr] Compiling gix-tempfile v14.0.0 [INFO] [stderr] Compiling gix-attributes v0.22.2 [INFO] [stderr] Compiling gix-ignore v0.11.2 [INFO] [stderr] Compiling gix-credentials v0.24.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling gix-lock v14.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling gix-transport v0.42.1 [INFO] [stderr] Compiling gix-pathspec v0.7.5 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling gix-revwalk v0.13.1 [INFO] [stderr] Compiling gix-ref v0.44.1 [INFO] [stderr] Compiling gix-pack v0.51.0 [INFO] [stderr] Compiling gix-filter v0.11.2 [INFO] [stderr] Compiling gix-diff v0.44.0 [INFO] [stderr] Compiling gix-revision v0.27.1 [INFO] [stderr] Compiling gix-traverse v0.39.1 [INFO] [stderr] Compiling gix-protocol v0.45.1 [INFO] [stderr] Compiling gix-negotiate v0.13.1 [INFO] [stderr] Compiling gix-refspec v0.23.0 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling gix-index v0.33.0 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling gix-config v0.37.0 [INFO] [stderr] Compiling gix-discover v0.32.0 [INFO] [stderr] Compiling gix-odb v0.61.0 [INFO] [stderr] Compiling gix-worktree v0.34.0 [INFO] [stderr] Compiling gix-submodule v0.11.0 [INFO] [stderr] Compiling gix v0.63.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling crates-index v3.0.0 [INFO] [stderr] Compiling cargo-collect v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressDrawTarget` and `ProgressStyle` [INFO] [stdout] --> src/collect_packages.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressFinish` and `ProgressStyle` [INFO] [stdout] --> src/download_packages.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use indicatif::{ProgressBar, ProgressFinish, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/parse_cargo_files/cargo_toml_file.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | path_deps.iter().for_each(|(key, val)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_cargo_files/cargo_toml_file.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut dependencies = cargo.dependencies.unwrap_or_default(); [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: function `create_file_name_from_crate_name_and_version` is never used [INFO] [stdout] --> src/collect_packages.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn create_file_name_from_crate_name_and_version(crate_name: String, version: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.89s [INFO] running `Command { std: "docker" "inspect" "d58ae0b3431fbf5ffc4a587820aef95bceba9133756de47d7a910c13c8f2f9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58ae0b3431fbf5ffc4a587820aef95bceba9133756de47d7a910c13c8f2f9e1", kill_on_drop: false }` [INFO] [stdout] d58ae0b3431fbf5ffc4a587820aef95bceba9133756de47d7a910c13c8f2f9e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 508fbadfff65a90b747e5af69b8d0da56a9a2987c929483f3cf1c4c7fb598328 [INFO] running `Command { std: "docker" "start" "-a" "508fbadfff65a90b747e5af69b8d0da56a9a2987c929483f3cf1c4c7fb598328", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling cargo-collect v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressDrawTarget` and `ProgressStyle` [INFO] [stdout] --> src/collect_packages.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressFinish` and `ProgressStyle` [INFO] [stdout] --> src/download_packages.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use indicatif::{ProgressBar, ProgressFinish, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/parse_cargo_files/cargo_toml_file.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | path_deps.iter().for_each(|(key, val)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse_cargo_files/cargo_toml_file.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut dependencies = cargo.dependencies.unwrap_or_default(); [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: unused variable: `result` [INFO] [stdout] --> src/parse_cargo_files/cargo_toml_file.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let result = parse_cargo_file(content); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/parse_cargo_files/parse_lock_file.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let result = parse_cargo_lock_file(content); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file_name_from_crate_name_and_version` is never used [INFO] [stdout] --> src/collect_packages.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn create_file_name_from_crate_name_and_version(crate_name: String, version: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.57s [INFO] running `Command { std: "docker" "inspect" "508fbadfff65a90b747e5af69b8d0da56a9a2987c929483f3cf1c4c7fb598328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508fbadfff65a90b747e5af69b8d0da56a9a2987c929483f3cf1c4c7fb598328", kill_on_drop: false }` [INFO] [stdout] 508fbadfff65a90b747e5af69b8d0da56a9a2987c929483f3cf1c4c7fb598328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31d72d9e791c29e7a583fe21c18f0d0c69c32f55df5c11fb7b1050a6ec643656 [INFO] running `Command { std: "docker" "start" "-a" "31d72d9e791c29e7a583fe21c18f0d0c69c32f55df5c11fb7b1050a6ec643656", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ProgressDrawTarget` and `ProgressStyle` [INFO] [stderr] --> src/collect_packages.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ProgressFinish` and `ProgressStyle` [INFO] [stderr] --> src/download_packages.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | use indicatif::{ProgressBar, ProgressFinish, ProgressStyle}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/parse_cargo_files/parse_lock_file.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> src/parse_cargo_files/parse_lock_file.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/parse_cargo_files/parse_lock_file.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/parse_cargo_files/cargo_toml_file.rs:88:33 [INFO] [stderr] | [INFO] [stderr] 88 | path_deps.iter().for_each(|(key, val)| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parse_cargo_files/cargo_toml_file.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let mut dependencies = cargo.dependencies.unwrap_or_default(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/parse_cargo_files/cargo_toml_file.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | let result = parse_cargo_file(content); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/parse_cargo_files/parse_lock_file.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | let result = parse_cargo_lock_file(content); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: function `create_file_name_from_crate_name_and_version` is never used [INFO] [stderr] --> src/collect_packages.rs:191:4 [INFO] [stderr] | [INFO] [stderr] 191 | fn create_file_name_from_crate_name_and_version(crate_name: String, version: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cargo-collect` (bin "cargo-collect" test) generated 11 warnings (run `cargo fix --bin "cargo-collect" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_collect-5cbdd285ef7948b8) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test cli::tests::parse_successfully_for_cargo_file ... ok [INFO] [stdout] test cli::tests::parse_successfully_for_crate_name ... ok [INFO] [stdout] test cli::tests::parse_successfully_for_lock_file ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::multiple_deps_with_just_version_string ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::multiple_deps_with_just_version_object ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::empty_deps ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::multiple_deps_with_just_version_string_and_object ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::combined_parse_single_file ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::no_deps ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::multiple_deps_with_version_and_features ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::parse_root_workspace_cargo_file ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::multiple_deps_with_version_and_features_and_default_features ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::parse_workspace_lib_cargo_file ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::single_dep_with_just_version_object ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::single_dep_with_version_and_features ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::single_dep_with_version_and_features_and_default_features ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::no_packages ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::single_dep_with_just_version_string ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::multiple_remote_packages ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::local_package ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::single_remote_package ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::local_package_with_deps ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::read_cargo_file_with_local ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::read_cargo_file ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::remote_package_with_deps ... ok [INFO] [stdout] test parse_cargo_files::cargo_toml_file::tests::support_local_deps ... ok [INFO] [stdout] test parse_cargo_files::parse_lock_file::tests::read_cargo_lock_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31d72d9e791c29e7a583fe21c18f0d0c69c32f55df5c11fb7b1050a6ec643656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31d72d9e791c29e7a583fe21c18f0d0c69c32f55df5c11fb7b1050a6ec643656", kill_on_drop: false }` [INFO] [stdout] 31d72d9e791c29e7a583fe21c18f0d0c69c32f55df5c11fb7b1050a6ec643656