[INFO] fetching crate mnist 0.4.1... [INFO] checking mnist-0.4.1 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate mnist 0.4.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate mnist 0.4.1 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 mnist 0.4.1 [INFO] finished tweaking crates.io crate mnist 0.4.1 [INFO] tweaked toml for crates.io crate mnist 0.4.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate mnist 0.4.1 already has a lockfile, it will not be regenerated [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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 02a874915ab056a1179920b705cb10a6233096e6de49068071fbdb36d88cc03b [INFO] running `Command { std: "docker" "start" "-a" "02a874915ab056a1179920b705cb10a6233096e6de49068071fbdb36d88cc03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02a874915ab056a1179920b705cb10a6233096e6de49068071fbdb36d88cc03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a874915ab056a1179920b705cb10a6233096e6de49068071fbdb36d88cc03b", kill_on_drop: false }` [INFO] [stdout] 02a874915ab056a1179920b705cb10a6233096e6de49068071fbdb36d88cc03b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 2d455a80815eb6d83a7b90f31c8172c0656b7775bce4299dc5d8cc6a3ed32f2b [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" "2d455a80815eb6d83a7b90f31c8172c0656b7775bce4299dc5d8cc6a3ed32f2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking wayland-sys v0.25.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mnist v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling minifb v0.17.0 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | / format!( [INFO] [stdout] 401 | | "Total data set length ({}) greater than maximum possible length ({}).", [INFO] [stdout] 402 | | total_length, available_length [INFO] [stdout] 403 | | ) [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] 400 | [INFO] [stdout] 401 | "Total data set length ({}) greater than maximum possible length ({}).", [INFO] [stdout] 402 | total_length, available_length [INFO] [stdout] 403 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | / format!( [INFO] [stdout] 530 | | "Expected magic number {} got {}.", [INFO] [stdout] 531 | | LBL_MAGIC_NUMBER, magic_number [INFO] [stdout] 532 | | ) [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] 529 | [INFO] [stdout] 530 | "Expected magic number {} got {}.", [INFO] [stdout] 531 | LBL_MAGIC_NUMBER, magic_number [INFO] [stdout] 532 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | / format!( [INFO] [stdout] 540 | | "Expected data set length of {} got {}.", [INFO] [stdout] 541 | | expected_length, length [INFO] [stdout] 542 | | ) [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] 539 | [INFO] [stdout] 540 | "Expected data set length of {} got {}.", [INFO] [stdout] 541 | expected_length, length [INFO] [stdout] 542 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | / format!( [INFO] [stdout] 567 | | "Expected magic number {} got {}.", [INFO] [stdout] 568 | | IMG_MAGIC_NUMBER, magic_number [INFO] [stdout] 569 | | ) [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] 566 | [INFO] [stdout] 567 | "Expected magic number {} got {}.", [INFO] [stdout] 568 | IMG_MAGIC_NUMBER, magic_number [INFO] [stdout] 569 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | / format!( [INFO] [stdout] 577 | | "Expected data set length of {} got {}.", [INFO] [stdout] 578 | | expected_length, length [INFO] [stdout] 579 | | ) [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] 576 | [INFO] [stdout] 577 | "Expected data set length of {} got {}.", [INFO] [stdout] 578 | expected_length, length [INFO] [stdout] 579 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | format!("Expected rows length of {} got {}.", ROWS, rows) [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] 587 | "Expected rows length of {} got {}.", ROWS, rows [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | format!("Expected cols length of {} got {}.", COLS, cols) [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] 595 | "Expected cols length of {} got {}.", COLS, cols [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | tst_img.split_off(tst_len * ROWS * COLS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | tst_lbl.split_off(tst_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking wayland-commons v0.25.0 [INFO] [stderr] Checking wayland-cursor v0.25.0 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | / format!( [INFO] [stdout] 401 | | "Total data set length ({}) greater than maximum possible length ({}).", [INFO] [stdout] 402 | | total_length, available_length [INFO] [stdout] 403 | | ) [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] 400 | [INFO] [stdout] 401 | "Total data set length ({}) greater than maximum possible length ({}).", [INFO] [stdout] 402 | total_length, available_length [INFO] [stdout] 403 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:529:9 [INFO] [stdout] | [INFO] [stdout] 529 | / format!( [INFO] [stdout] 530 | | "Expected magic number {} got {}.", [INFO] [stdout] 531 | | LBL_MAGIC_NUMBER, magic_number [INFO] [stdout] 532 | | ) [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] 529 | [INFO] [stdout] 530 | "Expected magic number {} got {}.", [INFO] [stdout] 531 | LBL_MAGIC_NUMBER, magic_number [INFO] [stdout] 532 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | / format!( [INFO] [stdout] 540 | | "Expected data set length of {} got {}.", [INFO] [stdout] 541 | | expected_length, length [INFO] [stdout] 542 | | ) [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] 539 | [INFO] [stdout] 540 | "Expected data set length of {} got {}.", [INFO] [stdout] 541 | expected_length, length [INFO] [stdout] 542 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | / format!( [INFO] [stdout] 567 | | "Expected magic number {} got {}.", [INFO] [stdout] 568 | | IMG_MAGIC_NUMBER, magic_number [INFO] [stdout] 569 | | ) [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] 566 | [INFO] [stdout] 567 | "Expected magic number {} got {}.", [INFO] [stdout] 568 | IMG_MAGIC_NUMBER, magic_number [INFO] [stdout] 569 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | / format!( [INFO] [stdout] 577 | | "Expected data set length of {} got {}.", [INFO] [stdout] 578 | | expected_length, length [INFO] [stdout] 579 | | ) [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] 576 | [INFO] [stdout] 577 | "Expected data set length of {} got {}.", [INFO] [stdout] 578 | expected_length, length [INFO] [stdout] 579 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | format!("Expected rows length of {} got {}.", ROWS, rows) [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] 587 | "Expected rows length of {} got {}.", ROWS, rows [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | format!("Expected cols length of {} got {}.", COLS, cols) [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] 595 | "Expected cols length of {} got {}.", COLS, cols [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | tst_img.split_off(tst_len * ROWS * COLS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | tst_lbl.split_off(tst_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.47s [INFO] running `Command { std: "docker" "inspect" "2d455a80815eb6d83a7b90f31c8172c0656b7775bce4299dc5d8cc6a3ed32f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d455a80815eb6d83a7b90f31c8172c0656b7775bce4299dc5d8cc6a3ed32f2b", kill_on_drop: false }` [INFO] [stdout] 2d455a80815eb6d83a7b90f31c8172c0656b7775bce4299dc5d8cc6a3ed32f2b