[INFO] cloning repository https://github.com/adrianN/marc21
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrianN/marc21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadrianN%2Fmarc21"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadrianN%2Fmarc21'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 4a1126c382f7baec0dd67ad35d0fc53c9edfa724
[INFO] testing adrianN/marc21 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadrianN%2Fmarc21" "/workspace/builds/worker-6-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/adrianN/marc21
[INFO] finished tweaking git repo https://github.com/adrianN/marc21
[INFO] tweaked toml for git repo https://github.com/adrianN/marc21 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/adrianN/marc21 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/adrianN/marc21 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex v1.7.1
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df
[INFO] running `"docker" "start" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] running `"docker" "inspect" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling marc21 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `filter` should have an upper camel case name
[INFO] [stdout]    --> src/filter.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 219 |     filter(Box<dyn Filter>),
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Filter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `field_ref` should have an upper camel case name
[INFO] [stdout]    --> src/filter.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |     field_ref(Box<dyn FieldExpression>),
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to upper camel case: `FieldRef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lexer::*`
[INFO] [stdout]    --> src/lexer.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     use crate::lexer::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `field_type`
[INFO] [stdout]    --> src/parsedrecord.rs:218:30
[INFO] [stdout]     |
[INFO] [stdout] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         Some((context, LexItem::Punctuation(Punctuation::Comma))) => {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser.rs:103:31
[INFO] [stdout]     |
[INFO] [stdout] 103 |                         Some((context, LexItem::KW(Keyword::FromKW))) => {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |             if let Some((context, LexItem::KW(Keyword::Where))) = input.get(next_offset) {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut compile_result = compiler::compile(sql_text)?;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn get_header(data: &[u8]) -> MarcHeader {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn get_header(data: &[u8]) -> MarcHeader<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_NOT` should have a snake case name
[INFO] [stdout]   --> src/exprparse.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn parse_NOT<'a>(
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `parse_not`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_TERM` should have a snake case name
[INFO] [stdout]    --> src/exprparse.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn parse_TERM<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `parse_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_COLUMN_EXPR` should have a snake case name
[INFO] [stdout]    --> src/exprparse.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn parse_COLUMN_EXPR<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_column_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_OR` should have a snake case name
[INFO] [stdout]    --> src/exprparse.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn parse_OR<'a>(
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case: `parse_or`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn lex(input: &str) -> Result<Vec<(ItemContext, LexItem)>, String> {
[INFO] [stdout]    |                   ^^^^ the lifetime is elided here  ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn lex(input: &str) -> Result<Vec<(ItemContext, LexItem<'_>)>, String> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/marcrecord.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(data: &'s [u8]) -> MarcHeader {
[INFO] [stdout]    |                       --          ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'s`
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(data: &'s [u8]) -> MarcHeader<'s> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/marcrecord.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_entry(&self, i: usize) -> MarcDirectoryEntryRef {
[INFO] [stdout]    |                      ^^^^^               ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_entry(&self, i: usize) -> MarcDirectoryEntryRef<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/marcrecord.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/marcrecord.rs:219:23
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ownedrecord.rs:72:23
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ownedrecord.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn field_iter(&self, field_types: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here                             ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn field_iter(&self, field_types: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]    |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parsedrecord.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn get_field(&self, idx: usize) -> RecordField {
[INFO] [stdout]     |                      ^^^^^                 ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn get_field(&self, idx: usize) -> RecordField<'_> {
[INFO] [stdout]     |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parsedrecord.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parsedrecord.rs:218:23
[INFO] [stdout]     |
[INFO] [stdout] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                       ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/parser.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn parse(input: &str) -> Result<ParseNode, String> {
[INFO] [stdout]    |                     ^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn parse(input: &str) -> Result<ParseNode<'_>, String> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_SELECT` should have a snake case name
[INFO] [stdout]   --> src/parser.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn parse_SELECT<'a>(
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_select`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/record.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_>;
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_>;
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/record.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_>;
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_>;
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized + debuginfo] target(s) in 28.87s
[INFO] running `"docker" "inspect" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling marc21 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::parser::*`
[INFO] [stdout]    --> src/exprparse.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     use crate::parser::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `filter` should have an upper camel case name
[INFO] [stdout]    --> src/filter.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 219 |     filter(Box<dyn Filter>),
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Filter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `field_ref` should have an upper camel case name
[INFO] [stdout]    --> src/filter.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 |     field_ref(Box<dyn FieldExpression>),
[INFO] [stdout]     |     ^^^^^^^^^ help: convert the identifier to upper camel case: `FieldRef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::record::*`
[INFO] [stdout]    --> src/ownedrecord.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |     use crate::record::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_record`
[INFO] [stdout]    --> src/main.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |     use crate::{print_record, run_sql};
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/filter.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |         let mut filter = TestFilter {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `field_type`
[INFO] [stdout]    --> src/parsedrecord.rs:218:30
[INFO] [stdout]     |
[INFO] [stdout] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         Some((context, LexItem::Punctuation(Punctuation::Comma))) => {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser.rs:103:31
[INFO] [stdout]     |
[INFO] [stdout] 103 |                         Some((context, LexItem::KW(Keyword::FromKW))) => {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |             if let Some((context, LexItem::KW(Keyword::Where))) = input.get(next_offset) {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut compile_result = compiler::compile(sql_text)?;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn get_header(data: &[u8]) -> MarcHeader {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn get_header(data: &[u8]) -> MarcHeader<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_NOT` should have a snake case name
[INFO] [stdout]   --> src/exprparse.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn parse_NOT<'a>(
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `parse_not`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_TERM` should have a snake case name
[INFO] [stdout]    --> src/exprparse.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn parse_TERM<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `parse_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_COLUMN_EXPR` should have a snake case name
[INFO] [stdout]    --> src/exprparse.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn parse_COLUMN_EXPR<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_column_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_OR` should have a snake case name
[INFO] [stdout]    --> src/exprparse.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn parse_OR<'a>(
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case: `parse_or`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lexer.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn lex(input: &str) -> Result<Vec<(ItemContext, LexItem)>, String> {
[INFO] [stdout]    |                   ^^^^ the lifetime is elided here  ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn lex(input: &str) -> Result<Vec<(ItemContext, LexItem<'_>)>, String> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/marcrecord.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(data: &'s [u8]) -> MarcHeader {
[INFO] [stdout]    |                       --          ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'s`
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn new(data: &'s [u8]) -> MarcHeader<'s> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/marcrecord.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_entry(&self, i: usize) -> MarcDirectoryEntryRef {
[INFO] [stdout]    |                      ^^^^^               ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_entry(&self, i: usize) -> MarcDirectoryEntryRef<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/marcrecord.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/marcrecord.rs:219:23
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ownedrecord.rs:72:23
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/ownedrecord.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn field_iter(&self, field_types: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here                             ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn field_iter(&self, field_types: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]    |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parsedrecord.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn get_field(&self, idx: usize) -> RecordField {
[INFO] [stdout]     |                      ^^^^^                 ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn get_field(&self, idx: usize) -> RecordField<'_> {
[INFO] [stdout]     |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parsedrecord.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 214 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parsedrecord.rs:218:23
[INFO] [stdout]     |
[INFO] [stdout] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stdout]     |                       ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stdout]     |                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `str` should have an upper case name
[INFO] [stdout]    --> src/parsedrecord.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 |     static str : &[u8]= "00827nz  a2200241nc 4500\
[INFO] [stdout]     |            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 266 -     static str : &[u8]= "00827nz  a2200241nc 4500\
[INFO] [stdout] 266 +     static STR : &[u8]= "00827nz  a2200241nc 4500\
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/parser.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn parse(input: &str) -> Result<ParseNode, String> {
[INFO] [stdout]    |                     ^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn parse(input: &str) -> Result<ParseNode<'_>, String> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_SELECT` should have a snake case name
[INFO] [stdout]   --> src/parser.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn parse_SELECT<'a>(
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_select`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/record.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_>;
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_>;
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/record.rs:43:23
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_>;
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_>;
[INFO] [stdout]    |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized + debuginfo] target(s) in 4.91s
[INFO] running `"docker" "inspect" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused import: `crate::parser::*`
[INFO] [stderr]    --> src/exprparse.rs:213:9
[INFO] [stderr]     |
[INFO] [stderr] 213 |     use crate::parser::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `filter` should have an upper camel case name
[INFO] [stderr]    --> src/filter.rs:219:5
[INFO] [stderr]     |
[INFO] [stderr] 219 |     filter(Box<dyn Filter>),
[INFO] [stderr]     |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Filter`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `field_ref` should have an upper camel case name
[INFO] [stderr]    --> src/filter.rs:220:5
[INFO] [stderr]     |
[INFO] [stderr] 220 |     field_ref(Box<dyn FieldExpression>),
[INFO] [stderr]     |     ^^^^^^^^^ help: convert the identifier to upper camel case: `FieldRef`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::record::*`
[INFO] [stderr]    --> src/ownedrecord.rs:113:9
[INFO] [stderr]     |
[INFO] [stderr] 113 |     use crate::record::*;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `print_record`
[INFO] [stderr]    --> src/main.rs:230:17
[INFO] [stderr]     |
[INFO] [stderr] 230 |     use crate::{print_record, run_sql};
[INFO] [stderr]     |                 ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/filter.rs:346:13
[INFO] [stderr]     |
[INFO] [stderr] 346 |         let mut filter = TestFilter {
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `field_type`
[INFO] [stderr]    --> src/parsedrecord.rs:218:30
[INFO] [stderr]     |
[INFO] [stderr] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]     |                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_type`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `context`
[INFO] [stderr]    --> src/parser.rs:100:31
[INFO] [stderr]     |
[INFO] [stderr] 100 |                         Some((context, LexItem::Punctuation(Punctuation::Comma))) => {
[INFO] [stderr]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `context`
[INFO] [stderr]    --> src/parser.rs:103:31
[INFO] [stderr]     |
[INFO] [stderr] 103 |                         Some((context, LexItem::KW(Keyword::FromKW))) => {
[INFO] [stderr]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `context`
[INFO] [stderr]    --> src/parser.rs:125:26
[INFO] [stderr]     |
[INFO] [stderr] 125 |             if let Some((context, LexItem::KW(Keyword::Where))) = input.get(next_offset) {
[INFO] [stderr]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:52:9
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let mut compile_result = compiler::compile(sql_text)?;
[INFO] [stderr]    |         ----^^^^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/main.rs:25:21
[INFO] [stderr]    |
[INFO] [stderr] 25 | fn get_header(data: &[u8]) -> MarcHeader {
[INFO] [stderr]    |                     ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 25 | fn get_header(data: &[u8]) -> MarcHeader<'_> {
[INFO] [stderr]    |                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_NOT` should have a snake case name
[INFO] [stderr]   --> src/exprparse.rs:81:4
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn parse_NOT<'a>(
[INFO] [stderr]    |    ^^^^^^^^^ help: convert the identifier to snake case: `parse_not`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_TERM` should have a snake case name
[INFO] [stderr]    --> src/exprparse.rs:132:4
[INFO] [stderr]     |
[INFO] [stderr] 132 | fn parse_TERM<'a>(
[INFO] [stderr]     |    ^^^^^^^^^^ help: convert the identifier to snake case: `parse_term`
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_COLUMN_EXPR` should have a snake case name
[INFO] [stderr]    --> src/exprparse.rs:172:4
[INFO] [stderr]     |
[INFO] [stderr] 172 | fn parse_COLUMN_EXPR<'a>(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_column_expr`
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_OR` should have a snake case name
[INFO] [stderr]    --> src/exprparse.rs:191:8
[INFO] [stderr]     |
[INFO] [stderr] 191 | pub fn parse_OR<'a>(
[INFO] [stderr]     |        ^^^^^^^^ help: convert the identifier to snake case: `parse_or`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/lexer.rs:59:19
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub fn lex(input: &str) -> Result<Vec<(ItemContext, LexItem)>, String> {
[INFO] [stderr]    |                   ^^^^ the lifetime is elided here  ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub fn lex(input: &str) -> Result<Vec<(ItemContext, LexItem<'_>)>, String> {
[INFO] [stderr]    |                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/marcrecord.rs:27:35
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub fn new(data: &'s [u8]) -> MarcHeader {
[INFO] [stderr]    |                       --          ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       the lifetime is named here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'s`
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub fn new(data: &'s [u8]) -> MarcHeader<'s> {
[INFO] [stderr]    |                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/marcrecord.rs:66:22
[INFO] [stderr]    |
[INFO] [stderr] 66 |     pub fn get_entry(&self, i: usize) -> MarcDirectoryEntryRef {
[INFO] [stderr]    |                      ^^^^^               ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 66 |     pub fn get_entry(&self, i: usize) -> MarcDirectoryEntryRef<'_> {
[INFO] [stderr]    |                                                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/marcrecord.rs:215:19
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]     |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stderr]     |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/marcrecord.rs:219:23
[INFO] [stderr]     |
[INFO] [stderr] 219 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]     |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 219 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stderr]     |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/ownedrecord.rs:72:23
[INFO] [stderr]    |
[INFO] [stderr] 72 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]    |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 72 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stderr]    |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/ownedrecord.rs:80:19
[INFO] [stderr]    |
[INFO] [stderr] 80 |     fn field_iter(&self, field_types: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]    |                   ^^^^^ the lifetime is elided here                             ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 80 |     fn field_iter(&self, field_types: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stderr]    |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/parsedrecord.rs:205:22
[INFO] [stderr]     |
[INFO] [stderr] 205 |     pub fn get_field(&self, idx: usize) -> RecordField {
[INFO] [stderr]     |                      ^^^^^                 ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 205 |     pub fn get_field(&self, idx: usize) -> RecordField<'_> {
[INFO] [stderr]     |                                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/parsedrecord.rs:214:19
[INFO] [stderr]     |
[INFO] [stderr] 214 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]     |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 214 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stderr]     |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/parsedrecord.rs:218:23
[INFO] [stderr]     |
[INFO] [stderr] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_> {
[INFO] [stderr]     |                       ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 218 |     fn field_iter_vec(&self, field_type: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_> {
[INFO] [stderr]     |                                                                                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `str` should have an upper case name
[INFO] [stderr]    --> src/parsedrecord.rs:266:12
[INFO] [stderr]     |
[INFO] [stderr] 266 |     static str : &[u8]= "00827nz  a2200241nc 4500\
[INFO] [stderr]     |            ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]     |
[INFO] [stderr] 266 -     static str : &[u8]= "00827nz  a2200241nc 4500\
[INFO] [stderr] 266 +     static STR : &[u8]= "00827nz  a2200241nc 4500\
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/parser.rs:64:21
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub fn parse(input: &str) -> Result<ParseNode, String> {
[INFO] [stderr]    |                     ^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub fn parse(input: &str) -> Result<ParseNode<'_>, String> {
[INFO] [stderr]    |                                              ++++
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_SELECT` should have a snake case name
[INFO] [stderr]   --> src/parser.rs:79:4
[INFO] [stderr]    |
[INFO] [stderr] 79 | fn parse_SELECT<'a>(
[INFO] [stderr]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_select`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/record.rs:42:19
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField> + '_>;
[INFO] [stderr]    |                   ^^^^^ the lifetime is elided here                            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn field_iter(&self, field_type: Option<usize>) -> Box<dyn Iterator<Item = RecordField<'_>> + '_>;
[INFO] [stderr]    |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/record.rs:43:23
[INFO] [stderr]    |
[INFO] [stderr] 43 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField> + '_>;
[INFO] [stderr]    |                       ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 43 |     fn field_iter_vec(&self, field_types: &[usize]) -> Box<dyn Iterator<Item = RecordField<'_>> + '_>;
[INFO] [stderr]    |                                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `marc21` (bin "marc21" test) generated 31 warnings (run `cargo fix --bin "marc21" -p marc21 --tests` to apply 24 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/marc21/32fba8565bd289e7/out/marc21-32fba8565bd289e7)
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test filter::test::test_regex ... ok
[INFO] [stdout] test exprparse::test::test_parse1 ... ok
[INFO] [stdout] test lexer::tests::test_extract_regex_str ... ok
[INFO] [stdout] test marcrecord::tests::conv_back ... ok
[INFO] [stdout] test marcrecord::tests::read_one ... ok
[INFO] [stdout] test ownedrecord::tests::conv_back ... ok
[INFO] [stdout] test exprparse::test::test_parse4 ... ok
[INFO] [stdout] test parsedrecord::tests::parse_one ... ok
[INFO] [stdout] test exprparse::test::test_parse2 ... ok
[INFO] [stdout] test lexer::tests::test_tokenize1 ... ok
[INFO] [stdout] test parser::test::parse_where1 ... ok
[INFO] [stdout] test filter::test::test_filter ... ok
[INFO] [stdout] test exprparse::test::test_parse5 ... ok
[INFO] [stdout] test parser::test::parse_select ... ok
[INFO] [stdout] test test::test_is_null_expr ... ok
[INFO] [stdout] test lexer::tests::test_tokenize ... ok
[INFO] [stdout] test parser::test::parse_where2 ... ok
[INFO] [stdout] test test::test_not_null_expr ... ok
[INFO] [stdout] test exprparse::test::test_parse3 ... ok
[INFO] [stdout] test test::test_not ... ok
[INFO] [stdout] test test::test_select_2 ... ok
[INFO] [stdout] test test::test_is_null_field_ref ... ok
[INFO] [stdout] test test::test_select ... ok
[INFO] [stdout] test test::test_not_null_field_ref ... ok
[INFO] [stdout] test test::test_select_star ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] running `"docker" "rm" "-f" "95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df"`
[INFO] [stdout] 95fc3cc9e654f4320f25eed9f3730faad93f74c8ecfce472fbfd70d18d5a70df
