[INFO] cloning repository https://github.com/Discmonkey/sqlit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Discmonkey/sqlit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiscmonkey%2Fsqlit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiscmonkey%2Fsqlit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8cbf3c454ff141349f51458690686b548e41d19 [INFO] testing Discmonkey/sqlit against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiscmonkey%2Fsqlit" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Discmonkey/sqlit on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Discmonkey/sqlit [INFO] finished tweaking git repo https://github.com/Discmonkey/sqlit [INFO] tweaked toml for git repo https://github.com/Discmonkey/sqlit written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Discmonkey/sqlit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-test v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ad937761b827b2e14ddccbe4536b2479d18b2767f0faa65e9bb032722624f0a4 [INFO] running `Command { std: "docker" "start" "-a" "ad937761b827b2e14ddccbe4536b2479d18b2767f0faa65e9bb032722624f0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad937761b827b2e14ddccbe4536b2479d18b2767f0faa65e9bb032722624f0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad937761b827b2e14ddccbe4536b2479d18b2767f0faa65e9bb032722624f0a4", kill_on_drop: false }` [INFO] [stdout] ad937761b827b2e14ddccbe4536b2479d18b2767f0faa65e9bb032722624f0a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d956ec93b75626bf2f01deea7bf383af0d01473d796c6b150ef95f0e44452b12 [INFO] running `Command { std: "docker" "start" "-a" "d956ec93b75626bf2f01deea7bf383af0d01473d796c6b150ef95f0e44452b12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling time-test v0.2.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling mortal v0.2.2 [INFO] [stderr] Compiling linefeed v0.6.0 [INFO] [stderr] Compiling sqlit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc` [INFO] [stdout] --> src/eval/from.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eval::select::AliasMap` [INFO] [stdout] --> src/eval/from.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::eval::select::AliasMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/select.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/where_.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/limit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/table/impl_table.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::result::ErrorType::{Lookup, Runtime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/table/impl_store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/table/impl_table_display.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `maybe_length` [INFO] [stdout] --> src/table/impl_table_display.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! maybe_length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 45 | find_max!(s, scratch, |string| {&string}) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | find_max!(i, scratch, |int| {&int}) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 53 | find_max!(f, scratch, |float| {&float}) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | / find_max!(d, scratch, |timestamp| { [INFO] [stdout] 58 | | &NaiveDateTime::from_timestamp(timestamp.clone(), 0).to_string() [INFO] [stdout] 59 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/table/impl_column.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/table/impl_column.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/ops/boolean.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/ops/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/eval/from.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | fn join(left: Table, right: Table, expression: ParserNode, inner: bool, ops: &OpContext, store: &Store) -> SqlResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/table/impl_table_display.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let path = Path::new(filename); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/table/impl_column.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | map_block!(self, v, { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/ops/general.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | fn reduce(&self, argument: &Column) -> SqlResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/from.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | let (_, _, mut children) = root.release(); [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] --> src/eval/select.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut temp; [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/eval/columns.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | ... .map(|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] --> src/parser/rdp.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = ParserNode::new(ParserNodeType::StarOperator); [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/table/impl_table_display.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut separator = if filename.ends_with(".tsv") { [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/ops/null_ops.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [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/ops/null_ops.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AliasMap` [INFO] [stdout] --> src/eval/select.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub (super) type AliasMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ingest/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | target.write_char(characters[index]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/from.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/from.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/into.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | table.write_to_file(&filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | file.write(separator.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | file.write(s.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | file.write("\n".as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | file.write(separator.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | file.write(quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | file.write(quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "d956ec93b75626bf2f01deea7bf383af0d01473d796c6b150ef95f0e44452b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d956ec93b75626bf2f01deea7bf383af0d01473d796c6b150ef95f0e44452b12", kill_on_drop: false }` [INFO] [stdout] d956ec93b75626bf2f01deea7bf383af0d01473d796c6b150ef95f0e44452b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 137ab06b9a5ca669afe4ef32fece791a31bfba62096f0f2916c76c3d821d49c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "137ab06b9a5ca669afe4ef32fece791a31bfba62096f0f2916c76c3d821d49c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `std::rc` [INFO] [stdout] --> src/eval/from.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eval::select::AliasMap` [INFO] [stdout] --> src/eval/from.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::eval::select::AliasMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/select.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/where_.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/limit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/table/impl_table.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::result::ErrorType::{Lookup, Runtime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/table/impl_store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/table/impl_table_display.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `maybe_length` [INFO] [stdout] --> src/table/impl_table_display.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! maybe_length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 45 | find_max!(s, scratch, |string| {&string}) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | find_max!(i, scratch, |int| {&int}) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 53 | find_max!(f, scratch, |float| {&float}) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | / find_max!(d, scratch, |timestamp| { [INFO] [stdout] 58 | | &NaiveDateTime::from_timestamp(timestamp.clone(), 0).to_string() [INFO] [stdout] 59 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/table/impl_column.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/table/impl_column.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/ops/boolean.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/ops/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/eval/from.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | fn join(left: Table, right: Table, expression: ParserNode, inner: bool, ops: &OpContext, store: &Store) -> SqlResult
{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/table/impl_table_display.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let path = Path::new(filename); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/table/impl_column.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | map_block!(self, v, { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/ops/general.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | fn reduce(&self, argument: &Column) -> SqlResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/from.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | let (_, _, mut children) = root.release(); [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] --> src/eval/select.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut temp; [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/eval/columns.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | ... .map(|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] --> src/parser/rdp.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = ParserNode::new(ParserNodeType::StarOperator); [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/table/impl_table_display.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut separator = if filename.ends_with(".tsv") { [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/ops/null_ops.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [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/ops/null_ops.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AliasMap` [INFO] [stdout] --> src/eval/select.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub (super) type AliasMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ingest/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | target.write_char(characters[index]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/from.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/from.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/into.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | table.write_to_file(&filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | file.write(separator.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | file.write(s.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | file.write("\n".as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | file.write(separator.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | file.write(quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | file.write(quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc` [INFO] [stdout] --> src/eval/from.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eval::select::AliasMap` [INFO] [stdout] --> src/eval/from.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::eval::select::AliasMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/select.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/where_.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eval/limit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/table/impl_table.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::result::ErrorType::{Lookup, Runtime}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/table/impl_store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::result::SqlResult` [INFO] [stdout] --> src/table/impl_store.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::result::SqlResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/table/impl_table_display.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `maybe_length` [INFO] [stdout] --> src/table/impl_table_display.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! maybe_length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 45 | find_max!(s, scratch, |string| {&string}) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | find_max!(i, scratch, |int| {&int}) [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 53 | find_max!(f, scratch, |float| {&float}) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/table/impl_table_display.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | }).max().unwrap_or(0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | / find_max!(d, scratch, |timestamp| { [INFO] [stdout] 58 | | &NaiveDateTime::from_timestamp(timestamp.clone(), 0).to_string() [INFO] [stdout] 59 | | }) [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stdout] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/table/impl_column.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/table/impl_column.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Runtime` [INFO] [stdout] --> src/ops/boolean.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_field` [INFO] [stdout] --> src/ingest/mod.rs:156:58 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::ingest::{CsvFinder, read_line, SepFinder, read_field}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/ops/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/eval/from.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | fn join(left: Table, right: Table, expression: ParserNode, inner: bool, ops: &OpContext, store: &Store) -> SqlResult
{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/table/impl_table_display.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let path = Path::new(filename); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/table/impl_column.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | map_block!(self, v, { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/ops/general.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | fn reduce(&self, argument: &Column) -> SqlResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sep` [INFO] [stdout] --> src/ingest/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let sep = CsvFinder{}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separated` [INFO] [stdout] --> src/ingest/mod.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let separated = read_line(&line, &sep); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_separated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser/rdp.rs:468:37 [INFO] [stdout] | [INFO] [stdout] 468 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/parser/rdp.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 473 | let from = nodes.pop_front().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser/rdp.rs:475:29 [INFO] [stdout] | [INFO] [stdout] 475 | let (type_, tokens, nodes) = columns.release(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/parser/rdp.rs:475:37 [INFO] [stdout] | [INFO] [stdout] 475 | let (type_, tokens, nodes) = columns.release(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser/rdp.rs:493:37 [INFO] [stdout] | [INFO] [stdout] 493 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/parser/rdp.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | let from = nodes.pop_front().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser/rdp.rs:500:29 [INFO] [stdout] | [INFO] [stdout] 500 | let (type_, tokens, nodes) = columns.release(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/parser/rdp.rs:500:37 [INFO] [stdout] | [INFO] [stdout] 500 | let (type_, tokens, nodes) = columns.release(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/table/impl_store.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(t) => assert!(true), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/table/impl_store.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => assert!(false), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval/from.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | let (_, _, mut children) = root.release(); [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] --> src/eval/select.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut temp; [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/eval/columns.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | ... .map(|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] --> src/parser/rdp.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = ParserNode::new(ParserNodeType::StarOperator); [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/table/impl_table_display.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut separator = if filename.ends_with(".tsv") { [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/ops/null_ops.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [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/ops/null_ops.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [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/parser/rdp.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | let mut tokens = t.tokenize("SELECT a, b, c FROM table".to_string()); [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/parser/rdp.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | let (mut type_, mut tokens, mut nodes) = tree.release(); [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/parser/rdp.rs:468:33 [INFO] [stdout] | [INFO] [stdout] 468 | let (mut type_, mut tokens, mut nodes) = tree.release(); [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/parser/rdp.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | let (mut type_, mut tokens, mut nodes) = tree.release(); [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/parser/rdp.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | let (mut type_, mut tokens, mut nodes) = tree.release(); [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/table/impl_column.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | Column::Ints(mut i) => { [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/ops/binary_ops.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut output : Vec> = binary_iterate!(left, right, t, |(a, b)| {a + b}); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AliasMap` [INFO] [stdout] --> src/eval/select.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub (super) type AliasMap = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/tokenizer.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | .into_iter().for_each(|type_| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 164 | .iter().for_each(|type_| { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 163 | IntoIterator::into_iter([Literal, Separator, Identifier, Separator, Identifier, Separator, Literal]).for_each(|type_| { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/tokenizer.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | .into_iter().for_each(|type_| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 176 | .iter().for_each(|type_| { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 175 | IntoIterator::into_iter([Keyword, Identifier, Separator, Identifier, Separator, Keyword, Identifier, Keyword, Identifier]).for_each(|type_| { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ingest/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | target.write_char(characters[index]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/from.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/from.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval/into.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | table.write_to_file(&filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | file.write(separator.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | file.write(s.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | file.write("\n".as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | file.write(separator.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | file.write(quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_table_display.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | file.write(quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | write!(&mut writer, "{}", s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table/impl_column.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | write!(&mut writer, "{}", null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.97s [INFO] running `Command { std: "docker" "inspect" "137ab06b9a5ca669afe4ef32fece791a31bfba62096f0f2916c76c3d821d49c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137ab06b9a5ca669afe4ef32fece791a31bfba62096f0f2916c76c3d821d49c3", kill_on_drop: false }` [INFO] [stdout] 137ab06b9a5ca669afe4ef32fece791a31bfba62096f0f2916c76c3d821d49c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fe4ba6be21d47251e8685b08e28a0b1563d5109346895882a05e39ab80e92004 [INFO] running `Command { std: "docker" "start" "-a" "fe4ba6be21d47251e8685b08e28a0b1563d5109346895882a05e39ab80e92004", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::rc` [INFO] [stderr] --> src/eval/from.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::rc; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::eval::select::AliasMap` [INFO] [stderr] --> src/eval/from.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::eval::select::AliasMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/eval/select.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/eval/where_.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/eval/limit.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Runtime` [INFO] [stderr] --> src/table/impl_table.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::result::ErrorType::{Lookup, Runtime}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/table/impl_store.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/table/impl_table_display.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `maybe_length` [INFO] [stderr] --> src/table/impl_table_display.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | macro_rules! maybe_length { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/table/impl_table_display.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | }).max().unwrap_or(0); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 45 | find_max!(s, scratch, |string| {&string}) [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stderr] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/table/impl_table_display.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | }).max().unwrap_or(0); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 49 | find_max!(i, scratch, |int| {&int}) [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stderr] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/table/impl_table_display.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | }).max().unwrap_or(0); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 53 | find_max!(f, scratch, |float| {&float}) [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stderr] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/table/impl_table_display.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | }).max().unwrap_or(0); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 57 | / find_max!(d, scratch, |timestamp| { [INFO] [stderr] 58 | | &NaiveDateTime::from_timestamp(timestamp.clone(), 0).to_string() [INFO] [stderr] 59 | | }) [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `find_max` [INFO] [stderr] = note: this warning originates in the macro `find_max` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Runtime` [INFO] [stderr] --> src/table/impl_column.rs:4:32 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/table/impl_column.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Runtime` [INFO] [stderr] --> src/ops/boolean.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::result::ErrorType::{Runtime, Type}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/ops/mod.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner` [INFO] [stderr] --> src/eval/from.rs:41:60 [INFO] [stderr] | [INFO] [stderr] 41 | fn join(left: Table, right: Table, expression: ParserNode, inner: bool, ops: &OpContext, store: &Store) -> SqlResult
{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/table/impl_table_display.rs:168:13 [INFO] [stderr] | [INFO] [stderr] 168 | let path = Path::new(filename); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/table/impl_column.rs:134:26 [INFO] [stderr] | [INFO] [stderr] 134 | map_block!(self, v, { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argument` [INFO] [stderr] --> src/ops/general.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | fn reduce(&self, argument: &Column) -> SqlResult { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/eval/from.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | let (_, _, mut children) = root.release(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/eval/select.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | let mut temp; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/eval/columns.rs:225:40 [INFO] [stderr] | [INFO] [stderr] 225 | ... .map(|mut t| { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/rdp.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | let mut node = ParserNode::new(ParserNodeType::StarOperator); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/table/impl_table_display.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | let mut separator = if filename.ends_with(".tsv") { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ops/null_ops.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ops/null_ops.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | fn apply(&self, mut arguments: Vec<&Column>) -> SqlResult { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `AliasMap` [INFO] [stderr] --> src/eval/select.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub (super) type AliasMap = HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ingest/mod.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | target.write_char(characters[index]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/eval/from.rs:67:21 [INFO] [stderr] | [INFO] [stderr] 67 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/eval/from.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | destination_columns[num].1.extend(col.column.as_ref()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/eval/into.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | table.write_to_file(&filename); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_table_display.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | file.write(separator.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_table_display.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | file.write(s.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_table_display.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | file.write("\n".as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_table_display.rs:194:21 [INFO] [stderr] | [INFO] [stderr] 194 | file.write(separator.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_table_display.rs:196:17 [INFO] [stderr] | [INFO] [stderr] 196 | file.write(quote.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_table_display.rs:198:17 [INFO] [stderr] | [INFO] [stderr] 198 | file.write(quote.as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_column.rs:189:17 [INFO] [stderr] | [INFO] [stderr] 189 | write!(&mut writer, "{}", s); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/table/impl_column.rs:191:17 [INFO] [stderr] | [INFO] [stderr] 191 | write!(&mut writer, "{}", null); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::result::SqlResult` [INFO] [stderr] --> src/table/impl_store.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | use crate::result::SqlResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `read_field` [INFO] [stderr] --> src/ingest/mod.rs:156:58 [INFO] [stderr] | [INFO] [stderr] 156 | use crate::ingest::{CsvFinder, read_line, SepFinder, read_field}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sep` [INFO] [stderr] --> src/ingest/mod.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | let sep = CsvFinder{}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sep` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `separated` [INFO] [stderr] --> src/ingest/mod.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | let separated = read_line(&line, &sep); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_separated` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tokens` [INFO] [stderr] --> src/parser/rdp.rs:468:37 [INFO] [stderr] | [INFO] [stderr] 468 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/parser/rdp.rs:473:21 [INFO] [stderr] | [INFO] [stderr] 473 | let from = nodes.pop_front().unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tokens` [INFO] [stderr] --> src/parser/rdp.rs:475:29 [INFO] [stderr] | [INFO] [stderr] 475 | let (type_, tokens, nodes) = columns.release(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/parser/rdp.rs:475:37 [INFO] [stderr] | [INFO] [stderr] 475 | let (type_, tokens, nodes) = columns.release(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tokens` [INFO] [stderr] --> src/parser/rdp.rs:493:37 [INFO] [stderr] | [INFO] [stderr] 493 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/parser/rdp.rs:498:21 [INFO] [stderr] | [INFO] [stderr] 498 | let from = nodes.pop_front().unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tokens` [INFO] [stderr] --> src/parser/rdp.rs:500:29 [INFO] [stderr] | [INFO] [stderr] 500 | let (type_, tokens, nodes) = columns.release(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/parser/rdp.rs:500:37 [INFO] [stderr] | [INFO] [stderr] 500 | let (type_, tokens, nodes) = columns.release(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/table/impl_store.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | Ok(t) => assert!(true), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/table/impl_store.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | Err(e) => assert!(false), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/rdp.rs:450:13 [INFO] [stderr] | [INFO] [stderr] 450 | let mut tokens = t.tokenize("SELECT a, b, c FROM table".to_string()); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/rdp.rs:468:22 [INFO] [stderr] | [INFO] [stderr] 468 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/rdp.rs:468:33 [INFO] [stderr] | [INFO] [stderr] 468 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/rdp.rs:493:22 [INFO] [stderr] | [INFO] [stderr] 493 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/rdp.rs:493:33 [INFO] [stderr] | [INFO] [stderr] 493 | let (mut type_, mut tokens, mut nodes) = tree.release(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/table/impl_column.rs:209:26 [INFO] [stderr] | [INFO] [stderr] 209 | Column::Ints(mut i) => { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ops/binary_ops.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | let mut output : Vec> = binary_iterate!(left, right, t, |(a, b)| {a + b}); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stderr] --> src/tokenizer.rs:164:14 [INFO] [stderr] | [INFO] [stderr] 164 | .into_iter().for_each(|type_| { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 164 | .iter().for_each(|type_| { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 163 | IntoIterator::into_iter([Literal, Separator, Identifier, Separator, Identifier, Separator, Literal]).for_each(|type_| { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stderr] --> src/tokenizer.rs:176:14 [INFO] [stderr] | [INFO] [stderr] 176 | .into_iter().for_each(|type_| { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 176 | .iter().for_each(|type_| { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 175 | IntoIterator::into_iter([Keyword, Identifier, Separator, Identifier, Separator, Keyword, Identifier, Keyword, Identifier]).for_each(|type_| { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: `sqlit` (lib) generated 49 warnings (8 duplicates) [INFO] [stderr] warning: `sqlit` (lib test) generated 72 warnings (49 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sqlit-ca0e74c2402f0d2e) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test build_column::test::build_booleans ... ok [INFO] [stdout] test ingest::test::tough_csv ... ok [INFO] [stdout] test ops::binary_ops::test::test_binary_iterate ... ok [INFO] [stdout] test ingest::test::empty_lines ... ok [INFO] [stdout] test build_column::test::string_column ... ok [INFO] [stdout] test build_column::test::build_booleans_fail ... ok [INFO] [stdout] test table::impl_table::test::build_table ... ok [INFO] [stdout] test converters::test::convert_float ... ok [INFO] [stdout] test converters::test::convert_date ... ok [INFO] [stdout] test converters::test::convert_int ... ok [INFO] [stdout] test ingest::test::test_line_read ... ok [INFO] [stdout] test table::impl_store::test::test_get ... ok [INFO] [stdout] test table::impl_column::test::test_order ... ok [INFO] [stdout] test converters::test::convert_bool ... ok [INFO] [stdout] test tokenizer::test::distinguish ... ok [INFO] [stdout] test tokenizer::test::tokenize_basic_select ... ok [INFO] [stdout] test parser::rdp::test::test_star_operator ... ok [INFO] [stdout] test parser::rdp::test::parse_as_clause ... ok [INFO] [stdout] test tokenizer::test::as_versus_assists ... ok [INFO] [stdout] test parser::rdp::test::multiple_where ... ok [INFO] [stdout] test parser::rdp::test::parse_basic_select ... ok [INFO] [stdout] test parser::rdp::test::parse_two_function_select ... ok [INFO] [stdout] test eval::order_by::test::test_danceability ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- eval::order_by::test::test_danceability stdout ---- [INFO] [stdout] Error: SqlError { type_: Lookup, message: "danceability not found in table" } [INFO] [stdout] thread 'eval::order_by::test::test_danceability' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1`, [INFO] [stdout] right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:187:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5575485d4e0d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5575485d4e0d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5575485d4e0d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5575485d4e0d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5575485fbc4c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5575485d0308 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5575485d7177 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5575485d7177 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5575485d7177 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5575485d6eac - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5575485d78c9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5575485d75b7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5575485d52d4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5575485d72c9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5575482951b3 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5575485fa64e - core::panicking::assert_failed_inner::hbaac70a629215a04 [INFO] [stdout] 16: 0x5575485b044a - core::panicking::assert_failed::h4f3284cce91602ee [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5575483c0d6b - test::assert_test_result::h919436e670b2a410 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:187:5 [INFO] [stdout] 18: 0x557548315e99 - sqlit::eval::order_by::test::test_danceability::{{closure}}::hc10f64f5c0186287 [INFO] [stdout] at /opt/rustwide/workdir/src/eval/order_by.rs:73:5 [INFO] [stdout] 19: 0x557548391c0e - core::ops::function::FnOnce::call_once::h3798a7f8e5817542 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557548409dd3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557548409dd3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x557548408ab4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x557548408ab4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x557548408ab4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x557548408ab4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x557548408ab4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x557548408ab4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x557548408ab4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x5575484123d1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x5575484123d1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5575483dea4f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5575483dea4f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5575483dea4f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5575483dea4f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5575483dea4f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5575483dea4f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5575483dea4f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5575485dd783 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x5575485dd783 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x5575485dd783 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fc274027609 - start_thread [INFO] [stdout] 42: 0x7fc273df5163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] eval::order_by::test::test_danceability [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] (took PT0.000265610S) (took PT0.000042702S) error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "fe4ba6be21d47251e8685b08e28a0b1563d5109346895882a05e39ab80e92004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4ba6be21d47251e8685b08e28a0b1563d5109346895882a05e39ab80e92004", kill_on_drop: false }` [INFO] [stdout] fe4ba6be21d47251e8685b08e28a0b1563d5109346895882a05e39ab80e92004