[INFO] cloning repository https://github.com/aether-flux/cues-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aether-flux/cues-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faether-flux%2Fcues-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faether-flux%2Fcues-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00cf035c29546a80524d1b4f6c2949f54280fa79 [INFO] building aether-flux/cues-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faether-flux%2Fcues-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aether-flux/cues-cli [INFO] finished tweaking git repo https://github.com/aether-flux/cues-cli [INFO] tweaked toml for git repo https://github.com/aether-flux/cues-cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aether-flux/cues-cli on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aether-flux/cues-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linux-keyutils v0.2.4 [INFO] [stderr] Downloaded directories v6.0.0 [INFO] [stderr] Downloaded dbus-secret-service v4.0.3 [INFO] [stderr] Downloaded keyring v3.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30093300339bea95241b0d5bf05ae9fad5d736a0441f8e955a0729bc17e35fe4 [INFO] running `Command { std: "docker" "start" "-a" "30093300339bea95241b0d5bf05ae9fad5d736a0441f8e955a0729bc17e35fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30093300339bea95241b0d5bf05ae9fad5d736a0441f8e955a0729bc17e35fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30093300339bea95241b0d5bf05ae9fad5d736a0441f8e955a0729bc17e35fe4", kill_on_drop: false }` [INFO] [stdout] 30093300339bea95241b0d5bf05ae9fad5d736a0441f8e955a0729bc17e35fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e3aedcafe0923fbc3e08fff17e7423393e0f92faa3b81db4a193a6fe6d43c0 [INFO] running `Command { std: "docker" "start" "-a" "60e3aedcafe0923fbc3e08fff17e7423393e0f92faa3b81db4a193a6fe6d43c0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling linux-keyutils v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling dbus-secret-service v4.0.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling keyring v3.6.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Commands` and `NewProject` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use cli::{Cli, Commands, NewProject}; [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: `std::path::PathBuf` [INFO] [stdout] --> src/commands/handle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keyring::Entry` [INFO] [stdout] --> src/commands/handle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use keyring::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/commands/handle.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if (config.current_project_id == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if (config.current_project_id == 0) { [INFO] [stdout] 76 + if config.current_project_id == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/utils/config_path.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> src/utils/api.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{header::{USER_AGENT, HeaderMap, HeaderValue}, Client}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/utils/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_store` [INFO] [stdout] --> src/commands/handle.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | async fn handle_cwp (auth_store: &AuthStore) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pname` [INFO] [stdout] --> src/commands/handle.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let pname = &project.name; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/commands/handle.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let pid = project.id; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 133 | let _pid = project.id; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COUNT` [INFO] [stdout] | [INFO] [stdout] 133 - let pid = project.id; [INFO] [stdout] 133 + let commands::handle::handle_list_tasks::{closure#0}::COUNT = project.id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_project` is never used [INFO] [stdout] --> src/utils/api.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn put_project (token: &str, id: &u32, payload: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_project` is never used [INFO] [stdout] --> src/utils/api.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_project (token: &str, id: &u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | print_task(&task, false); // Pretty-printing task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 266 | let _ = print_task(&task, false); // Pretty-printing task [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | auth_store.access.set_password(&new_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 302 | let _ = auth_store.access.set_password(&new_token); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | ... print_task(task, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 360 | let _ = print_task(task, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | print_task(&task, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 394 | let _ = print_task(&task, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | auth_store.access.set_password(&new_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 429 | let _ = auth_store.access.set_password(&new_token); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | print_task(&task, false); // Pretty-print task marked as Done [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = print_task(&task, false); // Pretty-print task marked as Done [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | auth_store.access.set_password(&new_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = auth_store.access.set_password(&new_token); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | print_task(&task, false); // Pretty-print the edited task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = print_task(&task, false); // Pretty-print the edited task [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | print_task(&task, false); // Pretty-print the deleted task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 582 | let _ = print_task(&task, false); // Pretty-print the deleted task [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.84s [INFO] running `Command { std: "docker" "inspect" "60e3aedcafe0923fbc3e08fff17e7423393e0f92faa3b81db4a193a6fe6d43c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e3aedcafe0923fbc3e08fff17e7423393e0f92faa3b81db4a193a6fe6d43c0", kill_on_drop: false }` [INFO] [stdout] 60e3aedcafe0923fbc3e08fff17e7423393e0f92faa3b81db4a193a6fe6d43c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df6fce475f2c768a06da3b55501ec03763491b094043d1d9506f1fc6c19d5db0 [INFO] running `Command { std: "docker" "start" "-a" "df6fce475f2c768a06da3b55501ec03763491b094043d1d9506f1fc6c19d5db0", kill_on_drop: false }` [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Commands` and `NewProject` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use cli::{Cli, Commands, NewProject}; [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: `std::path::PathBuf` [INFO] [stdout] --> src/commands/handle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keyring::Entry` [INFO] [stdout] --> src/commands/handle.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use keyring::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/commands/handle.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | if (config.current_project_id == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - if (config.current_project_id == 0) { [INFO] [stdout] 76 + if config.current_project_id == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/utils/config_path.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `HeaderValue` [INFO] [stdout] --> src/utils/api.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{header::{USER_AGENT, HeaderMap, HeaderValue}, Client}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/utils/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_store` [INFO] [stdout] --> src/commands/handle.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | async fn handle_cwp (auth_store: &AuthStore) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pname` [INFO] [stdout] --> src/commands/handle.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let pname = &project.name; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/commands/handle.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let pid = project.id; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 133 | let _pid = project.id; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COUNT` [INFO] [stdout] | [INFO] [stdout] 133 - let pid = project.id; [INFO] [stdout] 133 + let commands::handle::handle_list_tasks::{closure#0}::COUNT = project.id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_project` is never used [INFO] [stdout] --> src/utils/api.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn put_project (token: &str, id: &u32, payload: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_project` is never used [INFO] [stdout] --> src/utils/api.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_project (token: &str, id: &u32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | print_task(&task, false); // Pretty-printing task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 266 | let _ = print_task(&task, false); // Pretty-printing task [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | auth_store.access.set_password(&new_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 302 | let _ = auth_store.access.set_password(&new_token); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | ... print_task(task, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 360 | let _ = print_task(task, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | print_task(&task, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 394 | let _ = print_task(&task, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | auth_store.access.set_password(&new_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 429 | let _ = auth_store.access.set_password(&new_token); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | print_task(&task, false); // Pretty-print task marked as Done [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 445 | let _ = print_task(&task, false); // Pretty-print task marked as Done [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | auth_store.access.set_password(&new_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = auth_store.access.set_password(&new_token); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | print_task(&task, false); // Pretty-print the edited task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = print_task(&task, false); // Pretty-print the edited task [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/handle.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | print_task(&task, false); // Pretty-print the deleted task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 582 | let _ = print_task(&task, false); // Pretty-print the deleted task [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "df6fce475f2c768a06da3b55501ec03763491b094043d1d9506f1fc6c19d5db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df6fce475f2c768a06da3b55501ec03763491b094043d1d9506f1fc6c19d5db0", kill_on_drop: false }` [INFO] [stdout] df6fce475f2c768a06da3b55501ec03763491b094043d1d9506f1fc6c19d5db0