[INFO] cloning repository https://github.com/hanpham32/code-judge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanpham32/code-judge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpham32%2Fcode-judge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpham32%2Fcode-judge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bf6d67117cf2289602b57a0c48579952d45cd51 [INFO] building hanpham32/code-judge against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpham32%2Fcode-judge" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanpham32/code-judge on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanpham32/code-judge [INFO] finished tweaking git repo https://github.com/hanpham32/code-judge [INFO] tweaked toml for git repo https://github.com/hanpham32/code-judge written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hanpham32/code-judge 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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pki-types v1.10.1 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded unicode-ident v1.0.15 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded clap_derive v4.5.28 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded cc v1.2.10 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.7 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded rustls v0.23.21 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1370b7175072cfd66da110ac6e0983fd1dac2cb4acc7d98327ad8f9978a27f99 [INFO] running `Command { std: "docker" "start" "-a" "1370b7175072cfd66da110ac6e0983fd1dac2cb4acc7d98327ad8f9978a27f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1370b7175072cfd66da110ac6e0983fd1dac2cb4acc7d98327ad8f9978a27f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1370b7175072cfd66da110ac6e0983fd1dac2cb4acc7d98327ad8f9978a27f99", kill_on_drop: false }` [INFO] [stdout] 1370b7175072cfd66da110ac6e0983fd1dac2cb4acc7d98327ad8f9978a27f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3e5c52db53b6c468c0216d4bc41cbe980214880f18a2f023afe990d691ed4b3 [INFO] running `Command { std: "docker" "start" "-a" "f3e5c52db53b6c468c0216d4bc41cbe980214880f18a2f023afe990d691ed4b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [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 serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling code-judge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/analyzer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/analyzer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeAnalysis` is never constructed [INFO] [stdout] --> src/analyzer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CodeAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PotentialBug` and `Performance` are never constructed [INFO] [stdout] --> src/analyzer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum IssueType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 19 | StyleIssue, [INFO] [stdout] 20 | PotentialBug, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | Performance, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IssueType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Character` is never constructed [INFO] [stdout] --> src/character.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Character { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Bio` is never used [INFO] [stdout] --> src/character.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Bio { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelProviderName` is never used [INFO] [stdout] --> src/model.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ModelProviderName { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/model.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ModelProviderName { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 8 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.75s [INFO] running `Command { std: "docker" "inspect" "f3e5c52db53b6c468c0216d4bc41cbe980214880f18a2f023afe990d691ed4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e5c52db53b6c468c0216d4bc41cbe980214880f18a2f023afe990d691ed4b3", kill_on_drop: false }` [INFO] [stdout] f3e5c52db53b6c468c0216d4bc41cbe980214880f18a2f023afe990d691ed4b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfc0d17ccc7776603df55ff3a822512c635938d2be0268e91747aec8f9f41bf8 [INFO] running `Command { std: "docker" "start" "-a" "bfc0d17ccc7776603df55ff3a822512c635938d2be0268e91747aec8f9f41bf8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling code-judge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/analyzer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/analyzer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeAnalysis` is never constructed [INFO] [stdout] --> src/analyzer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CodeAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PotentialBug` and `Performance` are never constructed [INFO] [stdout] --> src/analyzer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum IssueType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 19 | StyleIssue, [INFO] [stdout] 20 | PotentialBug, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | Performance, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IssueType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Character` is never constructed [INFO] [stdout] --> src/character.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Character { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Bio` is never used [INFO] [stdout] --> src/character.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Bio { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelProviderName` is never used [INFO] [stdout] --> src/model.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ModelProviderName { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/model.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ModelProviderName { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 8 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.72s [INFO] running `Command { std: "docker" "inspect" "bfc0d17ccc7776603df55ff3a822512c635938d2be0268e91747aec8f9f41bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc0d17ccc7776603df55ff3a822512c635938d2be0268e91747aec8f9f41bf8", kill_on_drop: false }` [INFO] [stdout] bfc0d17ccc7776603df55ff3a822512c635938d2be0268e91747aec8f9f41bf8