[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiscmonkey%2Fsqlit" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Discmonkey/sqlit on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-7/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded linefeed v0.6.0 [INFO] [stderr] Downloaded smallstr v0.2.0 [INFO] [stderr] Downloaded mortal v0.2.2 [INFO] [stderr] Downloaded time-test v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 253db08b0bef0dd162f33798911f9d2253e4cae0834d673908d68100332d3895 [INFO] running `Command { std: "docker" "start" "-a" "253db08b0bef0dd162f33798911f9d2253e4cae0834d673908d68100332d3895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "253db08b0bef0dd162f33798911f9d2253e4cae0834d673908d68100332d3895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253db08b0bef0dd162f33798911f9d2253e4cae0834d673908d68100332d3895", kill_on_drop: false }` [INFO] [stdout] 253db08b0bef0dd162f33798911f9d2253e4cae0834d673908d68100332d3895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa781568c99b256195556dfb7b4f8992d8d67d0f193f34ea99613d62c525bb2d [INFO] running `Command { std: "docker" "start" "-a" "fa781568c99b256195556dfb7b4f8992d8d67d0f193f34ea99613d62c525bb2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling time-test v0.2.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [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 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 [INFO] [stdout] --> src/table/impl_table_display.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! maybe_length { [INFO] [stdout] 20 | | ($item:ident, $length: ident, $dest: ident) => { [INFO] [stdout] 21 | | if let Some(unwrapped) = $item { [INFO] [stdout] 22 | | max(item_width(&mut $dest, unwrapped)?, $length) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [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/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: `#[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: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: 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.83s [INFO] running `Command { std: "docker" "inspect" "fa781568c99b256195556dfb7b4f8992d8d67d0f193f34ea99613d62c525bb2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa781568c99b256195556dfb7b4f8992d8d67d0f193f34ea99613d62c525bb2d", kill_on_drop: false }` [INFO] [stdout] fa781568c99b256195556dfb7b4f8992d8d67d0f193f34ea99613d62c525bb2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 371787e9e67e714cb97b72c1ff51fecbe7bfcc780f21e4e016db8edc2b231b88 [INFO] running `Command { std: "docker" "start" "-a" "371787e9e67e714cb97b72c1ff51fecbe7bfcc780f21e4e016db8edc2b231b88", kill_on_drop: false }` [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 [INFO] [stdout] --> src/table/impl_table_display.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! maybe_length { [INFO] [stdout] 20 | | ($item:ident, $length: ident, $dest: ident) => { [INFO] [stdout] 21 | | if let Some(unwrapped) = $item { [INFO] [stdout] 22 | | max(item_width(&mut $dest, unwrapped)?, $length) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [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] [stderr] Compiling sqlit v0.1.0 (/opt/rustwide/workdir) [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/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: `#[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: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: 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: this `Result` may be an `Err` variant, which should be handled [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 [INFO] [stdout] --> src/table/impl_table_display.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! maybe_length { [INFO] [stdout] 20 | | ($item:ident, $length: ident, $dest: ident) => { [INFO] [stdout] 21 | | if let Some(unwrapped) = $item { [INFO] [stdout] 22 | | max(item_width(&mut $dest, unwrapped)?, $length) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [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: `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: 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: 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/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: `#[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: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: 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.41s [INFO] running `Command { std: "docker" "inspect" "371787e9e67e714cb97b72c1ff51fecbe7bfcc780f21e4e016db8edc2b231b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371787e9e67e714cb97b72c1ff51fecbe7bfcc780f21e4e016db8edc2b231b88", kill_on_drop: false }` [INFO] [stdout] 371787e9e67e714cb97b72c1ff51fecbe7bfcc780f21e4e016db8edc2b231b88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49b3ac501f3067e0b0f802940317e857d6007a00a8f5394cff5100dbbabd32cf [INFO] running `Command { std: "docker" "start" "-a" "49b3ac501f3067e0b0f802940317e857d6007a00a8f5394cff5100dbbabd32cf", 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 [INFO] [stderr] --> src/table/impl_table_display.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / macro_rules! maybe_length { [INFO] [stderr] 20 | | ($item:ident, $length: ident, $dest: ident) => { [INFO] [stderr] 21 | | if let Some(unwrapped) = $item { [INFO] [stderr] 22 | | max(item_width(&mut $dest, unwrapped)?, $length) [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [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/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: `#[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: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 `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: this `Result` may be an `Err` variant, which should be handled [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: `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] [stdout] [INFO] [stderr] warning: unused variable: `t` [INFO] [stdout] running 23 tests [INFO] [stderr] --> src/table/impl_store.rs:50:16 [INFO] [stdout] test converters::test::convert_int ... ok [INFO] [stderr] | [INFO] [stdout] test converters::test::convert_float ... ok [INFO] [stderr] 50 | Ok(t) => assert!(true), [INFO] [stdout] test ops::binary_ops::test::test_binary_iterate ... ok [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] test converters::test::convert_date ... ok [INFO] [stderr] [INFO] [stdout] test build_column::test::build_booleans ... ok [INFO] [stderr] warning: unused variable: `e` [INFO] [stdout] test ingest::test::tough_csv ... ok [INFO] [stderr] --> src/table/impl_store.rs:51:17 [INFO] [stdout] test build_column::test::string_column ... ok [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: 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: 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.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sqlit-13571dbb01bb1dd8) [INFO] [stdout] test build_column::test::build_booleans_fail ... ok [INFO] [stdout] test parser::rdp::test::parse_as_clause ... ok [INFO] [stdout] test table::impl_column::test::test_order ... ok [INFO] [stdout] test converters::test::convert_bool ... ok [INFO] [stdout] test ingest::test::empty_lines ... ok [INFO] [stdout] test ingest::test::test_line_read ... ok [INFO] [stdout] test tokenizer::test::distinguish ... ok [INFO] [stdout] test parser::rdp::test::parse_basic_select ... ok [INFO] [stdout] test tokenizer::test::tokenize_basic_select ... ok [INFO] [stdout] test table::impl_table::test::build_table ... ok [INFO] [stdout] test table::impl_store::test::test_get ... ok [INFO] [stdout] test parser::rdp::test::test_star_operator ... ok [INFO] [stdout] test parser::rdp::test::multiple_where ... ok [INFO] [stdout] test tokenizer::test::as_versus_assists ... 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/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:194:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557ec2e781bc - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557ec2e781bc - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557ec2e781bc - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557ec2e781bc - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x557ec2e9cbac - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x557ec2e74a35 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x557ec2e79ec0 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x557ec2e79ec0 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x557ec2e79ec0 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x557ec2e79ab2 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x557ec2e7a574 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x557ec2e7a050 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x557ec2e78684 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x557ec2e79fb9 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557ec2b316e1 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x557ec2e9b83e - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x557ec2cbbd6a - core::panicking::assert_failed::h981e96276037f8b6 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557ec2c191ca - test::assert_test_result::h2e83cc171d0cacec [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:194:5 [INFO] [stdout] 18: 0x557ec2bbe549 - sqlit::eval::order_by::test::test_danceability::{{closure}}::h3303c06bb21ed311 [INFO] [stdout] at /opt/rustwide/workdir/src/eval/order_by.rs:73:5 [INFO] [stdout] 19: 0x557ec2c59e4e - core::ops::function::FnOnce::call_once::h520474438cededd3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557ec2caf7f3 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557ec2caf7f3 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x557ec2cae278 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x557ec2cae278 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x557ec2cae278 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x557ec2cae278 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x557ec2cae278 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x557ec2cae278 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x557ec2cae278 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x557ec2c7bdce - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x557ec2c7bdce - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x557ec2c80668 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x557ec2c80668 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x557ec2c80668 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x557ec2c80668 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x557ec2c80668 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x557ec2c80668 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x557ec2c80668 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557ec2e7f3a3 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557ec2e7f3a3 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557ec2e7f3a3 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f8c58b02609 - start_thread [INFO] [stdout] 42: 0x7f8c588d4293 - 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.13s [INFO] [stdout] [INFO] [stderr] (took PT0.002254035S) (took PT0.064790963S) error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "49b3ac501f3067e0b0f802940317e857d6007a00a8f5394cff5100dbbabd32cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b3ac501f3067e0b0f802940317e857d6007a00a8f5394cff5100dbbabd32cf", kill_on_drop: false }` [INFO] [stdout] 49b3ac501f3067e0b0f802940317e857d6007a00a8f5394cff5100dbbabd32cf