[INFO] cloning repository https://github.com/aconamos/kattis-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aconamos/kattis-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconamos%2Fkattis-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconamos%2Fkattis-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf0c9e521e69cb3d4a1d1db20eae37cd4fef6e10 [INFO] checking aconamos/kattis-template against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faconamos%2Fkattis-template" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aconamos/kattis-template [INFO] finished tweaking git repo https://github.com/aconamos/kattis-template [INFO] tweaked toml for git repo https://github.com/aconamos/kattis-template written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aconamos/kattis-template on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aconamos/kattis-template 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569 [INFO] running `Command { std: "docker" "start" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.13.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling string_cache_codegen v0.6.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.33.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling web_atoms v0.2.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking string_cache v0.9.0 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking servo_arc v0.4.3 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Checking ego-tree v0.10.0 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking itertools v0.15.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking cssparser v0.36.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking markup5ever v0.36.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking html5ever v0.36.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking scraper v0.25.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking kattis_template_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ProblemInfo` [INFO] [stdout] --> src/lib/cli.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | ContestCode, ProblemCode, ProblemInfo, Scaffold, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProblemInfo` [INFO] [stdout] --> src/lib/cli.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | ContestCode, ProblemCode, ProblemInfo, Scaffold, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SampleDownloadError` is never constructed [INFO] [stdout] --> src/lib/cli.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum CliError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | SampleDownloadError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/lib/lib.rs:249:44 [INFO] [stdout] | [INFO] [stdout] 249 | get_all_possible_substitutions("$among$us".into(), &map), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 249 - get_all_possible_substitutions("$among$us".into(), &map), [INFO] [stdout] 249 + get_all_possible_substitutions("$among$us", &map), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 249 - get_all_possible_substitutions("$among$us".into(), &map), [INFO] [stdout] 249 + get_all_possible_substitutions(<&str as Into<_>>::into("$among$us"), &map), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/lib/lib.rs:272:44 [INFO] [stdout] | [INFO] [stdout] 272 | get_all_possible_substitutions("$among$us$extraneous".into(), &map), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 272 - get_all_possible_substitutions("$among$us$extraneous".into(), &map), [INFO] [stdout] 272 + get_all_possible_substitutions("$among$us$extraneous", &map), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 272 - get_all_possible_substitutions("$among$us$extraneous".into(), &map), [INFO] [stdout] 272 + get_all_possible_substitutions(<&str as Into<_>>::into("$among$us$extraneous"), &map), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/lib/lib.rs:289:44 [INFO] [stdout] | [INFO] [stdout] 289 | get_all_possible_substitutions("$among$among".into(), &map), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 289 - get_all_possible_substitutions("$among$among".into(), &map), [INFO] [stdout] 289 + get_all_possible_substitutions("$among$among", &map), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 289 - get_all_possible_substitutions("$among$among".into(), &map), [INFO] [stdout] 289 + get_all_possible_substitutions(<&str as Into<_>>::into("$among$among"), &map), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kattis_template_cli` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `SampleDownloadError` is never constructed [INFO] [stdout] --> src/lib/cli.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum CliError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | SampleDownloadError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569", kill_on_drop: false }` [INFO] [stdout] 2a415f8c6fa7be0a0d9ece604b9d145334a3c4e8afa9b4f14968e0f35321a569