[INFO] fetching crate nut 0.1.0... [INFO] checking nut-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [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 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded page_size v0.4.2 [INFO] [stderr] Downloaded hexdump v0.1.1 [INFO] [stderr] Downloaded poolcache v0.1.1 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65dfe43a90cf9c7da97f15ea5cc8423070a6a1ce37f0c135366b73721ea468c9 [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" "65dfe43a90cf9c7da97f15ea5cc8423070a6a1ce37f0c135366b73721ea468c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65dfe43a90cf9c7da97f15ea5cc8423070a6a1ce37f0c135366b73721ea468c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65dfe43a90cf9c7da97f15ea5cc8423070a6a1ce37f0c135366b73721ea468c9", kill_on_drop: false }` [INFO] [stdout] 65dfe43a90cf9c7da97f15ea5cc8423070a6a1ce37f0c135366b73721ea468c9 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 644915d340826c9abe40298e29728fbb0b68c8f55121dc158ececb6813a0c2ac [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" "644915d340826c9abe40298e29728fbb0b68c8f55121dc158ececb6813a0c2ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [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 bitflags v1.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking poolcache v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking hexdump v0.1.1 [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] 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 fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking page_size v0.4.2 [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: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: 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: 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/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/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: 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] [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/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: 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/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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.10s [INFO] running `Command { std: "docker" "inspect" "644915d340826c9abe40298e29728fbb0b68c8f55121dc158ececb6813a0c2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644915d340826c9abe40298e29728fbb0b68c8f55121dc158ececb6813a0c2ac", kill_on_drop: false }` [INFO] [stdout] 644915d340826c9abe40298e29728fbb0b68c8f55121dc158ececb6813a0c2ac