[INFO] cloning repository https://github.com/nock24/nickdb-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nock24/nickdb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnock24%2Fnickdb-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnock24%2Fnickdb-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bab6494ba8828863468937d88685c90cdda3a56f [INFO] building nock24/nickdb-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnock24%2Fnickdb-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nock24/nickdb-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nock24/nickdb-rs [INFO] finished tweaking git repo https://github.com/nock24/nickdb-rs [INFO] tweaked toml for git repo https://github.com/nock24/nickdb-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nock24/nickdb-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b5ebf6fb3f7ea23a4f973195d8659260a888b1cda06cbc58acbf9428f6b016 [INFO] running `Command { std: "docker" "start" "-a" "08b5ebf6fb3f7ea23a4f973195d8659260a888b1cda06cbc58acbf9428f6b016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b5ebf6fb3f7ea23a4f973195d8659260a888b1cda06cbc58acbf9428f6b016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b5ebf6fb3f7ea23a4f973195d8659260a888b1cda06cbc58acbf9428f6b016", kill_on_drop: false }` [INFO] [stdout] 08b5ebf6fb3f7ea23a4f973195d8659260a888b1cda06cbc58acbf9428f6b016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 225b7385a4eed1a43e4daa3b8fb538edae43d44c054aa4a16efe2d20c8f5de15 [INFO] running `Command { std: "docker" "start" "-a" "225b7385a4eed1a43e4daa3b8fb538edae43d44c054aa4a16efe2d20c8f5de15", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling nickdb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/db.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> DB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn iter(&'a self) -> impl Iterator)> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/record.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Record<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn iter(&'a self) -> impl Iterator)> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | TableError(TableError), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | TableError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_table` and `add_record` are never used [INFO] [stdout] --> src/db.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> DB<'a> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_table(&'a self, table_name: &'a str) -> Option<&'a Table<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_record(&mut self, table_name: &'a str, record: Record<'a>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_field_as_value`, `get_mut_field_as_value`, `get_field`, `contains_field`, and `field_cnt` are never used [INFO] [stdout] --> src/record.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Record<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_field_as_value(&mut self, field_name: &'a str, value: Value<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_mut_field_as_value(&'a mut self, field_name: &'a str) -> Option<&'a mut Value<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_field(&'a self, field_name: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn contains_field(&'a self, field_name: &'a str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn field_cnt(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GreaterThan`, `EqualTo`, and `LessThan` are never constructed [INFO] [stdout] --> src/table.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Operator { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 19 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | EqualTo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_comp_func` is never used [INFO] [stdout] --> src/table.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_comp_func(operator: Operator) -> fn(&T, &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/table.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> Table<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn remove_record(&mut self, idx: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_record(&'a self, idx: usize) -> Option<&'a Record<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_field(&'a self, record_idx: usize, field_name: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn change_field( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_fields(&'a self, field_names: Vec<&'a str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_records_where( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_records_where_eql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "225b7385a4eed1a43e4daa3b8fb538edae43d44c054aa4a16efe2d20c8f5de15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225b7385a4eed1a43e4daa3b8fb538edae43d44c054aa4a16efe2d20c8f5de15", kill_on_drop: false }` [INFO] [stdout] 225b7385a4eed1a43e4daa3b8fb538edae43d44c054aa4a16efe2d20c8f5de15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68fcf83686199191ffdd2f4579f7934cff03880d30eb8f48a27ef1f0bb7c47a5 [INFO] running `Command { std: "docker" "start" "-a" "68fcf83686199191ffdd2f4579f7934cff03880d30eb8f48a27ef1f0bb7c47a5", kill_on_drop: false }` [INFO] [stderr] Compiling nickdb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/db.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> DB<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn iter(&'a self) -> impl Iterator)> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/record.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Record<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn iter(&'a self) -> impl Iterator)> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | TableError(TableError), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | TableError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_table` and `add_record` are never used [INFO] [stdout] --> src/db.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> DB<'a> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_table(&'a self, table_name: &'a str) -> Option<&'a Table<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_record(&mut self, table_name: &'a str, record: Record<'a>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_field_as_value`, `get_mut_field_as_value`, `get_field`, `contains_field`, and `field_cnt` are never used [INFO] [stdout] --> src/record.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Record<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_field_as_value(&mut self, field_name: &'a str, value: Value<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_mut_field_as_value(&'a mut self, field_name: &'a str) -> Option<&'a mut Value<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_field(&'a self, field_name: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn contains_field(&'a self, field_name: &'a str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn field_cnt(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GreaterThan`, `EqualTo`, and `LessThan` are never constructed [INFO] [stdout] --> src/table.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Operator { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 19 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | EqualTo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_comp_func` is never used [INFO] [stdout] --> src/table.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_comp_func(operator: Operator) -> fn(&T, &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/table.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> Table<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn remove_record(&mut self, idx: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_record(&'a self, idx: usize) -> Option<&'a Record<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_field(&'a self, record_idx: usize, field_name: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn change_field( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_fields(&'a self, field_names: Vec<&'a str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_records_where( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_records_where_eql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "68fcf83686199191ffdd2f4579f7934cff03880d30eb8f48a27ef1f0bb7c47a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fcf83686199191ffdd2f4579f7934cff03880d30eb8f48a27ef1f0bb7c47a5", kill_on_drop: false }` [INFO] [stdout] 68fcf83686199191ffdd2f4579f7934cff03880d30eb8f48a27ef1f0bb7c47a5