[INFO] cloning repository https://github.com/enbyted/codecrafters-sqlite-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enbyted/codecrafters-sqlite-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenbyted%2Fcodecrafters-sqlite-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenbyted%2Fcodecrafters-sqlite-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a68ffc80ec6471f2b76869d56fd186b2292cb51b [INFO] testing enbyted/codecrafters-sqlite-rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenbyted%2Fcodecrafters-sqlite-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/enbyted/codecrafters-sqlite-rust [INFO] finished tweaking git repo https://github.com/enbyted/codecrafters-sqlite-rust [INFO] tweaked toml for git repo https://github.com/enbyted/codecrafters-sqlite-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/enbyted/codecrafters-sqlite-rust on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/enbyted/codecrafters-sqlite-rust 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7c1a67c85e37861e7cba1c043f0fa7ff29b3e60ba6341e4ad5193ca4796e8f9 [INFO] running `Command { std: "docker" "start" "-a" "c7c1a67c85e37861e7cba1c043f0fa7ff29b3e60ba6341e4ad5193ca4796e8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7c1a67c85e37861e7cba1c043f0fa7ff29b3e60ba6341e4ad5193ca4796e8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c1a67c85e37861e7cba1c043f0fa7ff29b3e60ba6341e4ad5193ca4796e8f9", kill_on_drop: false }` [INFO] [stdout] c7c1a67c85e37861e7cba1c043f0fa7ff29b3e60ba6341e4ad5193ca4796e8f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8bd7d29ed6b9b0ba85f57dd0fd2cdded716b13af9d9c9cb0835c2589b426e87a [INFO] running `Command { std: "docker" "start" "-a" "8bd7d29ed6b9b0ba85f57dd0fd2cdded716b13af9d9c9cb0835c2589b426e87a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling peg v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling sqlite-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rowid` [INFO] [stdout] --> src/db/table.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_row(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rowid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/db/index.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Index<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | database: &'a Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Index` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rowid` is never read [INFO] [stdout] --> src/db/page/btree.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) struct TableInteriorCellData { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 150 | left_page: u32, [INFO] [stdout] 151 | rowid: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInteriorCellData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rowid` is never used [INFO] [stdout] --> src/db/page/btree.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 154 | impl TableInteriorCellData { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub(crate) fn rowid(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/header.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(data: &[u8]) -> ParseResult [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(data: &[u8]) -> ParseResult<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/header.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(data: &[u8]) -> ParseResult
{ [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(data: &[u8]) -> ParseResult<'_, Header> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn read(&self, db: &Database) -> Result> { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn read(&self, db: &Database) -> Result<'_, Cow<'_, [u8]>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult> { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, LeafCellData<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, TableInteriorCellData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | data: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 243 | ) -> ParseResult { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 243 | ) -> ParseResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | data: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> ParseResult [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | ) -> ParseResult<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult<'_, i64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.59s [INFO] running `Command { std: "docker" "inspect" "8bd7d29ed6b9b0ba85f57dd0fd2cdded716b13af9d9c9cb0835c2589b426e87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd7d29ed6b9b0ba85f57dd0fd2cdded716b13af9d9c9cb0835c2589b426e87a", kill_on_drop: false }` [INFO] [stdout] 8bd7d29ed6b9b0ba85f57dd0fd2cdded716b13af9d9c9cb0835c2589b426e87a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 41a9148ee64395504fa7f8ec83ec4266b04f353c65a9ecc6a2c41573a43f5e21 [INFO] running `Command { std: "docker" "start" "-a" "41a9148ee64395504fa7f8ec83ec4266b04f353c65a9ecc6a2c41573a43f5e21", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `rowid` [INFO] [stdout] --> src/db/table.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_row(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rowid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/db/index.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Index<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | database: &'a Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Index` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rowid` is never read [INFO] [stdout] --> src/db/page/btree.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) struct TableInteriorCellData { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 150 | left_page: u32, [INFO] [stdout] 151 | rowid: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInteriorCellData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rowid` is never used [INFO] [stdout] --> src/db/page/btree.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 154 | impl TableInteriorCellData { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub(crate) fn rowid(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/header.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(data: &[u8]) -> ParseResult [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(data: &[u8]) -> ParseResult<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/header.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(data: &[u8]) -> ParseResult
{ [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(data: &[u8]) -> ParseResult<'_, Header> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn read(&self, db: &Database) -> Result> { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn read(&self, db: &Database) -> Result<'_, Cow<'_, [u8]>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult> { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, LeafCellData<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, TableInteriorCellData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | data: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 243 | ) -> ParseResult { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 243 | ) -> ParseResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | data: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> ParseResult [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | ) -> ParseResult<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlite-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult<'_, i64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rowid` [INFO] [stdout] --> src/db/table.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_row(&self, rowid: i64) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rowid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/db/index.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Index<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | database: &'a Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Index` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rowid` is never read [INFO] [stdout] --> src/db/page/btree.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub(crate) struct TableInteriorCellData { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 150 | left_page: u32, [INFO] [stdout] 151 | rowid: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableInteriorCellData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rowid` is never used [INFO] [stdout] --> src/db/page/btree.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 154 | impl TableInteriorCellData { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub(crate) fn rowid(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/header.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(data: &[u8]) -> ParseResult [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(data: &[u8]) -> ParseResult<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/header.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(data: &[u8]) -> ParseResult
{ [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 152 | fn parse(data: &[u8]) -> ParseResult<'_, Header> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn read(&self, db: &Database) -> Result> { [INFO] [stdout] | ^^^^^ ----------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn read(&self, db: &Database) -> Result<'_, Cow<'_, [u8]>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult> { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, LeafCellData<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, TableInteriorCellData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/page/btree.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | data: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 243 | ) -> ParseResult { [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 243 | ) -> ParseResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | data: &'a [u8], [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> ParseResult [INFO] [stdout] | ----------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | ) -> ParseResult<'a, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 39 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 63 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db/parse.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult<'_, i64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "41a9148ee64395504fa7f8ec83ec4266b04f353c65a9ecc6a2c41573a43f5e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a9148ee64395504fa7f8ec83ec4266b04f353c65a9ecc6a2c41573a43f5e21", kill_on_drop: false }` [INFO] [stdout] 41a9148ee64395504fa7f8ec83ec4266b04f353c65a9ecc6a2c41573a43f5e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c35e8bcdda72f63db0867a2a8c29ec2266cc2788c8556132d325d5fd38213801 [INFO] running `Command { std: "docker" "start" "-a" "c35e8bcdda72f63db0867a2a8c29ec2266cc2788c8556132d325d5fd38213801", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `rowid` [INFO] [stderr] --> src/db/table.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_row(&self, rowid: i64) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rowid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `database` is never read [INFO] [stderr] --> src/db/index.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Index<'a> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 11 | database: &'a Database, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Index` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `rowid` is never read [INFO] [stderr] --> src/db/page/btree.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 149 | pub(crate) struct TableInteriorCellData { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 150 | left_page: u32, [INFO] [stderr] 151 | rowid: i64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TableInteriorCellData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `rowid` is never used [INFO] [stderr] --> src/db/page/btree.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 154 | impl TableInteriorCellData { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 159 | pub(crate) fn rowid(&self) -> i64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/header.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn parse(data: &[u8]) -> ParseResult [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 13 | fn parse(data: &[u8]) -> ParseResult<'_, Self> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/header.rs:152:20 [INFO] [stderr] | [INFO] [stderr] 152 | fn parse(data: &[u8]) -> ParseResult
{ [INFO] [stderr] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 152 | fn parse(data: &[u8]) -> ParseResult<'_, Header> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/page/btree.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) fn read(&self, db: &Database) -> Result> { [INFO] [stderr] | ^^^^^ ----------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) fn read(&self, db: &Database) -> Result<'_, Cow<'_, [u8]>> { [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/page/btree.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult> { [INFO] [stderr] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 43 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, LeafCellData<'a>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/page/btree.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult { [INFO] [stderr] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 165 | pub(crate) fn read_cell(&self, index: usize) -> ParseResult<'_, TableInteriorCellData> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/page/btree.rs:240:16 [INFO] [stderr] | [INFO] [stderr] 240 | data: &'a [u8], [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 243 | ) -> ParseResult { [INFO] [stderr] | ----------------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 243 | ) -> ParseResult<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | data: &'a [u8], [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 30 | ) -> ParseResult [INFO] [stderr] | ----------------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 30 | ) -> ParseResult<'a, Self> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 39 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 75 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | fn parse(data: &[u8]) -> ParseResult { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 87 | fn parse(data: &[u8]) -> ParseResult<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db/parse.rs:100:34 [INFO] [stderr] | [INFO] [stderr] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 100 | pub(crate) fn parse_varint(data: &[u8]) -> ParseResult<'_, i64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `sqlite-starter-rust` (lib) generated 17 warnings (run `cargo fix --lib -p sqlite-starter-rust` to apply 13 suggestions) [INFO] [stderr] warning: `sqlite-starter-rust` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sqlite_starter_rust-ca46e6176ec24333) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sqlite_starter_rust-72d50f56000b0e85) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c35e8bcdda72f63db0867a2a8c29ec2266cc2788c8556132d325d5fd38213801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35e8bcdda72f63db0867a2a8c29ec2266cc2788c8556132d325d5fd38213801", kill_on_drop: false }` [INFO] [stdout] c35e8bcdda72f63db0867a2a8c29ec2266cc2788c8556132d325d5fd38213801