[INFO] fetching crate gittwo 0.0.3... [INFO] checking gittwo-0.0.3 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate gittwo 0.0.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gittwo 0.0.3 [INFO] finished tweaking crates.io crate gittwo 0.0.3 [INFO] tweaked toml for crates.io crate gittwo 0.0.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gittwo 0.0.3 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gittwo 0.0.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d00e03232ed864c68e7449df64b40d4b470da772495696a023af64531bbb9c11 [INFO] running `Command { std: "docker" "start" "-a" "d00e03232ed864c68e7449df64b40d4b470da772495696a023af64531bbb9c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d00e03232ed864c68e7449df64b40d4b470da772495696a023af64531bbb9c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d00e03232ed864c68e7449df64b40d4b470da772495696a023af64531bbb9c11", kill_on_drop: false }` [INFO] [stdout] d00e03232ed864c68e7449df64b40d4b470da772495696a023af64531bbb9c11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb13833cf011c7bfc97b7d9cdca37b7e9cf490a10d91f8b769b93df81b74e881 [INFO] running `Command { std: "docker" "start" "-a" "eb13833cf011c7bfc97b7d9cdca37b7e9cf490a10d91f8b769b93df81b74e881", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.1+1.9.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking git2 v0.20.1 [INFO] [stderr] Checking gittwo v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/configs/restore_config.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(repository) = &self.repository { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/configs/restore_config.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn git_restore(&self, config: RestoreConfig) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/configs/checkout_config.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CheckoutConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub(crate) spec: String, [INFO] [stdout] 7 | pub(crate) flags: CheckoutFlagsInternal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckoutConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pathspecs` is never read [INFO] [stdout] --> src/configs/restore_config.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RestoreConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 7 | pub(crate) pathspecs: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RestoreConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/configs/checkout_config.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | remote.disconnect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = remote.disconnect(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/configs/commit_config.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_signature(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn get_signature(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/configs/restore_config.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(repository) = &self.repository { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/configs/restore_config.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn git_restore(&self, config: RestoreConfig) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/configs/checkout_config.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CheckoutConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub(crate) spec: String, [INFO] [stdout] 7 | pub(crate) flags: CheckoutFlagsInternal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckoutConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pathspecs` is never read [INFO] [stdout] --> src/configs/restore_config.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RestoreConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 7 | pub(crate) pathspecs: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RestoreConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/configs/checkout_config.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | remote.disconnect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | let _ = remote.disconnect(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/configs/commit_config.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_signature(&self) -> Result { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn get_signature(&self) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.42s [INFO] running `Command { std: "docker" "inspect" "eb13833cf011c7bfc97b7d9cdca37b7e9cf490a10d91f8b769b93df81b74e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb13833cf011c7bfc97b7d9cdca37b7e9cf490a10d91f8b769b93df81b74e881", kill_on_drop: false }` [INFO] [stdout] eb13833cf011c7bfc97b7d9cdca37b7e9cf490a10d91f8b769b93df81b74e881