[INFO] cloning repository https://github.com/charliesbot/leetcode_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charliesbot/leetcode_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliesbot%2Fleetcode_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliesbot%2Fleetcode_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce83122b1c0016a4ef41836273751a3d3ec6a6fc [INFO] testing charliesbot/leetcode_cli against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliesbot%2Fleetcode_cli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charliesbot/leetcode_cli on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charliesbot/leetcode_cli [INFO] finished tweaking git repo https://github.com/charliesbot/leetcode_cli [INFO] tweaked toml for git repo https://github.com/charliesbot/leetcode_cli written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/charliesbot/leetcode_cli 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f1dfbb54b653465e971ea97dcd8fed700045e0e8f540564eb3c4b40121c977e [INFO] running `Command { std: "docker" "start" "-a" "1f1dfbb54b653465e971ea97dcd8fed700045e0e8f540564eb3c4b40121c977e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f1dfbb54b653465e971ea97dcd8fed700045e0e8f540564eb3c4b40121c977e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1dfbb54b653465e971ea97dcd8fed700045e0e8f540564eb3c4b40121c977e", kill_on_drop: false }` [INFO] [stdout] 1f1dfbb54b653465e971ea97dcd8fed700045e0e8f540564eb3c4b40121c977e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37cee68eaa0d3dcbb68acb26040cfe5dea8063a47cbc5ca36692d93a0e0ea999 [INFO] running `Command { std: "docker" "start" "-a" "37cee68eaa0d3dcbb68acb26040cfe5dea8063a47cbc5ca36692d93a0e0ea999", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling clap_builder v4.5.8 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling clap v4.5.8 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling leetcode_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `questionFrontendId`, `exampleTestcases`, `sampleTestCase`, and `metaData` are never read [INFO] [stdout] --> src/graphql/graphql.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Question { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 47 | pub questionId: String, [INFO] [stdout] 48 | pub questionFrontendId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub exampleTestcases: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub sampleTestCase: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub metaData: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` 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 `lang` is never read [INFO] [stdout] --> src/graphql/graphql.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CodeSnippet { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 61 | pub lang: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeSnippet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUESTION_QUERY_STRING` is never used [INFO] [stdout] --> src/graphql/queries.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const QUESTION_QUERY_STRING: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_leetcode_cli_project` is never used [INFO] [stdout] --> src/tools/is_leetcode_cli_project.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_leetcode_cli_project(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `questionId` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub questionId: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `question_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `questionFrontendId` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub questionFrontendId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `question_frontend_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `titleSlug` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub titleSlug: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `title_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `codeSnippets` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub codeSnippets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `code_snippets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exampleTestcases` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub exampleTestcases: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `example_testcases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sampleTestCase` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub sampleTestCase: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sample_test_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `metaData` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub metaData: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `meta_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `langSlug` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub langSlug: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `lang_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.81s [INFO] running `Command { std: "docker" "inspect" "37cee68eaa0d3dcbb68acb26040cfe5dea8063a47cbc5ca36692d93a0e0ea999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37cee68eaa0d3dcbb68acb26040cfe5dea8063a47cbc5ca36692d93a0e0ea999", kill_on_drop: false }` [INFO] [stdout] 37cee68eaa0d3dcbb68acb26040cfe5dea8063a47cbc5ca36692d93a0e0ea999 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14d0c0ab6b44c00d8493dd7c5768f66a3c9cd5a369073d1f35f919febe29f2e4 [INFO] running `Command { std: "docker" "start" "-a" "14d0c0ab6b44c00d8493dd7c5768f66a3c9cd5a369073d1f35f919febe29f2e4", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `questionFrontendId`, `exampleTestcases`, `sampleTestCase`, and `metaData` are never read [INFO] [stdout] --> src/graphql/graphql.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Question { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 47 | pub questionId: String, [INFO] [stdout] 48 | pub questionFrontendId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub exampleTestcases: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub sampleTestCase: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub metaData: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` 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 `lang` is never read [INFO] [stdout] --> src/graphql/graphql.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CodeSnippet { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 61 | pub lang: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeSnippet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUESTION_QUERY_STRING` is never used [INFO] [stdout] --> src/graphql/queries.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const QUESTION_QUERY_STRING: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_leetcode_cli_project` is never used [INFO] [stdout] --> src/tools/is_leetcode_cli_project.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn is_leetcode_cli_project(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `questionId` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub questionId: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `question_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `questionFrontendId` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub questionFrontendId: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `question_frontend_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `titleSlug` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub titleSlug: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `title_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `codeSnippets` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub codeSnippets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `code_snippets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `exampleTestcases` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub exampleTestcases: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `example_testcases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sampleTestCase` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub sampleTestCase: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sample_test_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `metaData` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub metaData: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `meta_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `langSlug` should have a snake case name [INFO] [stdout] --> src/graphql/graphql.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub langSlug: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `lang_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "14d0c0ab6b44c00d8493dd7c5768f66a3c9cd5a369073d1f35f919febe29f2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d0c0ab6b44c00d8493dd7c5768f66a3c9cd5a369073d1f35f919febe29f2e4", kill_on_drop: false }` [INFO] [stdout] 14d0c0ab6b44c00d8493dd7c5768f66a3c9cd5a369073d1f35f919febe29f2e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0be1ea050f91791493b091a2bed22f1fbd58c3dbc4fd157eefd3c7916d7f9e01 [INFO] running `Command { std: "docker" "start" "-a" "0be1ea050f91791493b091a2bed22f1fbd58c3dbc4fd157eefd3c7916d7f9e01", kill_on_drop: false }` [INFO] [stderr] warning: fields `questionFrontendId`, `exampleTestcases`, `sampleTestCase`, and `metaData` are never read [INFO] [stderr] --> src/graphql/graphql.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Question { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 47 | pub questionId: String, [INFO] [stderr] 48 | pub questionFrontendId: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub exampleTestcases: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 55 | pub sampleTestCase: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 56 | pub metaData: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Question` 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 `lang` is never read [INFO] [stderr] --> src/graphql/graphql.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct CodeSnippet { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 61 | pub lang: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CodeSnippet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `QUESTION_QUERY_STRING` is never used [INFO] [stderr] --> src/graphql/queries.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const QUESTION_QUERY_STRING: &str = r#" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_leetcode_cli_project` is never used [INFO] [stderr] --> src/tools/is_leetcode_cli_project.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn is_leetcode_cli_project(path: &Path) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `questionId` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | pub questionId: String, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `question_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `questionFrontendId` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub questionFrontendId: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `question_frontend_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `titleSlug` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | pub titleSlug: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `title_slug` [INFO] [stderr] [INFO] [stderr] warning: structure field `codeSnippets` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | pub codeSnippets: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `code_snippets` [INFO] [stderr] [INFO] [stderr] warning: structure field `exampleTestcases` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | pub exampleTestcases: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `example_testcases` [INFO] [stderr] [INFO] [stderr] warning: structure field `sampleTestCase` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | pub sampleTestCase: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sample_test_case` [INFO] [stderr] [INFO] [stderr] warning: structure field `metaData` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub metaData: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `meta_data` [INFO] [stderr] [INFO] [stderr] warning: structure field `langSlug` should have a snake case name [INFO] [stderr] --> src/graphql/graphql.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub langSlug: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `lang_slug` [INFO] [stderr] [INFO] [stderr] warning: `leetcode_cli` (bin "leetcode_cli" test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode_cli-2e1ad73db639e574) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0be1ea050f91791493b091a2bed22f1fbd58c3dbc4fd157eefd3c7916d7f9e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be1ea050f91791493b091a2bed22f1fbd58c3dbc4fd157eefd3c7916d7f9e01", kill_on_drop: false }` [INFO] [stdout] 0be1ea050f91791493b091a2bed22f1fbd58c3dbc4fd157eefd3c7916d7f9e01