[INFO] cloning repository https://github.com/zhxiaogg/rdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhxiaogg/rdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhxiaogg%2Frdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhxiaogg%2Frdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16fbc288c87c630c1843b2ea6e14f07f00ba0345 [INFO] building zhxiaogg/rdb 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%2Fzhxiaogg%2Frdb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhxiaogg/rdb 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/zhxiaogg/rdb [INFO] finished tweaking git repo https://github.com/zhxiaogg/rdb [INFO] tweaked toml for git repo https://github.com/zhxiaogg/rdb written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhxiaogg/rdb 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2c6f4c50fec2b12c50e564b333f12903e0ab69359e89863fd6fa4ee6de2b47e5 [INFO] running `Command { std: "docker" "start" "-a" "2c6f4c50fec2b12c50e564b333f12903e0ab69359e89863fd6fa4ee6de2b47e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6f4c50fec2b12c50e564b333f12903e0ab69359e89863fd6fa4ee6de2b47e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6f4c50fec2b12c50e564b333f12903e0ab69359e89863fd6fa4ee6de2b47e5", kill_on_drop: false }` [INFO] [stdout] 2c6f4c50fec2b12c50e564b333f12903e0ab69359e89863fd6fa4ee6de2b47e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 05997ff4d10a4d64f45b616a95bb6dd43ce7a8d6e00ef42408e9c428c74f364d [INFO] running `Command { std: "docker" "start" "-a" "05997ff4d10a4d64f45b616a95bb6dd43ce7a8d6e00ef42408e9c428c74f364d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling rdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/table/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | (self.cell_index >= (page.get_num_cells() as usize) && !page.has_next_page()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 140 - (self.cell_index >= (page.get_num_cells() as usize) && !page.has_next_page()) [INFO] [stdout] 140 + self.cell_index >= (page.get_num_cells() as usize) && !page.has_next_page() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sql::SQLType` [INFO] [stdout] --> src/vm/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sql::SQLType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::codegen::OpCode` [INFO] [stdout] --> src/vm/row_buf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::codegen::OpCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/sql/mod.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::{alphanumeric, IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IResult` [INFO] [stdout] --> src/sql/operands.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nom::{alphanumeric, digit, IResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/btree.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let mut new_cell_index = match inserted { [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: unused variable: `table` [INFO] [stdout] --> src/vm/codegen.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ref table, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/vm/codegen.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | &Operand::String(ref str) => Some(SQLType::String), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/vm/codegen.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | &Operand::Column(ref column) => panic!("not implemented"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/vm/row_buf.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RowBuf { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/vm/codegen.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Exit(ErrCode), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/pager.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | }).clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "05997ff4d10a4d64f45b616a95bb6dd43ce7a8d6e00ef42408e9c428c74f364d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05997ff4d10a4d64f45b616a95bb6dd43ce7a8d6e00ef42408e9c428c74f364d", kill_on_drop: false }` [INFO] [stdout] 05997ff4d10a4d64f45b616a95bb6dd43ce7a8d6e00ef42408e9c428c74f364d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 35dabe4f86725de02faf662898f6ec755babf6383635653ff739f6abf9fab25f [INFO] running `Command { std: "docker" "start" "-a" "35dabe4f86725de02faf662898f6ec755babf6383635653ff739f6abf9fab25f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/table/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | (self.cell_index >= (page.get_num_cells() as usize) && !page.has_next_page()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 140 - (self.cell_index >= (page.get_num_cells() as usize) && !page.has_next_page()) [INFO] [stdout] 140 + self.cell_index >= (page.get_num_cells() as usize) && !page.has_next_page() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sql::SQLType` [INFO] [stdout] --> src/vm/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sql::SQLType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::codegen::OpCode` [INFO] [stdout] --> src/vm/row_buf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::codegen::OpCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/btree.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let mut new_cell_index = match inserted { [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: unused variable: `table` [INFO] [stdout] --> src/vm/codegen.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ref table, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> src/vm/codegen.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | &Operand::String(ref str) => Some(SQLType::String), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/vm/codegen.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | &Operand::Column(ref column) => panic!("not implemented"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/vm/row_buf.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl RowBuf { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exit` is never constructed [INFO] [stdout] --> src/vm/codegen.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Exit(ErrCode), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/pager.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | }).clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "35dabe4f86725de02faf662898f6ec755babf6383635653ff739f6abf9fab25f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35dabe4f86725de02faf662898f6ec755babf6383635653ff739f6abf9fab25f", kill_on_drop: false }` [INFO] [stdout] 35dabe4f86725de02faf662898f6ec755babf6383635653ff739f6abf9fab25f