[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] testing hanpham32/code-judge against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpham32%2Fcode-judge" "/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/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hanpham32/code-judge on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded assert_cmd v2.0.16 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded unicode-ident v1.0.15 [INFO] [stderr] Downloaded cc v1.2.10 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded clap_builder v4.5.27 [INFO] [stderr] Downloaded webpki-roots v0.26.7 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded rustls v0.23.21 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 581724bfc2c990547e0c2a6cde84b1ef2ea4d0d5fd0f4443af5f7e0e7f3aec56 [INFO] running `Command { std: "docker" "start" "-a" "581724bfc2c990547e0c2a6cde84b1ef2ea4d0d5fd0f4443af5f7e0e7f3aec56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "581724bfc2c990547e0c2a6cde84b1ef2ea4d0d5fd0f4443af5f7e0e7f3aec56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581724bfc2c990547e0c2a6cde84b1ef2ea4d0d5fd0f4443af5f7e0e7f3aec56", kill_on_drop: false }` [INFO] [stdout] 581724bfc2c990547e0c2a6cde84b1ef2ea4d0d5fd0f4443af5f7e0e7f3aec56 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 00b23f2aec2d494bdffa7d7f55d25ad82198fab722ba3392f4333329566c3451 [INFO] running `Command { std: "docker" "start" "-a" "00b23f2aec2d494bdffa7d7f55d25ad82198fab722ba3392f4333329566c3451", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 clap_derive v4.5.28 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 38.17s [INFO] running `Command { std: "docker" "inspect" "00b23f2aec2d494bdffa7d7f55d25ad82198fab722ba3392f4333329566c3451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b23f2aec2d494bdffa7d7f55d25ad82198fab722ba3392f4333329566c3451", kill_on_drop: false }` [INFO] [stdout] 00b23f2aec2d494bdffa7d7f55d25ad82198fab722ba3392f4333329566c3451 [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 55c5839f1f92798195122ee629852962d754a45b9f80ccf5fcb7d44192d45e9b [INFO] running `Command { std: "docker" "start" "-a" "55c5839f1f92798195122ee629852962d754a45b9f80ccf5fcb7d44192d45e9b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling assert_cmd v2.0.16 [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 rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Compiling tempfile v3.16.0 [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 15.86s [INFO] running `Command { std: "docker" "inspect" "55c5839f1f92798195122ee629852962d754a45b9f80ccf5fcb7d44192d45e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c5839f1f92798195122ee629852962d754a45b9f80ccf5fcb7d44192d45e9b", kill_on_drop: false }` [INFO] [stdout] 55c5839f1f92798195122ee629852962d754a45b9f80ccf5fcb7d44192d45e9b [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 62d80115b41b8ed12f37ba0df59221c8580266ef8d2c7b733d12af00e6289f5d [INFO] running `Command { std: "docker" "start" "-a" "62d80115b41b8ed12f37ba0df59221c8580266ef8d2c7b733d12af00e6289f5d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `colored::*` [INFO] [stderr] --> src/analyzer.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use colored::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/analyzer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CodeAnalysis` is never constructed [INFO] [stderr] --> src/analyzer.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CodeAnalysis { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `PotentialBug` and `Performance` are never constructed [INFO] [stderr] --> src/analyzer.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub enum IssueType { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 19 | StyleIssue, [INFO] [stderr] 20 | PotentialBug, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 21 | Performance, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IssueType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Character` is never constructed [INFO] [stderr] --> src/character.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Character { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Bio` is never used [INFO] [stderr] --> src/character.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | enum Bio { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ModelProviderName` is never used [INFO] [stderr] --> src/model.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum ModelProviderName { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/model.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | impl ModelProviderName { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 8 | fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `code-judge` (bin "code-judge" test) generated 8 warnings (run `cargo fix --bin "code-judge" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/code_judge-e22a9a90674d9a52) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_dependencies_load ... ok [INFO] [stdout] test tests::test_analyze_code ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "62d80115b41b8ed12f37ba0df59221c8580266ef8d2c7b733d12af00e6289f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d80115b41b8ed12f37ba0df59221c8580266ef8d2c7b733d12af00e6289f5d", kill_on_drop: false }` [INFO] [stdout] 62d80115b41b8ed12f37ba0df59221c8580266ef8d2c7b733d12af00e6289f5d