[INFO] fetching crate mnist 0.4.1... [INFO] checking mnist-0.4.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate mnist 0.4.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate mnist 0.4.1 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 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-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 7bd850c1a065349e025938afd9641a528c8cca78a92d1c42d9f202cb04cfd94c [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" "7bd850c1a065349e025938afd9641a528c8cca78a92d1c42d9f202cb04cfd94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bd850c1a065349e025938afd9641a528c8cca78a92d1c42d9f202cb04cfd94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd850c1a065349e025938afd9641a528c8cca78a92d1c42d9f202cb04cfd94c", kill_on_drop: false }` [INFO] [stdout] 7bd850c1a065349e025938afd9641a528c8cca78a92d1c42d9f202cb04cfd94c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] eabb29799193bc24963d01d5a7ec34ee444b0416634e8ad99f2e3f8ccaff0eee [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" "eabb29799193bc24963d01d5a7ec34ee444b0416634e8ad99f2e3f8ccaff0eee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking mnist v0.4.1 (/opt/rustwide/workdir) [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 num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.25.0 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling minifb v0.17.0 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rand v0.7.3 [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.65s [INFO] running `Command { std: "docker" "inspect" "eabb29799193bc24963d01d5a7ec34ee444b0416634e8ad99f2e3f8ccaff0eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eabb29799193bc24963d01d5a7ec34ee444b0416634e8ad99f2e3f8ccaff0eee", kill_on_drop: false }` [INFO] [stdout] eabb29799193bc24963d01d5a7ec34ee444b0416634e8ad99f2e3f8ccaff0eee