[INFO] fetching crate Alice-DBMS 1.2.5... [INFO] testing Alice-DBMS-1.2.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate Alice-DBMS 1.2.5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate Alice-DBMS 1.2.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate Alice-DBMS 1.2.5 [INFO] tweaked toml for crates.io crate Alice-DBMS 1.2.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate Alice-DBMS 1.2.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate Alice-DBMS 1.2.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `Alice-DBMS` [INFO] [stderr] * `integration-test` target `tests` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_filter v0.1.2 [INFO] [stderr] Downloaded env_logger v0.11.5 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded prettyplease v0.2.25 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c148e13837b8c00399423e7edad3ac8c40a3c9d86580680a68b671416cfbbda4 [INFO] running `Command { std: "docker" "start" "-a" "c148e13837b8c00399423e7edad3ac8c40a3c9d86580680a68b671416cfbbda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c148e13837b8c00399423e7edad3ac8c40a3c9d86580680a68b671416cfbbda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c148e13837b8c00399423e7edad3ac8c40a3c9d86580680a68b671416cfbbda4", kill_on_drop: false }` [INFO] [stdout] c148e13837b8c00399423e7edad3ac8c40a3c9d86580680a68b671416cfbbda4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a96cfb94153453975eda6a5d460a641c45a0fd77c6be566bc4e783c3b161eccb [INFO] running `Command { std: "docker" "start" "-a" "a96cfb94153453975eda6a5d460a641c45a0fd77c6be566bc4e783c3b161eccb", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `Alice-DBMS` [INFO] [stderr] * `integration-test` target `tests` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling prost-build v0.13.3 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling Alice-DBMS v1.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Alice_DBMS` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `alice_dbms` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Document` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Document` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Collection` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Collection` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: Alice-DBMS v1.2.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a96cfb94153453975eda6a5d460a641c45a0fd77c6be566bc4e783c3b161eccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96cfb94153453975eda6a5d460a641c45a0fd77c6be566bc4e783c3b161eccb", kill_on_drop: false }` [INFO] [stdout] a96cfb94153453975eda6a5d460a641c45a0fd77c6be566bc4e783c3b161eccb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1bf43a52dba2c461c7edfc043f9bda05640d408001e0f869c671b34aa2241745 [INFO] running `Command { std: "docker" "start" "-a" "1bf43a52dba2c461c7edfc043f9bda05640d408001e0f869c671b34aa2241745", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `Alice-DBMS` [INFO] [stderr] * `integration-test` target `tests` [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Alice_DBMS` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `alice_dbms` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Alice-DBMS v1.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Document` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Document` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Collection` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Collection` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Document` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Document` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Collection` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Collection` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Document` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Document` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `Collection` in the type namespace is first re-exported here [INFO] [stdout] 28 | pub use crate::log_engine::*; [INFO] [stdout] | -------------------- but the name `Collection` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/json_engine.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `trace` [INFO] [stdout] --> src/json_engine.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{info, error, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simplelog::*` [INFO] [stdout] --> src/json_engine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use simplelog::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/json_engine.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/json_engine.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::*` [INFO] [stdout] --> src/log_engine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/engines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json_engine::*` [INFO] [stdout] --> src/grpc_server.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::json_engine::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest_derive::Parser` [INFO] [stdout] --> src/instance.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pest_derive::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/instance.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stdout] --> src/utils.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{ self, Read, Write }; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | use std::path::{ PathBuf, Path }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `trace` [INFO] [stdout] --> src/utils.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use log::{ info, error, trace }; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/command_executor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | &self, request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/grpc_server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut key: String = String::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/json_engine.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/log_engine.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | ... collection.add_document(inner_two[1], ""); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instance.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | ... collection.add_document(inner_two[1], ""); [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] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [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] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: Alice-DBMS v1.2.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1bf43a52dba2c461c7edfc043f9bda05640d408001e0f869c671b34aa2241745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf43a52dba2c461c7edfc043f9bda05640d408001e0f869c671b34aa2241745", kill_on_drop: false }` [INFO] [stdout] 1bf43a52dba2c461c7edfc043f9bda05640d408001e0f869c671b34aa2241745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 20f3c7fdff3fefd6be1c340ae3dfe7e3b8d83e8876e54d3fd4c246f41e902316 [INFO] running `Command { std: "docker" "start" "-a" "20f3c7fdff3fefd6be1c340ae3dfe7e3b8d83e8876e54d3fd4c246f41e902316", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `Alice-DBMS` [INFO] [stderr] * `integration-test` target `tests` [INFO] [stderr] warning: unused import: `json` [INFO] [stderr] --> src/json_engine.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | use serde_json::{json, Value, Result as JsonResult}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `info` and `trace` [INFO] [stderr] --> src/json_engine.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | use log::{info, error, trace}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `simplelog::*` [INFO] [stderr] --> src/json_engine.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use simplelog::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/json_engine.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Local` [INFO] [stderr] --> src/json_engine.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use chrono::Local; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::*` [INFO] [stderr] --> src/log_engine.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/engines.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::json_engine::*` [INFO] [stderr] --> src/grpc_server.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | use crate::json_engine::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pest_derive::Parser` [INFO] [stderr] --> src/instance.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use pest_derive::Parser; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/instance.rs:40:65 [INFO] [stderr] | [INFO] [stderr] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 114 | Ok(message) => adbprint!("NEW INSTANCE ID: {}", message), [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/instance.rs:40:65 [INFO] [stderr] | [INFO] [stderr] 40 | println!("[ INSTANCE MANAGER ]=: {}", format!($($arg)*)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 115 | Err(e) => adbprint!("{:#?}", e), [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `adbprint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read`, `Write`, and `self` [INFO] [stderr] --> src/utils.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | use std::io::{ self, Read, Write }; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/utils.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | use std::path::{ PathBuf, Path }; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `error`, `info`, and `trace` [INFO] [stderr] --> src/utils.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use log::{ info, error, trace }; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pest::Parser` [INFO] [stderr] --> src/command_executor.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use pest::Parser; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/grpc_server.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | &self, request: Request, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `key` is never read [INFO] [stderr] --> src/grpc_server.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | let mut key: String = String::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `Alice_DBMS` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `alice_dbms` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/json_engine.rs:82:50 [INFO] [stderr] | [INFO] [stderr] 82 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/log_engine.rs:49:50 [INFO] [stderr] | [INFO] [stderr] 49 | let doc_path = collection_path.join(&name.clone()); // Correctly construct the document path [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/instance.rs:156:49 [INFO] [stderr] | [INFO] [stderr] 156 | ... collection.add_document(inner_two[1], ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 156 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/instance.rs:164:49 [INFO] [stderr] | [INFO] [stderr] 164 | ... collection.add_document(inner_two[1], ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 164 | let _ = collection.add_document(inner_two[1], ""); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/cli.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 20 | let _ = instance_manager.wrapped_execute_cmd(trimmed_input); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `Alice-DBMS` (lib) generated 23 warnings (run `cargo fix --lib -p Alice-DBMS` to apply 15 suggestions) [INFO] [stderr] warning: `Alice-DBMS` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/prelude.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub use crate::json_engine::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the name `Document` in the type namespace is first re-exported here [INFO] [stderr] 28 | pub use crate::log_engine::*; [INFO] [stderr] | -------------------- but the name `Document` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/prelude.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub use crate::json_engine::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the name `Collection` in the type namespace is first re-exported here [INFO] [stderr] 28 | pub use crate::log_engine::*; [INFO] [stderr] | -------------------- but the name `Collection` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: `Alice-DBMS` (test "tests") generated 24 warnings (22 duplicates) [INFO] [stderr] warning: `Alice-DBMS` (bin "Alice-DBMS") generated 24 warnings (24 duplicates) [INFO] [stderr] warning: `Alice-DBMS` (bin "Alice-DBMS" test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: Alice-DBMS v1.2.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/Alice_DBMS-1f3a7eeefec6a160) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/Alice_DBMS-dfa677dc8199eeb4) [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] [stderr] Running src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tests-5cb056b01d287abb) [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" "20f3c7fdff3fefd6be1c340ae3dfe7e3b8d83e8876e54d3fd4c246f41e902316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f3c7fdff3fefd6be1c340ae3dfe7e3b8d83e8876e54d3fd4c246f41e902316", kill_on_drop: false }` [INFO] [stdout] 20f3c7fdff3fefd6be1c340ae3dfe7e3b8d83e8876e54d3fd4c246f41e902316