[INFO] fetching crate nut 0.1.0... [INFO] checking nut-0.1.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate nut 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate nut 0.1.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db7a4d9d0c2cebd31b9e582ea97291ebbc4b32586cc95f311398bb75cd4365cd [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" "db7a4d9d0c2cebd31b9e582ea97291ebbc4b32586cc95f311398bb75cd4365cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db7a4d9d0c2cebd31b9e582ea97291ebbc4b32586cc95f311398bb75cd4365cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7a4d9d0c2cebd31b9e582ea97291ebbc4b32586cc95f311398bb75cd4365cd", kill_on_drop: false }` [INFO] [stdout] db7a4d9d0c2cebd31b9e582ea97291ebbc4b32586cc95f311398bb75cd4365cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a772698d52893182b99cc6eddc87f7c6ae393db37f08165473984351cad2726 [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" "0a772698d52893182b99cc6eddc87f7c6ae393db37f08165473984351cad2726", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking poolcache v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking 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] [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] [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] [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] [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 a macro (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 a macro (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/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 a macro (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 a macro (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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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/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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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/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 is no longer accepted in Rust 2021 [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/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 is no longer accepted in Rust 2021 [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/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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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: 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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] 73 | "{}", std::mem::size_of::() [INFO] [stdout] | -- -- [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: 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 is no longer accepted in Rust 2021 [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: 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: 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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: 24 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: 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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.14s [INFO] running `Command { std: "docker" "inspect" "0a772698d52893182b99cc6eddc87f7c6ae393db37f08165473984351cad2726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a772698d52893182b99cc6eddc87f7c6ae393db37f08165473984351cad2726", kill_on_drop: false }` [INFO] [stdout] 0a772698d52893182b99cc6eddc87f7c6ae393db37f08165473984351cad2726