[INFO] cloning repository https://github.com/JadKHaddad/PTaaS-Reimagined [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JadKHaddad/PTaaS-Reimagined" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJadKHaddad%2FPTaaS-Reimagined", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJadKHaddad%2FPTaaS-Reimagined'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ae85704adefe15babc58d7974e0c99ec2431b64 [INFO] checking JadKHaddad/PTaaS-Reimagined/5ae85704adefe15babc58d7974e0c99ec2431b64 against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJadKHaddad%2FPTaaS-Reimagined" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JadKHaddad/PTaaS-Reimagined on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JadKHaddad/PTaaS-Reimagined [INFO] finished tweaking git repo https://github.com/JadKHaddad/PTaaS-Reimagined [INFO] tweaked toml for git repo https://github.com/JadKHaddad/PTaaS-Reimagined written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JadKHaddad/PTaaS-Reimagined 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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-test-macro v0.2.4 [INFO] [stderr] Downloaded tracing-test v0.2.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4556cd9c797d14f04415ef2e9084a05672aa0896bcc522c5dc63352158e83a1e [INFO] running `Command { std: "docker" "start" "-a" "4556cd9c797d14f04415ef2e9084a05672aa0896bcc522c5dc63352158e83a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4556cd9c797d14f04415ef2e9084a05672aa0896bcc522c5dc63352158e83a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4556cd9c797d14f04415ef2e9084a05672aa0896bcc522c5dc63352158e83a1e", kill_on_drop: false }` [INFO] [stdout] 4556cd9c797d14f04415ef2e9084a05672aa0896bcc522c5dc63352158e83a1e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef332b2a426322b8ad5c9ee3aeddc14c0965ee0756afbe71df336fc276049e96 [INFO] running `Command { std: "docker" "start" "-a" "ef332b2a426322b8ad5c9ee3aeddc14c0965ee0756afbe71df336fc276049e96", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking convertible_definitions v0.1.0 (/opt/rustwide/workdir/rust/convertible/convertible_definitions) [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking time v0.3.23 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking convertible_macros v0.1.0 (/opt/rustwide/workdir/rust/convertible/convertible_macros) [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking convertible v0.1.0 (/opt/rustwide/workdir/rust/convertible/convertible) [INFO] [stderr] Checking convertible_macros_test v0.1.0 (/opt/rustwide/workdir/rust/convertible_macros_test) [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking tracing-test v0.2.4 [INFO] [stderr] Checking ptaas_rs v0.1.0 (/opt/rustwide/workdir/rust/ptaas_rs) [INFO] [stderr] Checking models v0.1.0 (/opt/rustwide/workdir/rust/models) [INFO] [stdout] warning: unused variable: `io_errors_vector` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let io_errors_vector = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_errors_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_dir` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | project_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | async fn remove_project_from_database(&self, project_id: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn uninstall_project(&self, project_id: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn delete_project(&self, project_id: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_sender` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | stdout_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_sender` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | stderr_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io_errors_vector` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let io_errors_vector = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_errors_vector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `venv_controller` and `req_controller` are never read [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct LocalProjectInstallerController { [INFO] [stdout] | ------------------------------- fields in this struct [INFO] [stdout] 26 | venv_controller: ProcessController, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | req_controller: ProcessController, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cancel`, `cancel_venv`, `cancel_req`, and `cancel_req_mapped` are never used [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl LocalProjectInstallerController { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] 31 | pub async fn cancel( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | async fn cancel_venv( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | async fn cancel_req( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | async fn cancel_req_mapped( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VenvKillAndWaitError` and `ReqKillAndWaitError` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum InstallerKillAndWaitError { [INFO] [stdout] | ------------------------- variants in this enum [INFO] [stdout] 74 | #[error("Failed to kill and wait for venv process: {0}")] [INFO] [stdout] 75 | VenvKillAndWaitError(#[source] ProcessKillAndWaitError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | #[error("Failed to kill and wait for req process: {0}")] [INFO] [stdout] 77 | ReqKillAndWaitError(#[source] ProcessKillAndWaitError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallerKillAndWaitError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VenvCancellationError` and `ReqCancellationError` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum SendingCancellationSignalToInstallerError { [INFO] [stdout] | ----------------------------------------- variants in this enum [INFO] [stdout] 82 | #[error("Failed to cancel venv process: {0}")] [INFO] [stdout] 83 | VenvCancellationError(#[source] SendingCancellationSignalToProcessError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | #[error("Failed to cancel req process: {0}")] [INFO] [stdout] 85 | ReqCancellationError(#[source] SendingCancellationSignalToProcessError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendingCancellationSignalToInstallerError` 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 `LocalProjectInstaller` is never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct LocalProjectInstaller { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl LocalProjectInstaller { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 138 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn check(&self) -> Result<(), ProjectCheckError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | fn path_to_str_mapped_error(path: &Path) -> Result<&str, InstallError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub async fn install(&mut self) -> Result<(), InstallError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub async fn check_and_install(&mut self) -> Result<(), CheckAndInstallError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn do_forward_io_and_write_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | fn do_forward_ios_and_write_to_files(args: IoForwardArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | async fn delete_environment_dir_if_exists( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | async fn delete_environment_dir(&self) -> Result, MaxAttemptsExceeded> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn get_requirements_file_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | fn get_locust_dir_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn get_venv_out_file_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn get_venv_err_file_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn get_req_out_file_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn get_req_err_file_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn get_venv_out_from_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn get_venv_err_from_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub async fn get_req_out_from_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub async fn get_req_err_from_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | async fn check_dir_exists_and_not_empty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 414 | async fn check_locust_dir_exists_and_not_empty_and_contains_python_scripts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | async fn check_requirements_txt_exists_and_locust_in_requirements_txt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | fn create_os_specific_pip_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | async fn clean_up_on_error(&mut self) -> Result<(), CleanUpError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | async fn clean_up_on_error_and_return_error( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | async fn create_file(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | async fn create_venv_file(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | async fn create_req_file(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | async fn create_venv_stdout_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | async fn create_venv_stderr_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | async fn create_req_stdout_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | async fn create_req_stderr_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | async fn create_io_files(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | fn create_io_channels() -> IoChannels { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CouldNotCheckIfRequirementsTxtExists`, `RequirementsTxtDoesNotExist`, `CouldNotReadRequirementsTxt`, and `LocustIsNotInRequirementsTxt` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 593 | pub enum RequirementsError { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 594 | #[error("Could not check if requirements.txt exists: {0}")] [INFO] [stdout] 595 | CouldNotCheckIfRequirementsTxtExists(#[source] IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 596 | #[error("requirements.txt does not exist")] [INFO] [stdout] 597 | RequirementsTxtDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 598 | #[error("Could not read requirements.txt: {0}")] [INFO] [stdout] 599 | CouldNotReadRequirementsTxt(#[source] IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 600 | #[error("Locust is not in requirements.txt")] [INFO] [stdout] 601 | LocustIsNotInRequirementsTxt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequirementsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CouldNotIterateOverLocustDir` and `NoPythonFilesInLocustDir` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 605 | pub enum LocustDirError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 615 | CouldNotIterateOverLocustDir(#[source] IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 616 | #[error("Locust dir does not contain any python files")] [INFO] [stdout] 617 | NoPythonFilesInLocustDir, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocustDirError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Killed`, `TerminatedWithError`, and `UnexpectedStatus` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 631 | pub enum SubInstallError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 639 | Killed(KilledTerminationStatus), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 640 | #[error("Process terminated with error")] [INFO] [stdout] 641 | TerminatedWithError(TerminationWithErrorStatus), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 642 | #[error("Process had unexpected status")] [INFO] [stdout] 643 | UnexpectedStatus(Status), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubInstallError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FailedToConvertPathBufToString`, `VenvStartError`, `RequirementsStartError`, and `CleanUpError` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 663 | pub enum InstallError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 664 | #[error("Could not convert path buf to string: {0}")] [INFO] [stdout] 665 | FailedToConvertPathBufToString(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 666 | #[error("Virtual environment installation can not be started: {0}")] [INFO] [stdout] 667 | VenvStartError(#[source] SubStartInstallError), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 668 | #[error("Requirements installation can not be started: {0}")] [INFO] [stdout] 669 | RequirementsStartError(#[source] SubStartInstallError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 677 | CleanUpError(ErrorThatTriggersCleanUp, #[source] CleanUpError), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VenvInstallError` and `RequirementsInstallError` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 681 | pub enum ErrorThatTriggersCleanUp { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] 682 | #[error("Virtual environment installation failed: {0}")] [INFO] [stdout] 683 | VenvInstallError(#[source] SubInstallError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 684 | #[error("Requirements installation failed: {0}")] [INFO] [stdout] 685 | RequirementsInstallError(#[source] SubInstallError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorThatTriggersCleanUp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotDeleteEnvironment` is never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:691:5 [INFO] [stdout] | [INFO] [stdout] 689 | pub enum CleanUpError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 690 | #[error("Could not delete environment dir: {0}")] [INFO] [stdout] 691 | CouldNotDeleteEnvironment(#[source] DeleteEnvironmentDirError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CleanUpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CouldNotCheckIfDirExists`, `DirDoesNotExist`, `CouldNotCheckIfDirIsEmpty`, and `DirIsEmpty` are never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 695 | pub enum DirExistsAndNotEmptyError { [INFO] [stdout] | ------------------------- variants in this enum [INFO] [stdout] 696 | #[error("Could not check if dir exists: {0}")] [INFO] [stdout] 697 | CouldNotCheckIfDirExists(#[source] IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 698 | #[error("Dir does not exist")] [INFO] [stdout] 699 | DirDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 700 | #[error("Could not check if dir is empty: {0}")] [INFO] [stdout] 701 | CouldNotCheckIfDirIsEmpty(#[source] IoError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 702 | #[error("Dir is empty")] [INFO] [stdout] 703 | DirIsEmpty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirExistsAndNotEmptyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotCreateFile` is never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 737 | pub enum CreateFileError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 738 | #[error("Could not create file: {0} {1}")] [INFO] [stdout] 739 | CouldNotCreateFile(#[source] IoError, PathBuf), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFileError` 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 `IoFiles` is never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:758:8 [INFO] [stdout] | [INFO] [stdout] 758 | struct IoFiles { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoChannels` is never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:765:8 [INFO] [stdout] | [INFO] [stdout] 765 | struct IoChannels { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoForwardArgs` is never constructed [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:776:8 [INFO] [stdout] | [INFO] [stdout] 776 | struct IoForwardArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_dir` is never read [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LocalProjectManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 14 | root_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 28 | impl LocalProjectManager { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | async fn create_all_dirs_if_not_exist(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | async fn create_dir_if_not_exists(dir: PathBuf) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_installed_projects_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_enviroments_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_project_installation_dir(&self, project_id: String) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_project_enviroment_dir(&self, project_id: String) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | async fn remove_project_from_database(&self, project_id: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | async fn copy_installed_project_to_installation_dir( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_dir_all_with_max_attempts_and_delay` is never used [INFO] [stdout] --> rust/ptaas_rs/src/util.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn remove_dir_all_with_max_attempts_and_delay( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_dir` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | project_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | async fn remove_project_from_database(&self, project_id: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn uninstall_project(&self, project_id: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn delete_project(&self, project_id: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basic_auth_username` [INFO] [stdout] --> rust/ptaas_rs/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let basic_auth_username = std::env::var("BASIC_AUTH_USERNAME").unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basic_auth_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basic_auth_password` [INFO] [stdout] --> rust/ptaas_rs/src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let basic_auth_password = std::env::var("BASIC_AUTH_PASSWORD").unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basic_auth_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> rust/ptaas_rs/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let manager = match LocalProjectManager::new(root_dir.into()).await { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basic_auth_username` [INFO] [stdout] --> rust/ptaas_rs/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let basic_auth_username = std::env::var("BASIC_AUTH_USERNAME").unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basic_auth_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `basic_auth_password` [INFO] [stdout] --> rust/ptaas_rs/src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let basic_auth_password = std::env::var("BASIC_AUTH_PASSWORD").unwrap_or_else(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basic_auth_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> rust/ptaas_rs/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let manager = match LocalProjectManager::new(root_dir.into()).await { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_id` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout_sender` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | stdout_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr_sender` [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | stderr_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `installed_project_dir` are never read [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct LocalProjectInstaller { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 127 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 128 | uploaded_project_dir: PathBuf, [INFO] [stdout] 129 | installed_project_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_venv_out_from_file` and `get_req_out_from_file` are never used [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_installer.rs:372:18 [INFO] [stdout] | [INFO] [stdout] 137 | impl LocalProjectInstaller { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn get_venv_out_from_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub async fn get_req_out_from_file(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_dir` is never read [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LocalProjectManager { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 14 | root_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> rust/ptaas_rs/src/project_managers/local/local_project_manager.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 28 | impl LocalProjectManager { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | async fn create_all_dirs_if_not_exist(&self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | async fn create_dir_if_not_exists(dir: PathBuf) -> Result<(), IoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_installed_projects_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_enviroments_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_project_installation_dir(&self, project_id: String) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_project_enviroment_dir(&self, project_id: String) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | async fn remove_project_from_database(&self, project_id: String) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | async fn copy_installed_project_to_installation_dir( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.42s [INFO] running `Command { std: "docker" "inspect" "ef332b2a426322b8ad5c9ee3aeddc14c0965ee0756afbe71df336fc276049e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef332b2a426322b8ad5c9ee3aeddc14c0965ee0756afbe71df336fc276049e96", kill_on_drop: false }` [INFO] [stdout] ef332b2a426322b8ad5c9ee3aeddc14c0965ee0756afbe71df336fc276049e96