[INFO] cloning repository https://github.com/aravindh-e6x/ferrousql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aravindh-e6x/ferrousql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faravindh-e6x%2Fferrousql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faravindh-e6x%2Fferrousql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e3e0221b09028eba5aa2475d68cacd42541780b [INFO] testing aravindh-e6x/ferrousql against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faravindh-e6x%2Fferrousql" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aravindh-e6x/ferrousql [INFO] finished tweaking git repo https://github.com/aravindh-e6x/ferrousql [INFO] tweaked toml for git repo https://github.com/aravindh-e6x/ferrousql written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aravindh-e6x/ferrousql on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aravindh-e6x/ferrousql already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range-header v0.4.2 [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded thrift v0.17.0 [INFO] [stderr] Downloaded snap v1.1.1 [INFO] [stderr] Downloaded flatbuffers v23.5.26 [INFO] [stderr] Downloaded twox-hash v2.1.1 [INFO] [stderr] Downloaded axum-macros v0.4.2 [INFO] [stderr] Downloaded lexical-write-integer v0.8.5 [INFO] [stderr] Downloaded arrow-row v50.0.0 [INFO] [stderr] Downloaded arrow-ord v50.0.0 [INFO] [stderr] Downloaded arrow-string v50.0.0 [INFO] [stderr] Downloaded arrow-arith v50.0.0 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.6 [INFO] [stderr] Downloaded arrow-csv v50.0.0 [INFO] [stderr] Downloaded arrow v50.0.0 [INFO] [stderr] Downloaded lexical-write-float v0.8.5 [INFO] [stderr] Downloaded lexical-util v0.8.5 [INFO] [stderr] Downloaded arrow-cast v50.0.0 [INFO] [stderr] Downloaded arrow-ipc v50.0.0 [INFO] [stderr] Downloaded arrow-array v50.0.0 [INFO] [stderr] Downloaded parquet v50.0.0 [INFO] [stderr] Downloaded sqlparser v0.45.0 [INFO] [stderr] Downloaded arrow-json v50.0.0 [INFO] [stderr] Downloaded arrow-buffer v50.0.0 [INFO] [stderr] Downloaded arrow-data v50.0.0 [INFO] [stderr] Downloaded arrow-schema v50.0.0 [INFO] [stderr] Downloaded arrow-select v50.0.0 [INFO] [stderr] Downloaded lexical-core v0.8.5 [INFO] [stderr] Downloaded lz4_flex v0.11.5 [INFO] [stderr] Downloaded lexical-parse-float v0.8.5 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded integer-encoding v3.0.4 [INFO] [stderr] Downloaded brotli v3.5.0 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 575a7979d932d58f5b4bb8602d5438f4531d861dec4d76208de6c7934da49872 [INFO] running `Command { std: "docker" "start" "-a" "575a7979d932d58f5b4bb8602d5438f4531d861dec4d76208de6c7934da49872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575a7979d932d58f5b4bb8602d5438f4531d861dec4d76208de6c7934da49872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575a7979d932d58f5b4bb8602d5438f4531d861dec4d76208de6c7934da49872", kill_on_drop: false }` [INFO] [stdout] 575a7979d932d58f5b4bb8602d5438f4531d861dec4d76208de6c7934da49872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9740639886d9d593612b034a4fb4f81fe3037115dadf92d7e99b367ea7a99343 [INFO] running `Command { std: "docker" "start" "-a" "9740639886d9d593612b034a4fb4f81fe3037115dadf92d7e99b367ea7a99343", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling arrow-schema v50.0.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling arrow-buffer v50.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling arrow-data v50.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling twox-hash v2.1.1 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thrift v0.17.0 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling arrow-array v50.0.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling arrow-select v50.0.0 [INFO] [stderr] Compiling arrow-arith v50.0.0 [INFO] [stderr] Compiling arrow-row v50.0.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling arrow-cast v50.0.0 [INFO] [stderr] Compiling arrow-string v50.0.0 [INFO] [stderr] Compiling arrow-ord v50.0.0 [INFO] [stderr] Compiling sqlparser v0.45.0 [INFO] [stderr] Compiling arrow-ipc v50.0.0 [INFO] [stderr] Compiling arrow-json v50.0.0 [INFO] [stderr] Compiling arrow-csv v50.0.0 [INFO] [stderr] Compiling parquet v50.0.0 [INFO] [stderr] Compiling arrow v50.0.0 [INFO] [stderr] Compiling ferrousql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ObjectName` [INFO] [stdout] --> src/rules.rs:1:92 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlparser::ast::{Statement, Query, SetExpr, Select, Expr, TableFactor, BinaryOperator, ObjectName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FerrousSqlError` and `Result` [INFO] [stdout] --> src/rules.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{FerrousSqlError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/rule_loader.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rules::{RuleSet, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuleViolation` [INFO] [stdout] --> src/custom_rules.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::rules::{RuleEngine, Rule, RuleViolation, Severity}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/custom_rules.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `Query` [INFO] [stdout] --> src/api/handlers.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Severity` [INFO] [stdout] --> src/api/models.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::{RuleViolation, Severity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/rules.rs:788:68 [INFO] [stdout] | [INFO] [stdout] 788 | ...: &Statement, name: &str, condition: &CustomCondition, severity: &Severity, message: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violation` [INFO] [stdout] --> src/rules.rs:841:25 [INFO] [stdout] | [INFO] [stdout] 841 | if let Some(violation) = self.check_rule(statement, rule) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_violation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rule_loader.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut name = String::from("Merged Ruleset"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rule_loader.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut description = String::from("Combined rules from multiple sources"); [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] --> src/main.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut engine = if !rules.is_empty() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 04s [INFO] running `Command { std: "docker" "inspect" "9740639886d9d593612b034a4fb4f81fe3037115dadf92d7e99b367ea7a99343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9740639886d9d593612b034a4fb4f81fe3037115dadf92d7e99b367ea7a99343", kill_on_drop: false }` [INFO] [stdout] 9740639886d9d593612b034a4fb4f81fe3037115dadf92d7e99b367ea7a99343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa563bbc170b3aead0642c91caf703f7b57ff864b9ec5232ce29aab04fae08ca [INFO] running `Command { std: "docker" "start" "-a" "aa563bbc170b3aead0642c91caf703f7b57ff864b9ec5232ce29aab04fae08ca", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ObjectName` [INFO] [stdout] --> src/rules.rs:1:92 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlparser::ast::{Statement, Query, SetExpr, Select, Expr, TableFactor, BinaryOperator, ObjectName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FerrousSqlError` and `Result` [INFO] [stdout] --> src/rules.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{FerrousSqlError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/rule_loader.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rules::{RuleSet, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuleViolation` [INFO] [stdout] --> src/custom_rules.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::rules::{RuleEngine, Rule, RuleViolation, Severity}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/custom_rules.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `Query` [INFO] [stdout] --> src/api/handlers.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Severity` [INFO] [stdout] --> src/api/models.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::{RuleViolation, Severity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/rules.rs:788:68 [INFO] [stdout] | [INFO] [stdout] 788 | ...: &Statement, name: &str, condition: &CustomCondition, severity: &Severity, message: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violation` [INFO] [stdout] --> src/rules.rs:841:25 [INFO] [stdout] | [INFO] [stdout] 841 | if let Some(violation) = self.check_rule(statement, rule) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_violation` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ferrousql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rule_loader.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut name = String::from("Merged Ruleset"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rule_loader.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut description = String::from("Combined rules from multiple sources"); [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] --> src/main.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut engine = if !rules.is_empty() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectName` [INFO] [stdout] --> src/rules.rs:1:92 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlparser::ast::{Statement, Query, SetExpr, Select, Expr, TableFactor, BinaryOperator, ObjectName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FerrousSqlError` and `Result` [INFO] [stdout] --> src/rules.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{FerrousSqlError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rule` [INFO] [stdout] --> src/rule_loader.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::rules::{RuleSet, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuleViolation` [INFO] [stdout] --> src/custom_rules.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::rules::{RuleEngine, Rule, RuleViolation, Severity}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/custom_rules.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `Query` [INFO] [stdout] --> src/api/handlers.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | Extension, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Severity` [INFO] [stdout] --> src/api/models.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::{RuleViolation, Severity}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/rules.rs:788:68 [INFO] [stdout] | [INFO] [stdout] 788 | ...: &Statement, name: &str, condition: &CustomCondition, severity: &Severity, message: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violation` [INFO] [stdout] --> src/rules.rs:841:25 [INFO] [stdout] | [INFO] [stdout] 841 | if let Some(violation) = self.check_rule(statement, rule) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_violation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rule_loader.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut name = String::from("Merged Ruleset"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rule_loader.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut description = String::from("Combined rules from multiple sources"); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.44s [INFO] running `Command { std: "docker" "inspect" "aa563bbc170b3aead0642c91caf703f7b57ff864b9ec5232ce29aab04fae08ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa563bbc170b3aead0642c91caf703f7b57ff864b9ec5232ce29aab04fae08ca", kill_on_drop: false }` [INFO] [stdout] aa563bbc170b3aead0642c91caf703f7b57ff864b9ec5232ce29aab04fae08ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7539ab6b904a258f3194e763f9b0afcd62d5c464049b05c020615088215de9ec [INFO] running `Command { std: "docker" "start" "-a" "7539ab6b904a258f3194e763f9b0afcd62d5c464049b05c020615088215de9ec", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ObjectName` [INFO] [stderr] --> src/rules.rs:1:92 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlparser::ast::{Statement, Query, SetExpr, Select, Expr, TableFactor, BinaryOperator, ObjectName}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FerrousSqlError` and `Result` [INFO] [stderr] --> src/rules.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::error::{FerrousSqlError, Result}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rule` [INFO] [stderr] --> src/rule_loader.rs:1:29 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::rules::{RuleSet, Rule}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RuleViolation` [INFO] [stderr] --> src/custom_rules.rs:2:38 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::rules::{RuleEngine, Rule, RuleViolation, Severity}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::error::Result` [INFO] [stderr] --> src/custom_rules.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::error::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Extension` and `Query` [INFO] [stderr] --> src/api/handlers.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | extract::{Path, Query, State}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 5 | Extension, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Severity` [INFO] [stderr] --> src/api/models.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::rules::{RuleViolation, Severity}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/api/models.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stderr] --> src/rules.rs:788:68 [INFO] [stderr] | [INFO] [stderr] 788 | ...: &Statement, name: &str, condition: &CustomCondition, severity: &Severity, message: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `violation` [INFO] [stderr] --> src/rules.rs:841:25 [INFO] [stderr] | [INFO] [stderr] 841 | if let Some(violation) = self.check_rule(statement, rule) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_violation` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rule_loader.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let mut name = String::from("Merged Ruleset"); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rule_loader.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut description = String::from("Combined rules from multiple sources"); [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `ferrousql` (lib) generated 12 warnings (run `cargo fix --lib -p ferrousql` to apply 10 suggestions) [INFO] [stderr] warning: `ferrousql` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | let mut engine = if !rules.is_empty() { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ferrousql` (bin "ferrousql" test) generated 1 warning (run `cargo fix --bin "ferrousql" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ferrousql-d4a6a1d03322392d) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ferrousql-77ca467f5a9b62fe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/generate_sample_parquet.rs (/opt/rustwide/target/debug/deps/generate_sample_parquet-f82f7afe430492bc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ferrousql [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7539ab6b904a258f3194e763f9b0afcd62d5c464049b05c020615088215de9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7539ab6b904a258f3194e763f9b0afcd62d5c464049b05c020615088215de9ec", kill_on_drop: false }` [INFO] [stdout] 7539ab6b904a258f3194e763f9b0afcd62d5c464049b05c020615088215de9ec