[INFO] fetching crate nut 0.1.0... [INFO] testing nut-0.1.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate nut 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate nut 0.1.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nut 0.1.0 [INFO] finished tweaking crates.io crate nut 0.1.0 [INFO] tweaked toml for crates.io crate nut 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9abf77fc1db86ca4093993e302cb64c72de838d328ab98b4c204745f286bc0d7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9abf77fc1db86ca4093993e302cb64c72de838d328ab98b4c204745f286bc0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9abf77fc1db86ca4093993e302cb64c72de838d328ab98b4c204745f286bc0d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abf77fc1db86ca4093993e302cb64c72de838d328ab98b4c204745f286bc0d7", kill_on_drop: false }` [INFO] [stdout] 9abf77fc1db86ca4093993e302cb64c72de838d328ab98b4c204745f286bc0d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fea8dab895fa92a7868f88d975ba9efc1f9fc3ed2a3f3f29cc657b1df2bc440 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6fea8dab895fa92a7868f88d975ba9efc1f9fc3ed2a3f3f29cc657b1df2bc440", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling poolcache v0.1.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling page_size v0.4.2 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hexdump v0.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling nut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tx/tx.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) commit_handlers: Mutex ()>>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tx/tx.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn on_commit(&mut self, handler: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/meta/mod.rs:111:65 [INFO] [stdout] | [INFO] [stdout] 111 | std::slice::from_raw_parts(self as *const Self as *const u8, offset_of!(Meta, checksum)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/page/mod.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | offset_of!(Page, ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bucket/bucket.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 707 | | "pgid ({}) above high water mark ({})", [INFO] [stdout] 708 | | pgid, txpgid [INFO] [stdout] 709 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 706 | panic!( [INFO] [stdout] 707 | "pgid ({}) above high water mark ({})", [INFO] [stdout] 708 | pgid, txpgid [INFO] [stdout] 709 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bucket/cursor.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(format!("invalid page type: {}: {}", p.id, p.flags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 56 | panic!("invalid page type: {}: {}", p.id, p.flags); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/freelist/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | panic!(format!("invalid page allocation: {}", pgid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 | panic!("invalid page allocation: {}", pgid); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | panic!(format!("pgid ({}) above high water mark ({})", id, txid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 253 | panic!("pgid ({}) above high water mark ({})", id, txid) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:549:11 [INFO] [stdout] | [INFO] [stdout] 549 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 550 | | "pgid ({}) above high water mark ({})", [INFO] [stdout] 551 | | pgid, meta_pgid [INFO] [stdout] 552 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 549 | panic!( [INFO] [stdout] 550 | "pgid ({}) above high water mark ({})", [INFO] [stdout] 551 | pgid, meta_pgid [INFO] [stdout] 552 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:605:11 [INFO] [stdout] | [INFO] [stdout] 605 | panic!(format!("inode overflow: {} (pgid={})", inodes.len(), p.id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 605 | panic!("inode overflow: {} (pgid={})", inodes.len(), p.id); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Branches` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | const Branches = 0b00001; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Leaves` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | const Leaves = 0b00010; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `LEAVES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Meta` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | const Meta = 0b00100; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `META` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Freelist` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | const Freelist = 0b10000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `FREELIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Branches` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | const Branches = 0b00001; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `No` should have an upper case name [INFO] [stdout] --> src/db/db.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | const No = 0b0000; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `NO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Close` should have an upper case name [INFO] [stdout] --> src/db/db.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | const Close = 0b0001; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CLOSE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Read` should have an upper case name [INFO] [stdout] --> src/db/db.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | const Read = 0b0010; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `READ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Write` should have an upper case name [INFO] [stdout] --> src/db/db.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | const Write = 0b0100; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WRITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `All` should have an upper case name [INFO] [stdout] --> src/db/db.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | const All = 0b0111; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ALL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Strict` should have an upper case name [INFO] [stdout] --> src/db/db.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | const Strict = 0b1000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRICT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Strong` should have an upper case name [INFO] [stdout] --> src/db/db.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | const Strong = 0b1101; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Paranoid` should have an upper case name [INFO] [stdout] --> src/db/db.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | const Paranoid = 0b1111; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `PARANOID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/nut.rs:181:36 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|_| "Can't read file")?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.01s [INFO] running `Command { std: "docker" "inspect" "6fea8dab895fa92a7868f88d975ba9efc1f9fc3ed2a3f3f29cc657b1df2bc440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fea8dab895fa92a7868f88d975ba9efc1f9fc3ed2a3f3f29cc657b1df2bc440", kill_on_drop: false }` [INFO] [stdout] 6fea8dab895fa92a7868f88d975ba9efc1f9fc3ed2a3f3f29cc657b1df2bc440 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c90471aadc5839e990125a004db415cd016b2ba5039af9ed9a7f9a3c99c24c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "36c90471aadc5839e990125a004db415cd016b2ba5039af9ed9a7f9a3c99c24c", kill_on_drop: false }` [INFO] [stderr] Compiling nut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tx/tx.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) commit_handlers: Mutex ()>>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tx/tx.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn on_commit(&mut self, handler: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/meta/mod.rs:111:65 [INFO] [stdout] | [INFO] [stdout] 111 | std::slice::from_raw_parts(self as *const Self as *const u8, offset_of!(Meta, checksum)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/page/mod.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | offset_of!(Page, ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bucket/bucket.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 707 | | "pgid ({}) above high water mark ({})", [INFO] [stdout] 708 | | pgid, txpgid [INFO] [stdout] 709 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 706 | panic!( [INFO] [stdout] 707 | "pgid ({}) above high water mark ({})", [INFO] [stdout] 708 | pgid, txpgid [INFO] [stdout] 709 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bucket/cursor.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(format!("invalid page type: {}: {}", p.id, p.flags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 56 | panic!("invalid page type: {}: {}", p.id, p.flags); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/freelist/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | panic!(format!("invalid page allocation: {}", pgid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 | panic!("invalid page allocation: {}", pgid); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | panic!(format!("pgid ({}) above high water mark ({})", id, txid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 253 | panic!("pgid ({}) above high water mark ({})", id, txid) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:549:11 [INFO] [stdout] | [INFO] [stdout] 549 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 550 | | "pgid ({}) above high water mark ({})", [INFO] [stdout] 551 | | pgid, meta_pgid [INFO] [stdout] 552 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 549 | panic!( [INFO] [stdout] 550 | "pgid ({}) above high water mark ({})", [INFO] [stdout] 551 | pgid, meta_pgid [INFO] [stdout] 552 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:605:11 [INFO] [stdout] | [INFO] [stdout] 605 | panic!(format!("inode overflow: {} (pgid={})", inodes.len(), p.id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 605 | panic!("inode overflow: {} (pgid={})", inodes.len(), p.id); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Branches` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | const Branches = 0b00001; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Leaves` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | const Leaves = 0b00010; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `LEAVES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Meta` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | const Meta = 0b00100; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `META` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Freelist` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | const Freelist = 0b10000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `FREELIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Branches` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | const Branches = 0b00001; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `No` should have an upper case name [INFO] [stdout] --> src/db/db.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | const No = 0b0000; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `NO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Close` should have an upper case name [INFO] [stdout] --> src/db/db.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | const Close = 0b0001; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CLOSE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Read` should have an upper case name [INFO] [stdout] --> src/db/db.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | const Read = 0b0010; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `READ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Write` should have an upper case name [INFO] [stdout] --> src/db/db.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | const Write = 0b0100; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WRITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `All` should have an upper case name [INFO] [stdout] --> src/db/db.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | const All = 0b0111; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ALL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Strict` should have an upper case name [INFO] [stdout] --> src/db/db.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | const Strict = 0b1000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRICT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Strong` should have an upper case name [INFO] [stdout] --> src/db/db.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | const Strong = 0b1101; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Paranoid` should have an upper case name [INFO] [stdout] --> src/db/db.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | const Paranoid = 0b1111; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `PARANOID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/nut.rs:181:36 [INFO] [stdout] | [INFO] [stdout] 181 | .map_err(|_| "Can't read file")?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tx/tx.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) commit_handlers: Mutex ()>>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tx/tx.rs:141:43 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn on_commit(&mut self, handler: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/meta/mod.rs:111:65 [INFO] [stdout] | [INFO] [stdout] 111 | std::slice::from_raw_parts(self as *const Self as *const u8, offset_of!(Meta, checksum)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/page/mod.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | offset_of!(Page, ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bucket/bucket.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 707 | | "pgid ({}) above high water mark ({})", [INFO] [stdout] 708 | | pgid, txpgid [INFO] [stdout] 709 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 706 | panic!( [INFO] [stdout] 707 | "pgid ({}) above high water mark ({})", [INFO] [stdout] 708 | pgid, txpgid [INFO] [stdout] 709 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bucket/cursor.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(format!("invalid page type: {}: {}", p.id, p.flags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 56 | panic!("invalid page type: {}: {}", p.id, p.flags); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/freelist/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | panic!(format!("invalid page allocation: {}", pgid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 | panic!("invalid page allocation: {}", pgid); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/tests.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | format!("{}", std::mem::size_of::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 | "{}", std::mem::size_of::() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | panic!(format!("pgid ({}) above high water mark ({})", id, txid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 253 | panic!("pgid ({}) above high water mark ({})", id, txid) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:549:11 [INFO] [stdout] | [INFO] [stdout] 549 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 550 | | "pgid ({}) above high water mark ({})", [INFO] [stdout] 551 | | pgid, meta_pgid [INFO] [stdout] 552 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 549 | panic!( [INFO] [stdout] 550 | "pgid ({}) above high water mark ({})", [INFO] [stdout] 551 | pgid, meta_pgid [INFO] [stdout] 552 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/node.rs:605:11 [INFO] [stdout] | [INFO] [stdout] 605 | panic!(format!("inode overflow: {} (pgid={})", inodes.len(), p.id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 605 | panic!("inode overflow: {} (pgid={})", inodes.len(), p.id); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Branches` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | const Branches = 0b00001; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Leaves` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | const Leaves = 0b00010; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `LEAVES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Meta` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | const Meta = 0b00100; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `META` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Freelist` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | const Freelist = 0b10000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `FREELIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Branches` should have an upper case name [INFO] [stdout] --> src/consts/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | const Branches = 0b00001; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `No` should have an upper case name [INFO] [stdout] --> src/db/db.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | const No = 0b0000; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `NO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Close` should have an upper case name [INFO] [stdout] --> src/db/db.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | const Close = 0b0001; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `CLOSE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Read` should have an upper case name [INFO] [stdout] --> src/db/db.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | const Read = 0b0010; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `READ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Write` should have an upper case name [INFO] [stdout] --> src/db/db.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | const Write = 0b0100; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WRITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `All` should have an upper case name [INFO] [stdout] --> src/db/db.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | const All = 0b0111; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ALL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Strict` should have an upper case name [INFO] [stdout] --> src/db/db.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | const Strict = 0b1000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRICT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Strong` should have an upper case name [INFO] [stdout] --> src/db/db.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | const Strong = 0b1101; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `STRONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Paranoid` should have an upper case name [INFO] [stdout] --> src/db/db.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | const Paranoid = 0b1111; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `PARANOID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "36c90471aadc5839e990125a004db415cd016b2ba5039af9ed9a7f9a3c99c24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c90471aadc5839e990125a004db415cd016b2ba5039af9ed9a7f9a3c99c24c", kill_on_drop: false }` [INFO] [stdout] 36c90471aadc5839e990125a004db415cd016b2ba5039af9ed9a7f9a3c99c24c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bbf26dd79ca20e79a7e6d754f5eb1b9bc876ea50b59d02d1df59f97e8fca0ca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4bbf26dd79ca20e79a7e6d754f5eb1b9bc876ea50b59d02d1df59f97e8fca0ca", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tx/tx.rs:50:44 [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) commit_handlers: Mutex ()>>>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tx/tx.rs:141:43 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn on_commit(&mut self, handler: Box ()>) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/meta/mod.rs:111:65 [INFO] [stderr] | [INFO] [stderr] 111 | std::slice::from_raw_parts(self as *const Self as *const u8, offset_of!(Meta, checksum)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/page/mod.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | offset_of!(Page, ptr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bucket/bucket.rs:706:12 [INFO] [stderr] | [INFO] [stderr] 706 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 707 | | "pgid ({}) above high water mark ({})", [INFO] [stderr] 708 | | pgid, txpgid [INFO] [stderr] 709 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 706 | panic!( [INFO] [stderr] 707 | "pgid ({}) above high water mark ({})", [INFO] [stderr] 708 | pgid, txpgid [INFO] [stderr] 709 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bucket/cursor.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | panic!(format!("invalid page type: {}: {}", p.id, p.flags)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 56 | panic!("invalid page type: {}: {}", p.id, p.flags); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/freelist/mod.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | panic!(format!("invalid page allocation: {}", pgid)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 80 | panic!("invalid page allocation: {}", pgid); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/node.rs:253:14 [INFO] [stderr] | [INFO] [stderr] 253 | panic!(format!("pgid ({}) above high water mark ({})", id, txid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 253 | panic!("pgid ({}) above high water mark ({})", id, txid) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/node.rs:549:11 [INFO] [stderr] | [INFO] [stderr] 549 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 550 | | "pgid ({}) above high water mark ({})", [INFO] [stderr] 551 | | pgid, meta_pgid [INFO] [stderr] 552 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 549 | panic!( [INFO] [stderr] 550 | "pgid ({}) above high water mark ({})", [INFO] [stderr] 551 | pgid, meta_pgid [INFO] [stderr] 552 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/node.rs:605:11 [INFO] [stderr] | [INFO] [stderr] 605 | panic!(format!("inode overflow: {} (pgid={})", inodes.len(), p.id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 605 | panic!("inode overflow: {} (pgid={})", inodes.len(), p.id); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: associated constant `Branches` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | const Branches = 0b00001; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `Leaves` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | const Leaves = 0b00010; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `LEAVES` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Meta` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | const Meta = 0b00100; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `META` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Freelist` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | const Freelist = 0b10000; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `FREELIST` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Branches` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | const Branches = 0b00001; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stderr] [INFO] [stderr] warning: associated constant `No` should have an upper case name [INFO] [stderr] --> src/db/db.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | const No = 0b0000; [INFO] [stderr] | ^^ help: convert the identifier to upper case (notice the capitalization): `NO` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Close` should have an upper case name [INFO] [stderr] --> src/db/db.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | const Close = 0b0001; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `CLOSE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Read` should have an upper case name [INFO] [stderr] --> src/db/db.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | const Read = 0b0010; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `READ` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Write` should have an upper case name [INFO] [stderr] --> src/db/db.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | const Write = 0b0100; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `WRITE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `All` should have an upper case name [INFO] [stderr] --> src/db/db.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | const All = 0b0111; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `ALL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Strict` should have an upper case name [INFO] [stderr] --> src/db/db.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | const Strict = 0b1000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `STRICT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Strong` should have an upper case name [INFO] [stderr] --> src/db/db.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | const Strong = 0b1101; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `STRONG` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Paranoid` should have an upper case name [INFO] [stderr] --> src/db/db.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | const Paranoid = 0b1111; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `PARANOID` [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tx/tx.rs:50:44 [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) commit_handlers: Mutex ()>>>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tx/tx.rs:141:43 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn on_commit(&mut self, handler: Box ()>) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/meta/mod.rs:111:65 [INFO] [stderr] | [INFO] [stderr] 111 | std::slice::from_raw_parts(self as *const Self as *const u8, offset_of!(Meta, checksum)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/page/mod.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | offset_of!(Page, ptr) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bucket/bucket.rs:706:12 [INFO] [stderr] | [INFO] [stderr] 706 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 707 | | "pgid ({}) above high water mark ({})", [INFO] [stderr] 708 | | pgid, txpgid [INFO] [stderr] 709 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 706 | panic!( [INFO] [stderr] 707 | "pgid ({}) above high water mark ({})", [INFO] [stderr] 708 | pgid, txpgid [INFO] [stderr] 709 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bucket/cursor.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | panic!(format!("invalid page type: {}: {}", p.id, p.flags)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 56 | panic!("invalid page type: {}: {}", p.id, p.flags); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/freelist/mod.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | panic!(format!("invalid page allocation: {}", pgid)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 80 | panic!("invalid page allocation: {}", pgid); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/tests.rs:73:3 [INFO] [stderr] | [INFO] [stderr] 73 | format!("{}", std::mem::size_of::()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 73 | "{}", std::mem::size_of::() [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/node.rs:253:14 [INFO] [stderr] | [INFO] [stderr] 253 | panic!(format!("pgid ({}) above high water mark ({})", id, txid)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 253 | panic!("pgid ({}) above high water mark ({})", id, txid) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/node.rs:549:11 [INFO] [stderr] | [INFO] [stderr] 549 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 550 | | "pgid ({}) above high water mark ({})", [INFO] [stderr] 551 | | pgid, meta_pgid [INFO] [stderr] 552 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 549 | panic!( [INFO] [stderr] 550 | "pgid ({}) above high water mark ({})", [INFO] [stderr] 551 | pgid, meta_pgid [INFO] [stderr] 552 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/node.rs:605:11 [INFO] [stderr] | [INFO] [stderr] 605 | panic!(format!("inode overflow: {} (pgid={})", inodes.len(), p.id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 605 | panic!("inode overflow: {} (pgid={})", inodes.len(), p.id); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: associated constant `Branches` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | const Branches = 0b00001; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `Leaves` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | const Leaves = 0b00010; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `LEAVES` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Meta` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | const Meta = 0b00100; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `META` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Freelist` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | const Freelist = 0b10000; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `FREELIST` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Branches` should have an upper case name [INFO] [stderr] --> src/consts/mod.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | const Branches = 0b00001; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `BRANCHES` [INFO] [stderr] [INFO] [stderr] warning: associated constant `No` should have an upper case name [INFO] [stderr] --> src/db/db.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | const No = 0b0000; [INFO] [stderr] | ^^ help: convert the identifier to upper case (notice the capitalization): `NO` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Close` should have an upper case name [INFO] [stderr] --> src/db/db.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | const Close = 0b0001; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `CLOSE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Read` should have an upper case name [INFO] [stderr] --> src/db/db.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | const Read = 0b0010; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `READ` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Write` should have an upper case name [INFO] [stderr] --> src/db/db.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | const Write = 0b0100; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `WRITE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `All` should have an upper case name [INFO] [stderr] --> src/db/db.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | const All = 0b0111; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `ALL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Strict` should have an upper case name [INFO] [stderr] --> src/db/db.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | const Strict = 0b1000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `STRICT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Strong` should have an upper case name [INFO] [stderr] --> src/db/db.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | const Strong = 0b1101; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `STRONG` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Paranoid` should have an upper case name [INFO] [stderr] --> src/db/db.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | const Paranoid = 0b1111; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `PARANOID` [INFO] [stderr] [INFO] [stderr] warning: 24 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/bin/nut.rs:181:36 [INFO] [stderr] | [INFO] [stderr] 181 | .map_err(|_| "Can't read file")?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nut-72226e68c1a08e3c) [INFO] [stdout] [INFO] [stdout] running 60 tests [INFO] [stdout] test concurrency_tests::same_bucket_read_10_1500 ... ignored [INFO] [stdout] test concurrency_tests::same_bucket_read_10_5500 ... ignored [INFO] [stdout] test concurrency_tests::same_bucket_read_20_1500 ... ignored [INFO] [stdout] test concurrency_tests::same_bucket_read_20_5500 ... ignored [INFO] [stdout] test bucket::tests::delete_bucket_err ... ok [INFO] [stdout] test bucket::cursor_tests::seek_some ... ok [INFO] [stdout] test bucket::cursor_tests::seek_none ... ok [INFO] [stdout] test bucket::tests::create ... ok [INFO] [stdout] test bucket::cursor_tests::bucket_cursor ... ok [INFO] [stdout] test concurrency_tests::same_bucket_read_2_5 ... ok [INFO] [stdout] test freelist::tests::free ... ok [INFO] [stdout] test freelist::tests::free_overflow ... ok [INFO] [stdout] test freelist::tests::allocate ... ok [INFO] [stdout] test db::tests::open ... ok [INFO] [stdout] test freelist::tests::read ... ok [INFO] [stdout] test freelist::tests::release ... ok [INFO] [stdout] test bucket::tests::delete_value ... ok [INFO] [stdout] test freelist::tests::write ... ok [INFO] [stdout] test node::tests::create ... ok [INFO] [stdout] test bucket::cursor_tests::values_cursor ... ok [INFO] [stdout] test node::tests::read_page ... ok [INFO] [stdout] test concurrency_tests::same_bucket_read_2_2 ... ok [INFO] [stdout] test concurrency_tests::same_bucket_read_5_10 ... ok [INFO] [stdout] test node::tests::write_page ... ok [INFO] [stdout] test node::tests::split_two_fail ... ok [INFO] [stdout] test node::tests::split_min_keys ... ok [INFO] [stdout] test node::tests::split ... ok [INFO] [stdout] test node::tests::split_single_page ... ok [INFO] [stdout] test page::page_data_tests::new ... ok [INFO] [stdout] test page::tests::read_leaf_nodes ... ok [INFO] [stdout] test node::tests::split_two ... ok [INFO] [stdout] test page::tests::copy_data_from ... ok [INFO] [stdout] test concurrency_tests::same_bucket_read_10_10 ... ok [INFO] [stdout] test page::tests::new ... ok [INFO] [stdout] test page::tests::to_owned ... ok [INFO] [stdout] test node::tests::split_big ... ok [INFO] [stdout] test concurrency_tests::same_bucket_read_20_100 ... ok [INFO] [stdout] test tx::tests::db_closed ... ok [INFO] [stdout] test tx::tests::db_gone ... ok [INFO] [stdout] test bucket::tests::create_nested_buckets ... ok [INFO] [stdout] test concurrency_tests::same_bucket_read_10_50 ... ok [INFO] [stdout] test tx::tests::for_each ... ok [INFO] [stdout] test utils::tests::test_find_contiguous ... ok [INFO] [stdout] test utils::tests::test_slice_to_u8_slice ... ok [INFO] [stdout] test utils::tests::test_to_u8_slice ... ok [INFO] [stdout] test tx::tests::rollback_some ... ok [INFO] [stdout] test tx::tests::commit_empty ... ok [INFO] [stdout] test tx::tests::commit_some ... ok [INFO] [stdout] test tx::tests::commit_ensure ... ok [INFO] [stdout] test tx::tests::check ... ok [INFO] [stdout] test db::tests::open_existing ... FAILED [INFO] [stdout] test concurrency_tests::same_bucket_read_10_500 ... ok [INFO] [stdout] test tx::tests::delete_bucket ... ok [INFO] [stdout] test tx::tests::check_corrupted ... FAILED [INFO] [stdout] test db::tests::panic_while_update ... ok [INFO] [stdout] test tx::tests::rollback_empty ... ok [INFO] [stdout] test tx::tests::commit_hash_ensure ... ok [INFO] [stdout] test tx::tests::commit_multiple ... ok [INFO] [stdout] test db::tests::batch ... ok [INFO] [stdout] test concurrency_tests::multiple_writers_multiple_readers ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- db::tests::open_existing stdout ---- [INFO] [stdout] thread 'db::tests::open_existing' panicked at 'called `Result::unwrap()` on an `Err` value: Unexpected("Cannot allocate 4 required pages")', src/db/tests.rs:26:10 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55eccf4a6390 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55eccf4a6390 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55eccf4a6390 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55eccf4a6390 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55eccf4c8ddc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55eccf4a3105 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x55eccf4a84fb - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55eccf4a84fb - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55eccf4a84fb - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55eccf4a800c - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55eccf4a8bc4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55eccf4a86a7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55eccf4a688c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55eccf4a8609 - rust_begin_unwind [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55eccf335751 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55eccf335843 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55eccf3af71a - core::result::Result::unwrap::hc6504c81f1316227 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x55eccf3cb3f3 - nut::db::tests::open_existing::h35fa2252a3a5f520 [INFO] [stdout] at /opt/rustwide/workdir/src/db/tests.rs:23:11 [INFO] [stdout] 18: 0x55eccf3cb37a - nut::db::tests::open_existing::{{closure}}::h86aff66bf30c4ed6 [INFO] [stdout] at /opt/rustwide/workdir/src/db/tests.rs:22:1 [INFO] [stdout] 19: 0x55eccf3da3fe - core::ops::function::FnOnce::call_once::h41bc9d8ecf0a8dff [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55eccf43b223 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55eccf43b223 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x55eccf439cb0 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55eccf439cb0 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55eccf439cb0 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55eccf439cb0 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55eccf439cb0 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55eccf439cb0 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x55eccf439cb0 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55eccf413272 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55eccf413272 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55eccf416ec8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55eccf416ec8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55eccf416ec8 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55eccf416ec8 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55eccf416ec8 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55eccf416ec8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55eccf416ec8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55eccf4ad977 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55eccf4ad977 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55eccf4ad977 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 41: 0x7f3ba9557609 - start_thread [INFO] [stdout] 42: 0x7f3ba9329293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tx::tests::check_corrupted stdout ---- [INFO] [stdout] thread 'tx::tests::check_corrupted' panicked at 'called `Result::unwrap()` on an `Err` value: Unexpected("Cannot allocate 4 required pages")', src/tx/tests.rs:232:10 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55eccf4a6390 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55eccf4a6390 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55eccf4a6390 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55eccf4a6390 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55eccf4c8ddc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55eccf4a3105 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x55eccf4a84fb - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55eccf4a84fb - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55eccf4a84fb - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55eccf4a800c - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55eccf4a8bc4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55eccf4a86a7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55eccf4a688c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55eccf4a8609 - rust_begin_unwind [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55eccf335751 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55eccf335843 - core::result::unwrap_failed::he898b02f57993c42 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55eccf3af71a - core::result::Result::unwrap::hc6504c81f1316227 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x55eccf3ac007 - nut::tx::tests::check_corrupted::hd39bf4bdbe47a138 [INFO] [stdout] at /opt/rustwide/workdir/src/tx/tests.rs:229:11 [INFO] [stdout] 18: 0x55eccf3abf9a - nut::tx::tests::check_corrupted::{{closure}}::hde908f3b752a261f [INFO] [stdout] at /opt/rustwide/workdir/src/tx/tests.rs:228:1 [INFO] [stdout] 19: 0x55eccf3da22e - core::ops::function::FnOnce::call_once::h2cae42fe286e9c1e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55eccf43b223 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55eccf43b223 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x55eccf439cb0 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55eccf439cb0 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55eccf439cb0 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55eccf439cb0 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55eccf439cb0 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55eccf439cb0 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x55eccf439cb0 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55eccf413272 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55eccf413272 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55eccf416ec8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55eccf416ec8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55eccf416ec8 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55eccf416ec8 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55eccf416ec8 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55eccf416ec8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55eccf416ec8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55eccf4ad977 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55eccf4ad977 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55eccf4ad977 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 41: 0x7f3ba9557609 - start_thread [INFO] [stdout] 42: 0x7f3ba9329293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] db::tests::open_existing [INFO] [stdout] tx::tests::check_corrupted [INFO] [stdout] [INFO] [stdout] test result: FAILED. 54 passed; 2 failed; 4 ignored; 0 measured; 0 filtered out; finished in 8.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "4bbf26dd79ca20e79a7e6d754f5eb1b9bc876ea50b59d02d1df59f97e8fca0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbf26dd79ca20e79a7e6d754f5eb1b9bc876ea50b59d02d1df59f97e8fca0ca", kill_on_drop: false }` [INFO] [stdout] 4bbf26dd79ca20e79a7e6d754f5eb1b9bc876ea50b59d02d1df59f97e8fca0ca