[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] 47f5478a327ba9912800ee55f883015e02b5a531 [INFO] testing pajlada/github-repo-normalizer against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fgithub-repo-normalizer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pajlada/github-repo-normalizer on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4e901fc7f17d98f57ed63b1af4d52424b85ca9710e43a485a9b20a9b2720a9 [INFO] running `Command { std: "docker" "start" "-a" "7d4e901fc7f17d98f57ed63b1af4d52424b85ca9710e43a485a9b20a9b2720a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4e901fc7f17d98f57ed63b1af4d52424b85ca9710e43a485a9b20a9b2720a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4e901fc7f17d98f57ed63b1af4d52424b85ca9710e43a485a9b20a9b2720a9", kill_on_drop: false }` [INFO] [stdout] 7d4e901fc7f17d98f57ed63b1af4d52424b85ca9710e43a485a9b20a9b2720a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96d8ab9222064c2fa29fa0fe465a0fcb9becb4df58349d15550d91f16974deb9 [INFO] running `Command { std: "docker" "start" "-a" "96d8ab9222064c2fa29fa0fe465a0fcb9becb4df58349d15550d91f16974deb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling github-repo-lint v0.1.1 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.07s [INFO] running `Command { std: "docker" "inspect" "96d8ab9222064c2fa29fa0fe465a0fcb9becb4df58349d15550d91f16974deb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d8ab9222064c2fa29fa0fe465a0fcb9becb4df58349d15550d91f16974deb9", kill_on_drop: false }` [INFO] [stdout] 96d8ab9222064c2fa29fa0fe465a0fcb9becb4df58349d15550d91f16974deb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16efb5f7c54ddd5e7d1e40dbedb55a2bfc750357cfda6fe7ea4c98d91fa70b52 [INFO] running `Command { std: "docker" "start" "-a" "16efb5f7c54ddd5e7d1e40dbedb55a2bfc750357cfda6fe7ea4c98d91fa70b52", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling github-repo-lint v0.1.1 (/opt/rustwide/workdir) [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.61s [INFO] running `Command { std: "docker" "inspect" "16efb5f7c54ddd5e7d1e40dbedb55a2bfc750357cfda6fe7ea4c98d91fa70b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16efb5f7c54ddd5e7d1e40dbedb55a2bfc750357cfda6fe7ea4c98d91fa70b52", kill_on_drop: false }` [INFO] [stdout] 16efb5f7c54ddd5e7d1e40dbedb55a2bfc750357cfda6fe7ea4c98d91fa70b52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f81a8b13a9cc3668a47d2ccc1e6fdfdc11b7c3f7e011c5809c4ce8bbcf6de83f [INFO] running `Command { std: "docker" "start" "-a" "f81a8b13a9cc3668a47d2ccc1e6fdfdc11b7c3f7e011c5809c4ce8bbcf6de83f", kill_on_drop: false }` [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/models/branch_protection_update.rs:94:29 [INFO] [stderr] | [INFO] [stderr] 93 | dismissal_restrictions: todo!(), [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 94 | strict: todo!(), [INFO] [stderr] | ^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `required_pull_request_reviews` [INFO] [stderr] --> src/models/branch_protection_update.rs:92:23 [INFO] [stderr] | [INFO] [stderr] 92 | .map(|required_pull_request_reviews| RequiredPullRequestReviews { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_pull_request_reviews` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `delete_branch_on_merge` and `has_downloads` are never read [INFO] [stderr] --> src/models/repository.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Info { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | pub delete_branch_on_merge: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub has_downloads: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Info` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `owner_type` is never read [INFO] [stderr] --> src/models/repository_owner.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct RepositoryOwner { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub owner_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RepositoryOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `dry_run_bpr` is never read [INFO] [stderr] --> src/options.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Options { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 2 | pub dry_run: bool, [INFO] [stderr] 3 | pub dry_run_bpr: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `github-repo-lint` (bin "github-repo-lint" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/github_repo_lint-4af2ee7a937bd5da) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test models::branch_protection_update::tests::test_branch_protection_update_all_disabled ... ok [INFO] [stdout] test models::branch_protection_update::tests::test_branch_protection_update_from::case_2 ... ok [INFO] [stdout] test models::branch_protection_update::tests::test_branch_protection_update_from::case_1 ... ok [INFO] [stdout] test models::branch_protection_update::tests::test_branch_protection_update_all_enabled ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_01 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_02 ... ok [INFO] [stdout] test branch_protection_rules::tests::test_load_branch_protection_rules ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_05 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_06 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_07 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_03 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_01 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_02 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_03 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_05 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_08 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_09 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_10 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_err::case_04 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_04 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_06 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_07 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_08 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_09 ... ok [INFO] [stdout] test models::de::optionally_enabled::tests::test_optionally_enabled_ok::case_10 ... ok [INFO] [stdout] test repository_settings::tests::test_load_repository_settings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f81a8b13a9cc3668a47d2ccc1e6fdfdc11b7c3f7e011c5809c4ce8bbcf6de83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81a8b13a9cc3668a47d2ccc1e6fdfdc11b7c3f7e011c5809c4ce8bbcf6de83f", kill_on_drop: false }` [INFO] [stdout] f81a8b13a9cc3668a47d2ccc1e6fdfdc11b7c3f7e011c5809c4ce8bbcf6de83f