[INFO] cloning repository https://github.com/pajlada/github-repo-normalizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pajlada/github-repo-normalizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a65fb6293b420ed8fbe41359f6165275982050d3 [INFO] checking pajlada/github-repo-normalizer against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pajlada/github-repo-normalizer on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pajlada/github-repo-normalizer [INFO] finished tweaking git repo https://github.com/pajlada/github-repo-normalizer [INFO] tweaked toml for git repo https://github.com/pajlada/github-repo-normalizer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pajlada/github-repo-normalizer 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_builder_macro v0.20.0 [INFO] [stderr] Downloaded derive_builder v0.20.0 [INFO] [stderr] Downloaded derive_builder_core v0.20.0 [INFO] [stderr] Downloaded relative-path v1.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87bb7ada33cb55ffc29d37236724a024151650afc754bb71db70b727dc634ce4 [INFO] running `Command { std: "docker" "start" "-a" "87bb7ada33cb55ffc29d37236724a024151650afc754bb71db70b727dc634ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87bb7ada33cb55ffc29d37236724a024151650afc754bb71db70b727dc634ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bb7ada33cb55ffc29d37236724a024151650afc754bb71db70b727dc634ce4", kill_on_drop: false }` [INFO] [stdout] 87bb7ada33cb55ffc29d37236724a024151650afc754bb71db70b727dc634ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddd0940f2a47c86836b86b25801394ac5bb691c11b1432983e0a2b16f2a42351 [INFO] running `Command { std: "docker" "start" "-a" "ddd0940f2a47c86836b86b25801394ac5bb691c11b1432983e0a2b16f2a42351", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking deranged v0.3.10 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling darling_core v0.20.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Compiling darling_macro v0.20.6 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling darling v0.20.6 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking github-repo-lint v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ProtectedBranchRequiredStatusCheckChecksItem` is imported redundantly [INFO] [stdout] --> src/models/branch_protection_update.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | ProtectedBranchRequiredStatusCheckChecksItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | use super::*; [INFO] [stdout] | -------- the item `ProtectedBranchRequiredStatusCheckChecksItem` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/models/branch_protection_update.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 93 | dismissal_restrictions: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 94 | strict: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/models/branch_protection_update.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 93 | dismissal_restrictions: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 94 | strict: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `required_pull_request_reviews` [INFO] [stdout] --> src/models/branch_protection_update.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|required_pull_request_reviews| RequiredPullRequestReviews { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_pull_request_reviews` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `required_pull_request_reviews` [INFO] [stdout] --> src/models/branch_protection_update.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|required_pull_request_reviews| RequiredPullRequestReviews { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_pull_request_reviews` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `delete_branch_on_merge` and `has_downloads` are never read [INFO] [stdout] --> src/models/repository.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub delete_branch_on_merge: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub has_downloads: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` has a derived impl for the trait `Debug`, 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 `owner_type` is never read [INFO] [stdout] --> src/models/repository_owner.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RepositoryOwner { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub owner_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dry_run_bpr` is never read [INFO] [stdout] --> src/options.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | pub dry_run: bool, [INFO] [stdout] 3 | pub dry_run_bpr: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `delete_branch_on_merge` and `has_downloads` are never read [INFO] [stdout] --> src/models/repository.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub delete_branch_on_merge: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub has_downloads: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` has a derived impl for the trait `Debug`, 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 `owner_type` is never read [INFO] [stdout] --> src/models/repository_owner.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RepositoryOwner { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub owner_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dry_run_bpr` is never read [INFO] [stdout] --> src/options.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | pub dry_run: bool, [INFO] [stdout] 3 | pub dry_run_bpr: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.09s [INFO] running `Command { std: "docker" "inspect" "ddd0940f2a47c86836b86b25801394ac5bb691c11b1432983e0a2b16f2a42351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd0940f2a47c86836b86b25801394ac5bb691c11b1432983e0a2b16f2a42351", kill_on_drop: false }` [INFO] [stdout] ddd0940f2a47c86836b86b25801394ac5bb691c11b1432983e0a2b16f2a42351