[INFO] fetching crate nut 0.1.0... [INFO] checking nut-0.1.0 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate nut 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate nut 0.1.0 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a79ef9839b8f1440ce2a2416e33d77b6b3d37aa3160c07b41812c3482ecff2a8 [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" "a79ef9839b8f1440ce2a2416e33d77b6b3d37aa3160c07b41812c3482ecff2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a79ef9839b8f1440ce2a2416e33d77b6b3d37aa3160c07b41812c3482ecff2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79ef9839b8f1440ce2a2416e33d77b6b3d37aa3160c07b41812c3482ecff2a8", kill_on_drop: false }` [INFO] [stdout] a79ef9839b8f1440ce2a2416e33d77b6b3d37aa3160c07b41812c3482ecff2a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45797819b8510ed404b9f3ceac4eb933a0ece7ffc607fc224b71bf7d69aad7f0 [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" "45797819b8510ed404b9f3ceac4eb933a0ece7ffc607fc224b71bf7d69aad7f0", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking poolcache v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [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 lock_api v0.1.5 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking hexdump v0.1.0 [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 12.82s [INFO] running `Command { std: "docker" "inspect" "45797819b8510ed404b9f3ceac4eb933a0ece7ffc607fc224b71bf7d69aad7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45797819b8510ed404b9f3ceac4eb933a0ece7ffc607fc224b71bf7d69aad7f0", kill_on_drop: false }` [INFO] [stdout] 45797819b8510ed404b9f3ceac4eb933a0ece7ffc607fc224b71bf7d69aad7f0