[INFO] cloning repository https://github.com/snowzhaozhj/leetcodecli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snowzhaozhj/leetcodecli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowzhaozhj%2Fleetcodecli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowzhaozhj%2Fleetcodecli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10f346d2f491aff02b07ceccfb8757e871017ca2 [INFO] testing snowzhaozhj/leetcodecli against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowzhaozhj%2Fleetcodecli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/snowzhaozhj/leetcodecli [INFO] finished tweaking git repo https://github.com/snowzhaozhj/leetcodecli [INFO] tweaked toml for git repo https://github.com/snowzhaozhj/leetcodecli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/snowzhaozhj/leetcodecli 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/snowzhaozhj/leetcodecli 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sscanf v0.2.1 [INFO] [stderr] Downloaded sscanf_macro v0.2.1 [INFO] [stderr] Downloaded html2text v0.4.2 [INFO] [stderr] Downloaded cookie_store v0.15.1 [INFO] [stderr] Downloaded const_format v0.2.24 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af781825cdc8e86475c8089c55578de52b5026fcfaedc94069176981cded75cb [INFO] running `Command { std: "docker" "start" "-a" "af781825cdc8e86475c8089c55578de52b5026fcfaedc94069176981cded75cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af781825cdc8e86475c8089c55578de52b5026fcfaedc94069176981cded75cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af781825cdc8e86475c8089c55578de52b5026fcfaedc94069176981cded75cb", kill_on_drop: false }` [INFO] [stdout] af781825cdc8e86475c8089c55578de52b5026fcfaedc94069176981cded75cb [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91bea277e985a53280108560ccbfa76c23ddf5617154514941cc0c533734d748 [INFO] running `Command { std: "docker" "start" "-a" "91bea277e985a53280108560ccbfa76c23ddf5617154514941cc0c533734d748", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling psl-types v2.0.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Compiling publicsuffix v2.1.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling const_format v0.2.24 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling sscanf_macro v0.2.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling sscanf v0.2.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling cookie_store v0.15.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling leetcode_cache v0.1.0 (/opt/rustwide/workdir/leetcode_cache) [INFO] [stderr] Compiling html2text v0.4.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling leetcodecli v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cookie` is never read [INFO] [stdout] --> src/leetcode/command/auth.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct GitAuthPlugin { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 90 | cookie: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `github` is never read [INFO] [stdout] --> src/leetcode/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Urls<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | pub leetcode: LeetcodeUrls<'a>, [INFO] [stdout] 9 | pub github: GithubUrls<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `api`, `problems`, `submission`, and `github_login` are never read [INFO] [stdout] --> src/leetcode/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LeetcodeUrls<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | pub base: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub api: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub graphql: &'a str, [INFO] [stdout] 16 | pub problems: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub submission: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub github_login: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login` and `session` are never read [INFO] [stdout] --> src/leetcode/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct GithubUrls<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | pub login: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub session: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unstar` is never constructed [INFO] [stdout] --> src/leetcode/term/icon.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Icon { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Unstar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "91bea277e985a53280108560ccbfa76c23ddf5617154514941cc0c533734d748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91bea277e985a53280108560ccbfa76c23ddf5617154514941cc0c533734d748", kill_on_drop: false }` [INFO] [stdout] 91bea277e985a53280108560ccbfa76c23ddf5617154514941cc0c533734d748 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38fc468afa6eb20f087062d0d05a84747fa6ec7514b6ba5f95f6a2974c6b1c31 [INFO] running `Command { std: "docker" "start" "-a" "38fc468afa6eb20f087062d0d05a84747fa6ec7514b6ba5f95f6a2974c6b1c31", kill_on_drop: false }` [INFO] [stderr] Compiling leetcodecli v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cookie` is never read [INFO] [stdout] --> src/leetcode/command/auth.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct GitAuthPlugin { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 90 | cookie: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `github` is never read [INFO] [stdout] --> src/leetcode/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Urls<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | pub leetcode: LeetcodeUrls<'a>, [INFO] [stdout] 9 | pub github: GithubUrls<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `api`, `problems`, `submission`, and `github_login` are never read [INFO] [stdout] --> src/leetcode/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LeetcodeUrls<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | pub base: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub api: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub graphql: &'a str, [INFO] [stdout] 16 | pub problems: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub submission: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub github_login: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `login` and `session` are never read [INFO] [stdout] --> src/leetcode/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct GithubUrls<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | pub login: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub session: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unstar` is never constructed [INFO] [stdout] --> src/leetcode/term/icon.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Icon { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Unstar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "38fc468afa6eb20f087062d0d05a84747fa6ec7514b6ba5f95f6a2974c6b1c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38fc468afa6eb20f087062d0d05a84747fa6ec7514b6ba5f95f6a2974c6b1c31", kill_on_drop: false }` [INFO] [stdout] 38fc468afa6eb20f087062d0d05a84747fa6ec7514b6ba5f95f6a2974c6b1c31 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d07de9357b6441011535345afff6e8be1053be8e71aa62bf49b426bd35e3a45 [INFO] running `Command { std: "docker" "start" "-a" "3d07de9357b6441011535345afff6e8be1053be8e71aa62bf49b426bd35e3a45", kill_on_drop: false }` [INFO] [stderr] warning: field `cookie` is never read [INFO] [stderr] --> src/leetcode/command/auth.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 89 | pub struct GitAuthPlugin { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 90 | cookie: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `github` is never read [INFO] [stderr] --> src/leetcode/config.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Urls<'a> { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 8 | pub leetcode: LeetcodeUrls<'a>, [INFO] [stderr] 9 | pub github: GithubUrls<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `base`, `api`, `problems`, `submission`, and `github_login` are never read [INFO] [stderr] --> src/leetcode/config.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct LeetcodeUrls<'a> { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 13 | pub base: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 14 | pub api: &'a str, [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | pub graphql: &'a str, [INFO] [stderr] 16 | pub problems: &'a str, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub submission: &'a str, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub github_login: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `login` and `session` are never read [INFO] [stderr] --> src/leetcode/config.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct GithubUrls<'a> { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 27 | pub login: &'a str, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 28 | pub session: &'a str, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Unstar` is never constructed [INFO] [stderr] --> src/leetcode/term/icon.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum Icon { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 6 | Unstar, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `leetcodecli` (bin "leetcodecli" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcodecli-1e92c8832f3f6dc7) [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" "3d07de9357b6441011535345afff6e8be1053be8e71aa62bf49b426bd35e3a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d07de9357b6441011535345afff6e8be1053be8e71aa62bf49b426bd35e3a45", kill_on_drop: false }` [INFO] [stdout] 3d07de9357b6441011535345afff6e8be1053be8e71aa62bf49b426bd35e3a45