[INFO] fetching crate nut 0.1.0... [INFO] checking nut-0.1.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate nut 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate nut 0.1.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded poolcache v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a7cfe96ff5c3b7f71ff417a251fbccf0522cb45bb917da91885fec8260356e04 [INFO] running `Command { std: "docker" "start" "-a" "a7cfe96ff5c3b7f71ff417a251fbccf0522cb45bb917da91885fec8260356e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7cfe96ff5c3b7f71ff417a251fbccf0522cb45bb917da91885fec8260356e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7cfe96ff5c3b7f71ff417a251fbccf0522cb45bb917da91885fec8260356e04", kill_on_drop: false }` [INFO] [stdout] a7cfe96ff5c3b7f71ff417a251fbccf0522cb45bb917da91885fec8260356e04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52395bf251804f3dd9e7e647968992b416bf182f3e223a511eb242863708280e [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" "52395bf251804f3dd9e7e647968992b416bf182f3e223a511eb242863708280e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking poolcache v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [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] 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 fs2 v0.4.3 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking lock_api v0.1.5 [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: 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: 17 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: 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "52395bf251804f3dd9e7e647968992b416bf182f3e223a511eb242863708280e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52395bf251804f3dd9e7e647968992b416bf182f3e223a511eb242863708280e", kill_on_drop: false }` [INFO] [stdout] 52395bf251804f3dd9e7e647968992b416bf182f3e223a511eb242863708280e