[INFO] cloning repository https://github.com/raja-dettex/sql_one [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raja-dettex/sql_one" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fsql_one", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fsql_one'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58b7e047bdeb072ba38d7bab69e1ec6b8a7760ba [INFO] checking raja-dettex/sql_one against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fsql_one" "/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/raja-dettex/sql_one on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raja-dettex/sql_one [INFO] finished tweaking git repo https://github.com/raja-dettex/sql_one [INFO] tweaked toml for git repo https://github.com/raja-dettex/sql_one written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/raja-dettex/sql_one 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom-supreme v0.8.0 [INFO] [stderr] Downloaded supports-hyperlinks v3.0.0 [INFO] [stderr] Downloaded joinery v2.1.0 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded miette v7.2.0 [INFO] [stderr] Downloaded supports-color v3.0.0 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded miette-derive v7.2.0 [INFO] [stderr] Downloaded bigdecimal v0.4.3 [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded brownstone v3.0.0 [INFO] [stderr] Downloaded supports-unicode v3.0.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46b313ebc53d7d27e4027c99b3601bd16afe0f4cdf6f3976bd8d846e54c46328 [INFO] running `Command { std: "docker" "start" "-a" "46b313ebc53d7d27e4027c99b3601bd16afe0f4cdf6f3976bd8d846e54c46328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46b313ebc53d7d27e4027c99b3601bd16afe0f4cdf6f3976bd8d846e54c46328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b313ebc53d7d27e4027c99b3601bd16afe0f4cdf6f3976bd8d846e54c46328", kill_on_drop: false }` [INFO] [stdout] 46b313ebc53d7d27e4027c99b3601bd16afe0f4cdf6f3976bd8d846e54c46328 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dae4ce756a593417b02a266766c94dd13e60a9912c12544ae2ccc02a6d69747 [INFO] running `Command { std: "docker" "start" "-a" "6dae4ce756a593417b02a266766c94dd13e60a9912c12544ae2ccc02a6d69747", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking sql_one v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking sql_one_parser v0.1.0 (/opt/rustwide/workdir/crates/sql_one_parser) [INFO] [stdout] warning: unused imports: `IResult`, `multi::separated_list1`, `tag`, and `take_while1` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{tag, take_while1}, character::complete::{multispace1,char}, combinator::map, error::context, multi::separated_list1, sequence::{preceded, separated_pair, tuple}, IResul... [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom_locate::LocatedSpan` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom_locate::LocatedSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser_ext` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use nom_supreme::{parser_ext, tag::complete::tag_no_case, ParserExt}; // Added ParserExt here [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cond`, `map`, `multispace0`, `tag`, `take_while`, and `terminated` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{tag, take_until, take_while}, character::complete::{multispace0, multispace1}, combinator::{cond, map, map_res, opt}, error::context, sequence::{pair, preceded, terminated, t... [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::MyParseError` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error::MyParseError, parser::{comma_sep, identifier, Parse, ParseResult, RawSpan}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::SelectStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::commands::{create::CreateStatement, select::SelectStatement, insert::InsertStatement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult`, `multi::separated_list1`, `tag`, and `take_while1` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{tag, take_while1}, character::complete::{multispace1,char}, combinator::map, error::context, multi::separated_list1, sequence::{preceded, separated_pair, tuple}, IResul... [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom_locate::LocatedSpan` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom_locate::LocatedSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser_ext` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use nom_supreme::{parser_ext, tag::complete::tag_no_case, ParserExt}; // Added ParserExt here [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cond`, `map`, `multispace0`, `tag`, `take_while`, and `terminated` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{tag, take_until, take_while}, character::complete::{multispace0, multispace1}, combinator::{cond, map, map_res, opt}, error::context, sequence::{pair, preceded, terminated, t... [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::MyParseError` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error::MyParseError, parser::{comma_sep, identifier, Parse, ParseResult, RawSpan}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::SelectStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::commands::{create::CreateStatement, select::SelectStatement, insert::InsertStatement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::create::CreateStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use crate::commands::create::CreateStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::SelectStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | use crate::commands::{select::SelectStatement, insert::InsertStatement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sql_one_topology v0.1.0 (/opt/rustwide/workdir/crates/sql_one_topology) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccessError`, `fmt::format`, `hash::Hash`, `ops::Deref`, `self`, `str::FromStr`, and `time::Duration` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | ...p, fmt::format, hash::Hash, net::SocketAddr, ops::Deref, str::FromStr, sync::{Arc, Mutex}, thread::{self, AccessError}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Iter` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccessError`, `fmt::format`, `hash::Hash`, `ops::Deref`, `self`, `str::FromStr`, and `time::Duration` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | ...p, fmt::format, hash::Hash, net::SocketAddr, ops::Deref, str::FromStr, sync::{Arc, Mutex}, thread::{self, AccessError}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Iter` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 113 | / loop { [INFO] [stdout] 114 | | match listener.accept().await { [INFO] [stdout] 115 | | Ok((mut stream, addr)) => { [INFO] [stdout] 116 | | println!("addres is {:#?}", addr ); [INFO] [stdout] ... | [INFO] [stdout] 134 | | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 113 | / loop { [INFO] [stdout] 114 | | match listener.accept().await { [INFO] [stdout] 115 | | Ok((mut stream, addr)) => { [INFO] [stdout] 116 | | println!("addres is {:#?}", addr ); [INFO] [stdout] ... | [INFO] [stdout] 134 | | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | Ok((mut stream, addr)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | Ok((mut stream, addr)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `master_addr` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | master_addr : String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_master` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct P2Pnetwork { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | is_master : bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `P2Pnetwork` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `master_addr` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | master_addr : String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_master` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct P2Pnetwork { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | is_master : bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `P2Pnetwork` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handleStream` should have a snake case name [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn handleStream(&mut self, mut stream : TcpStream ) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handleStream` should have a snake case name [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn handleStream(&mut self, mut stream : TcpStream ) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | socket.write_all(&bytes); [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] 145 | let _ = socket.write_all(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | socket.write_all(&bytes); [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] 145 | let _ = socket.write_all(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | s.write_all(&bytes).await; [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] 186 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | s.write_all(&bytes).await; [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] 186 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | s.write_all(&bytes).await; [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] 199 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | s.write_all(&bytes).await; [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] 199 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sql_one_flexi_engine v0.1.0 (/opt/rustwide/workdir/crates/sql_one_flexi_engine) [INFO] [stdout] warning: module `CreateTest` should have a snake case name [INFO] [stdout] --> crates/sql_one_parser/src/commands/create_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod CreateTest { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::row::StoredRow` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::row::StoredRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `key_type` should have an upper camel case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum key_type { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `KeyType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | if(self.isFull(row_size)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if(self.isFull(row_size)) { [INFO] [stdout] 48 + if self.isFull(row_size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `fmt::format`, and `panic::RefUnwindSafe` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{btree_map, BTreeMap, HashMap}, fmt::format, fs::{self, File}, io::{Read, Write}, panic::RefUnwindSafe}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{page::{self, error::InternalStorageError, page::{Page, PAGE_SIZE}, serializer::RowSerializer, table::{key_type, PageData, Row... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | while(i <= temp.len() - 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - while(i <= temp.len() - 2) { [INFO] [stdout] 145 + while i <= temp.len() - 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::row::StoredRow` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::row::StoredRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `key_type` should have an upper camel case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum key_type { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `KeyType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | if(self.isFull(row_size)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if(self.isFull(row_size)) { [INFO] [stdout] 48 + if self.isFull(row_size) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `fmt::format`, and `panic::RefUnwindSafe` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{btree_map, BTreeMap, HashMap}, fmt::format, fs::{self, File}, io::{Read, Write}, panic::RefUnwindSafe}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{page::{self, error::InternalStorageError, page::{Page, PAGE_SIZE}, serializer::RowSerializer, table::{key_type, PageData, Row... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | while(i <= temp.len() - 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - while(i <= temp.len() - 2) { [INFO] [stdout] 145 + while i <= temp.len() - 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `self` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:322:24 [INFO] [stdout] | [INFO] [stdout] 322 | use crate::{page::{self, page::Page, table::{PageData, RowMetaData}}, row::{self, StoredRow}}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn append_chunks(&mut self, mut chunks : Vec, range : Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:81:80 [INFO] [stdout] | [INFO] [stdout] 81 | ...).enumerate().filter(|(index , item)| index >= chunk_range.get(0).unwrap() && index <= chunk_range.get(1).unwrap()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(index, item)| *item) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn append_chunks(&mut self, mut chunks : Vec, range : Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:81:80 [INFO] [stdout] | [INFO] [stdout] 81 | ...).enumerate().filter(|(index , item)| index >= chunk_range.get(0).unwrap() && index <= chunk_range.get(1).unwrap()) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | .map(|(index, item)| *item) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_number` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn default(page_number: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_number` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn default(page_number: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | for (i, (value, row) ) in self.rows.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut rows = self.read_all(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | for (index , value) in self.rows.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | for (value, row) in to_be_deleted_row_metadata.clone() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:249:71 [INFO] [stdout] | [INFO] [stdout] 249 | let page_numbers: Vec = self.rows.iter().map(|(key , value)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | for (i, (value, row) ) in self.rows.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut rows = self.read_all(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | for (index , value) in self.rows.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_test` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sample_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | for (value, row) in to_be_deleted_row_metadata.clone() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getChunkData` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn getChunkData(&mut self, row_size : usize) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_chunk_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isFull` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn isFull(&self, current_size : usize) -> bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_full` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rollBackCurrentSize` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rollBackCurrentSize(&mut self, size : usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roll_back_current_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:249:71 [INFO] [stdout] | [INFO] [stdout] 249 | let page_numbers: Vec = self.rows.iter().map(|(key , value)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isPageFull` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn isPageFull(&self, chunk_size: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_page_full` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | Ok(r) => println!("s : {:?}", s), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | let result = storage.write(row).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conditions` [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | let conditions = Condition { first : "name".to_string(), second : "raja".to_string(), token :"!=".to_string()}; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conditions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | self.save_to_json(); [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] 243 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | Page::delete(page, self.table_metadata.table_name.clone()); [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] 253 | let _ = Page::delete(page, self.table_metadata.table_name.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | self.save_to_json(); [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] 258 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:281:33 [INFO] [stdout] | [INFO] [stdout] 281 | ... self.save_to_json(); [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] 281 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ... self.save_to_json(); [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] 290 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | self.save_to_json(); [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] 299 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | self.save_to_json(); [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] 305 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_writeandRead` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn test_writeandRead() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_read` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn test_read() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize_deserialize` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn serialize_deserialize() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_test` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sample_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_page_rollback` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn test_page_rollback() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_persistent_write` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn test_persistent_write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_storage_serializer` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn test_storage_serializer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_read_by_primary_key` is never used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn test_read_by_primary_key() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_writeandRead` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/page.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn test_writeandRead() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_writeand_read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getChunkData` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn getChunkData(&mut self, row_size : usize) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_chunk_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isFull` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn isFull(&self, current_size : usize) -> bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_full` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rollBackCurrentSize` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/page/table.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rollBackCurrentSize(&mut self, size : usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roll_back_current_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isPageFull` should have a snake case name [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn isPageFull(&self, chunk_size: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_page_full` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | self.save_to_json(); [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] 243 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | Page::delete(page, self.table_metadata.table_name.clone()); [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] 253 | let _ = Page::delete(page, self.table_metadata.table_name.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | self.save_to_json(); [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] 258 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:281:33 [INFO] [stdout] | [INFO] [stdout] 281 | ... self.save_to_json(); [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] 281 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | ... self.save_to_json(); [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] 290 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | self.save_to_json(); [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] 299 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_flexi_engine/src/storage.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | self.save_to_json(); [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] 305 | let _ = self.save_to_json(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sql_one_execution v0.1.0 (/opt/rustwide/workdir/crates/sql_one_execution) [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree_map` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{btree_map, BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `table` should have an upper camel case name [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct table { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fs::{self, File}, hash::Hash, io::Write}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miette::Diagnostic` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use miette::Diagnostic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{error::{QueryExecutionError, SQLError}, table::{table, ColumnInfo, Row, TableIter}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> crates/sql_one_execution/src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use derive_more::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `btree_map` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{btree_map, BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `table` should have an upper camel case name [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct table { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Table` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::FromPrimitive` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use bigdecimal::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sql_one_flexi_engine::page::table::TableMetaData` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | use sql_one_flexi_engine::page::table::TableMetaData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Column`, `SqlTypeInfo`, `select_condition::Condition`, and `value::Value` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | use sql_one_parser::{commands::{create::{Column, SqlTypeInfo}, select_condition::Condition}, value::Value}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnInfo` and `table` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | use super::{table, ColumnInfo}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fs::{self, File}, hash::Hash, io::Write}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miette::Diagnostic` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use miette::Diagnostic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{error::{QueryExecutionError, SQLError}, table::{table, ColumnInfo, Row, TableIter}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_more::Display` [INFO] [stdout] --> crates/sql_one_execution/src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use derive_more::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let rows : BTreeMap; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let rows : BTreeMap; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let id = self.rows.last_key_value().map_or(0, |(max_id, _)| (max_id + 1)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `written` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let written = self.storage.write(s_row).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let id = self.rows.last_key_value().map_or(0, |(max_id, _)| (max_id + 1)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `written` [INFO] [stdout] --> crates/sql_one_execution/src/table.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let written = self.storage.write(s_row).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let mut table = self.tables.get_mut(&name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let mut table = self.tables.get_mut(&name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | let s = t.select(select.fields.clone(), select.where_clause.clone()).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let values : Vec= insert.values.iter().map(|val| val.to_string()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | let s = t.select(select.fields.clone(), select.where_clause.clone()).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let values : Vec= insert.values.iter().map(|val| val.to_string()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | SqlQuery::Select(mut select) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let mut table = self.tables.get_mut(&table_name).ok_or(QueryExecutionError::TableNotFound(table_name)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(mut t) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let mut prim_key_type: key_type; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | SqlQuery::Select(mut select) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let mut table = self.tables.get_mut(&table_name).ok_or(QueryExecutionError::TableNotFound(table_name)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(mut t) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let mut prim_key_type: key_type; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | table.insert(insert.values); [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] 140 | let _ = table.insert(insert.values); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_execution/src/execution.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | table.insert(insert.values); [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] 140 | let _ = table.insert(insert.values); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sql_one_repl v0.1.0 (/opt/rustwide/workdir/crates/sql_one_repl) [INFO] [stdout] warning: unused import: `sql_one_parser::parser::Parse` [INFO] [stdout] --> crates/sql_one_repl/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sql_one_parser::parser::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnInfo` and `table` [INFO] [stdout] --> crates/sql_one_execution/src/main.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use sql_one_execution::{execution::Execution, table::{table, ColumnInfo}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Column`, `Condition`, `SelectStatementCondition`, `SqlTypeInfo`, `parser::Parse`, and `value::Value` [INFO] [stdout] --> crates/sql_one_execution/src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | ...s::{create::{Column, SqlTypeInfo}, select_condition::{Condition, SelectStatementCondition}}, parser::Parse, value::Value}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::FromPrimitive` [INFO] [stdout] --> crates/sql_one_execution/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bigdecimal::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sql_one_parser::parser::Parse` [INFO] [stdout] --> crates/sql_one_repl/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sql_one_parser::parser::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnInfo` and `table` [INFO] [stdout] --> crates/sql_one_execution/src/main.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use sql_one_execution::{execution::Execution, table::{table, ColumnInfo}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Column`, `Condition`, `SelectStatementCondition`, `SqlTypeInfo`, `parser::Parse`, and `value::Value` [INFO] [stdout] --> crates/sql_one_execution/src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | ...s::{create::{Column, SqlTypeInfo}, select_condition::{Condition, SelectStatementCondition}}, parser::Parse, value::Value}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::FromPrimitive` [INFO] [stdout] --> crates/sql_one_execution/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bigdecimal::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `Result` that must be used [INFO] [stdout] --> crates/sql_one_repl/src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | rl.add_history_entry(line.as_str()); [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] 42 | let _ = rl.add_history_entry(line.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_repl/src/main.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | rl.add_history_entry(line.as_str()); [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] 42 | let _ = rl.add_history_entry(line.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "6dae4ce756a593417b02a266766c94dd13e60a9912c12544ae2ccc02a6d69747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dae4ce756a593417b02a266766c94dd13e60a9912c12544ae2ccc02a6d69747", kill_on_drop: false }` [INFO] [stdout] 6dae4ce756a593417b02a266766c94dd13e60a9912c12544ae2ccc02a6d69747 [INFO] checking raja-dettex/sql_one against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraja-dettex%2Fsql_one" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raja-dettex/sql_one on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raja-dettex/sql_one [INFO] finished tweaking git repo https://github.com/raja-dettex/sql_one [INFO] tweaked toml for git repo https://github.com/raja-dettex/sql_one written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/raja-dettex/sql_one 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b8b9b0cd621c854a86c051379817ff6520ae1d8f2679810974180b29bd0839e [INFO] running `Command { std: "docker" "start" "-a" "7b8b9b0cd621c854a86c051379817ff6520ae1d8f2679810974180b29bd0839e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b8b9b0cd621c854a86c051379817ff6520ae1d8f2679810974180b29bd0839e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8b9b0cd621c854a86c051379817ff6520ae1d8f2679810974180b29bd0839e", kill_on_drop: false }` [INFO] [stdout] 7b8b9b0cd621c854a86c051379817ff6520ae1d8f2679810974180b29bd0839e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa025d7f63acb9c6dd0a2aa038043e7d780fbb421dd3da1f8aaa5f7ddc068782 [INFO] running `Command { std: "docker" "start" "-a" "fa025d7f63acb9c6dd0a2aa038043e7d780fbb421dd3da1f8aaa5f7ddc068782", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking sql_one v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking sql_one_parser v0.1.0 (/opt/rustwide/workdir/crates/sql_one_parser) [INFO] [stdout] warning: unused imports: `IResult`, `multi::separated_list1`, `tag`, and `take_while1` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{tag, take_while1}, character::complete::{multispace1,char}, combinator::map, error::context, multi::separated_list1, sequence::{preceded, separated_pair, tuple}, IResul... [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom_locate::LocatedSpan` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom_locate::LocatedSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser_ext` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use nom_supreme::{parser_ext, tag::complete::tag_no_case, ParserExt}; // Added ParserExt here [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cond`, `map`, `multispace0`, `tag`, `take_while`, and `terminated` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{tag, take_until, take_while}, character::complete::{multispace0, multispace1}, combinator::{cond, map, map_res, opt}, error::context, sequence::{pair, preceded, terminated, t... [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::MyParseError` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error::MyParseError, parser::{comma_sep, identifier, Parse, ParseResult, RawSpan}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::SelectStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::commands::{create::CreateStatement, select::SelectStatement, insert::InsertStatement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IResult`, `multi::separated_list1`, `tag`, and `take_while1` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{tag, take_while1}, character::complete::{multispace1,char}, combinator::map, error::context, multi::separated_list1, sequence::{preceded, separated_pair, tuple}, IResul... [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom_locate::LocatedSpan` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom_locate::LocatedSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser_ext` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use nom_supreme::{parser_ext, tag::complete::tag_no_case, ParserExt}; // Added ParserExt here [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/sql_one_parser/src/commands/create_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cond`, `map`, `multispace0`, `tag`, `take_while`, and `terminated` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{tag, take_until, take_while}, character::complete::{multispace0, multispace1}, combinator::{cond, map, map_res, opt}, error::context, sequence::{pair, preceded, terminated, t... [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::MyParseError` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error::MyParseError, parser::{comma_sep, identifier, Parse, ParseResult, RawSpan}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::SelectStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::commands::{create::CreateStatement, select::SelectStatement, insert::InsertStatement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::create::CreateStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use crate::commands::create::CreateStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select::SelectStatement` [INFO] [stdout] --> crates/sql_one_parser/src/ast.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | use crate::commands::{select::SelectStatement, insert::InsertStatement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sql_one_topology v0.1.0 (/opt/rustwide/workdir/crates/sql_one_topology) [INFO] [stdout] warning: unused imports: `AccessError`, `fmt::format`, `hash::Hash`, `ops::Deref`, `self`, `str::FromStr`, and `time::Duration` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | ...p, fmt::format, hash::Hash, net::SocketAddr, ops::Deref, str::FromStr, sync::{Arc, Mutex}, thread::{self, AccessError}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccessError`, `fmt::format`, `hash::Hash`, `ops::Deref`, `self`, `str::FromStr`, and `time::Duration` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | ...p, fmt::format, hash::Hash, net::SocketAddr, ops::Deref, str::FromStr, sync::{Arc, Mutex}, thread::{self, AccessError}, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Iter` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Iter` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/sql_one_parser/src/commands/select_condition.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 113 | / loop { [INFO] [stdout] 114 | | match listener.accept().await { [INFO] [stdout] 115 | | Ok((mut stream, addr)) => { [INFO] [stdout] 116 | | println!("addres is {:#?}", addr ); [INFO] [stdout] ... | [INFO] [stdout] 134 | | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 113 | / loop { [INFO] [stdout] 114 | | match listener.accept().await { [INFO] [stdout] 115 | | Ok((mut stream, addr)) => { [INFO] [stdout] 116 | | println!("addres is {:#?}", addr ); [INFO] [stdout] ... | [INFO] [stdout] 134 | | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 136 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | Ok((mut stream, addr)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | Ok((mut stream, addr)) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `master_addr` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | master_addr : String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_master` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct P2Pnetwork { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | is_master : bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `P2Pnetwork` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handleStream` should have a snake case name [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn handleStream(&mut self, mut stream : TcpStream ) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `master_addr` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Peer { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | master_addr : String [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_master` is never read [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct P2Pnetwork { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | is_master : bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `P2Pnetwork` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handleStream` should have a snake case name [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn handleStream(&mut self, mut stream : TcpStream ) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | socket.write_all(&bytes); [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] 145 | let _ = socket.write_all(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | s.write_all(&bytes).await; [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] 186 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | s.write_all(&bytes).await; [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] 199 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | socket.write_all(&bytes); [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] 145 | let _ = socket.write_all(&bytes); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | s.write_all(&bytes).await; [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] 186 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/sql_one_topology/src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | s.write_all(&bytes).await; [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] 199 | let _ = s.write_all(&bytes).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/sql_one_parser/src/parser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 53 | peek_tag: T, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | map(pair(peek(tag_no_case(peek_tag)), f), |(_, f_res)| f_res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/sql_one_parser/src/parser.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 66 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | separated_list1(tuple((multispace0, char(','), multispace0)), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sql_one_parser` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/sql_one_parser/src/parser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 53 | peek_tag: T, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | map(pair(peek(tag_no_case(peek_tag)), f), |(_, f_res)| f_res) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/sql_one_parser/src/parser.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 66 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | separated_list1(tuple((multispace0, char(','), multispace0)), f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CreateTest` should have a snake case name [INFO] [stdout] --> crates/sql_one_parser/src/commands/create_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod CreateTest { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sql_one_parser` (lib test) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa025d7f63acb9c6dd0a2aa038043e7d780fbb421dd3da1f8aaa5f7ddc068782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa025d7f63acb9c6dd0a2aa038043e7d780fbb421dd3da1f8aaa5f7ddc068782", kill_on_drop: false }` [INFO] [stdout] fa025d7f63acb9c6dd0a2aa038043e7d780fbb421dd3da1f8aaa5f7ddc068782