[INFO] fetching crate cargo-generate 0.18.3... [INFO] checking cargo-generate-0.18.3 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate cargo-generate 0.18.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cargo-generate 0.18.3 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-generate 0.18.3 [INFO] finished tweaking crates.io crate cargo-generate 0.18.3 [INFO] tweaked toml for crates.io crate cargo-generate 0.18.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-generate 0.18.3 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d4f1878e8f79e8bb005f356493a9a2570e707e9313d6a34ba6c05e0cc514cb4 [INFO] running `Command { std: "docker" "start" "-a" "2d4f1878e8f79e8bb005f356493a9a2570e707e9313d6a34ba6c05e0cc514cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d4f1878e8f79e8bb005f356493a9a2570e707e9313d6a34ba6c05e0cc514cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d4f1878e8f79e8bb005f356493a9a2570e707e9313d6a34ba6c05e0cc514cb4", kill_on_drop: false }` [INFO] [stdout] 2d4f1878e8f79e8bb005f356493a9a2570e707e9313d6a34ba6c05e0cc514cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e137ddb4e4e0dc2fd8764ed1601431918a49400e798a0822c380c29647196d37 [INFO] running `Command { std: "docker" "start" "-a" "e137ddb4e4e0dc2fd8764ed1601431918a49400e798a0822c380c29647196d37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.58 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bstr v1.4.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling portable-atomic v1.3.2 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking gix-utils v0.1.1 [INFO] [stderr] Checking regex v1.8.2 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling portable-atomic v0.3.20 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking const-random v0.1.15 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking cvt v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Checking time v0.3.21 [INFO] [stderr] Compiling names v0.14.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking winnow v0.4.6 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.87 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.1+1.6.4 [INFO] [stderr] Checking fs_at v0.1.6 [INFO] [stderr] Checking clap_builder v4.2.7 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking gix-sec v0.6.2 [INFO] [stderr] Checking gix-glob v0.5.5 [INFO] [stderr] Checking path-dedot v3.1.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking normpath v1.1.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking unicode-bom v1.1.4 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking indicatif v0.17.3 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking path-absolutize v3.0.14 [INFO] [stderr] Checking remove_dir_all v0.8.2 [INFO] [stderr] Checking sanitize-filename v0.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling indoc v2.0.1 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking assert_cmd v2.0.11 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling liquid-derive v0.26.1 [INFO] [stderr] Compiling rhai_codegen v1.5.0 [INFO] [stderr] Checking gix-hash v0.11.1 [INFO] [stderr] Checking gix-hash v0.10.4 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Checking gix-date v0.4.3 [INFO] [stderr] Checking gix-path v0.7.3 [INFO] [stderr] Checking gix-validate v0.7.4 [INFO] [stderr] Checking gix-features v0.28.1 [INFO] [stderr] Checking gix-features v0.29.0 [INFO] [stderr] Checking gix-actor v0.19.0 [INFO] [stderr] Checking gix-config-value v0.10.2 [INFO] [stderr] Checking gix-fs v0.1.1 [INFO] [stderr] Checking gix-object v0.28.0 [INFO] [stderr] Checking gix-tempfile v5.0.3 [INFO] [stderr] Checking gix-lock v5.0.1 [INFO] [stderr] Checking gix-ref v0.27.2 [INFO] [stderr] Checking rhai v1.13.0 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Checking clap v4.2.7 [INFO] [stderr] Checking gix-config v0.20.1 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Checking git2 v0.17.1 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking toml_datetime v0.6.2 [INFO] [stderr] Checking serde_spanned v0.6.2 [INFO] [stderr] Checking toml_edit v0.19.10 [INFO] [stderr] Checking liquid-core v0.26.1 [INFO] [stderr] Checking liquid-lib v0.26.1 [INFO] [stderr] Checking toml v0.7.4 [INFO] [stderr] Checking liquid v0.26.1 [INFO] [stderr] Checking cargo-generate v0.18.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/include_exclude.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | mut template_config: &mut TemplateConfig, [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/include_exclude.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | mut template_config: &mut TemplateConfig, [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] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:481:56 [INFO] [stdout] | [INFO] [stdout] 481 | let file_path = search_folder.join::<&str>(name.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-generate` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:481:56 [INFO] [stdout] | [INFO] [stdout] 481 | let file_path = search_folder.join::<&str>(name.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-generate` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e137ddb4e4e0dc2fd8764ed1601431918a49400e798a0822c380c29647196d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e137ddb4e4e0dc2fd8764ed1601431918a49400e798a0822c380c29647196d37", kill_on_drop: false }` [INFO] [stdout] e137ddb4e4e0dc2fd8764ed1601431918a49400e798a0822c380c29647196d37