[INFO] fetching crate crowbook 0.15.2... [INFO] checking crowbook-0.15.2 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate crowbook 0.15.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate crowbook 0.15.2 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crowbook 0.15.2 [INFO] finished tweaking crates.io crate crowbook 0.15.2 [INFO] tweaked toml for crates.io crate crowbook 0.15.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate crowbook 0.15.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b209b82248396f44e4507e94627b0dd72b6ca1d25febc81e3aa3bfcb80602acc [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" "b209b82248396f44e4507e94627b0dd72b6ca1d25febc81e3aa3bfcb80602acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b209b82248396f44e4507e94627b0dd72b6ca1d25febc81e3aa3bfcb80602acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b209b82248396f44e4507e94627b0dd72b6ca1d25febc81e3aa3bfcb80602acc", kill_on_drop: false }` [INFO] [stdout] b209b82248396f44e4507e94627b0dd72b6ca1d25febc81e3aa3bfcb80602acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44d2c1e7ac9caefa5f546e7e7b2659617ad584b6f3a9880463cf9d762bfb74f2 [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" "44d2c1e7ac9caefa5f546e7e7b2659617ad584b6f3a9880463cf9d762bfb74f2", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking numerals v0.1.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking crowbook-intl-runtime v0.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking string_cache v0.8.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling stemmer v0.3.2 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling onig_sys v69.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking crowbook-text-processing v1.0.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking caribon v0.8.1 [INFO] [stderr] Compiling crowbook-intl v0.2.1 [INFO] [stderr] Checking zip v0.5.6 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling crowbook v0.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking onig v6.0.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking comrak v0.7.0 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking syntect v4.2.0 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking html2text v0.1.12 [INFO] [stderr] Checking epub-builder v0.4.7 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/book.rs:1297:30 [INFO] [stdout] | [INFO] [stdout] 1297 | Err(_) => panic!(lformat!("header generated by mustache was not valid utf-8")), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1297 | Err(_) => panic!("{}", lformat!("header generated by mustache was not valid utf-8")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1297 | Err(_) => std::panic::panic_any(lformat!("header generated by mustache was not valid utf-8")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/epub.rs:295:34 [INFO] [stdout] | [INFO] [stdout] 295 | Err(_) => panic!(lformat!("generated HTML for cover.xhtml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 295 | Err(_) => panic!("{}", lformat!("generated HTML for cover.xhtml was not utf-8 valid")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 295 | Err(_) => std::panic::panic_any(lformat!("generated HTML for cover.xhtml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/epub.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | panic!(lformat!("Why is this method called if cover is None???")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 299 | panic!("{}", lformat!("Why is this method called if cover is None???")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 299 | std::panic::panic_any(lformat!("Why is this method called if cover is None???")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/epub.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | Err(_) => panic!(lformat!("generated HTML was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 355 | Err(_) => panic!("{}", lformat!("generated HTML was not utf-8 valid")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 355 | Err(_) => std::panic::panic_any(lformat!("generated HTML was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/latex.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | Err(_) => panic!(lformat!("generated LaTeX was not valid utf-8")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 263 | Err(_) => panic!("{}", lformat!("generated LaTeX was not valid utf-8")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 263 | Err(_) => std::panic::panic_any(lformat!("generated LaTeX was not valid utf-8")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/odt.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | Err(_) => panic!(lformat!("generated content.xml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 139 | Err(_) => panic!("{}", lformat!("generated content.xml was not utf-8 valid")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 139 | Err(_) => std::panic::panic_any(lformat!("generated content.xml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/bookoptions.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | panic!(lformat!("Ill-formatted OPTIONS string: unrecognized type \ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 453 | | '{option_type}'", [INFO] [stdout] 454 | | option_type = option_type.unwrap())) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 452 | panic!("{}", lformat!("Ill-formatted OPTIONS string: unrecognized type \ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 452 | std::panic::panic_any(lformat!("Ill-formatted OPTIONS string: unrecognized type \ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/lang.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | panic!(lformat!("Yaml file for language {lang} didn't contain a hash", [INFO] [stdout] | ________________^ [INFO] [stdout] 23 | | lang = lang)); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", lformat!("Yaml file for language {lang} didn't contain a hash", [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 22 | std::panic::panic_any(lformat!("Yaml file for language {lang} didn't contain a hash", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/lang.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | panic!(lformat!("Yaml for {key} in lang {lang} is not a String!", [INFO] [stdout] | ________________^ [INFO] [stdout] 39 | | key = s, [INFO] [stdout] 40 | | lang = lang)); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | panic!("{}", lformat!("Yaml for {key} in lang {lang} is not a String!", [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 38 | std::panic::panic_any(lformat!("Yaml for {key} in lang {lang} is not a String!", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/tests/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | panic!(format!("\nexpected:\n{:?}\nactual:\n{:?}\n", expected, actual)); [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] 4 | panic!("\nexpected:\n{:?}\nactual:\n{:?}\n", expected, actual); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/book.rs:1297:30 [INFO] [stdout] | [INFO] [stdout] 1297 | Err(_) => panic!(lformat!("header generated by mustache was not valid utf-8")), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1297 | Err(_) => panic!("{}", lformat!("header generated by mustache was not valid utf-8")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1297 | Err(_) => std::panic::panic_any(lformat!("header generated by mustache was not valid utf-8")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/epub.rs:295:34 [INFO] [stdout] | [INFO] [stdout] 295 | Err(_) => panic!(lformat!("generated HTML for cover.xhtml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 295 | Err(_) => panic!("{}", lformat!("generated HTML for cover.xhtml was not utf-8 valid")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 295 | Err(_) => std::panic::panic_any(lformat!("generated HTML for cover.xhtml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/epub.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | panic!(lformat!("Why is this method called if cover is None???")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 299 | panic!("{}", lformat!("Why is this method called if cover is None???")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 299 | std::panic::panic_any(lformat!("Why is this method called if cover is None???")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/epub.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | Err(_) => panic!(lformat!("generated HTML was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 355 | Err(_) => panic!("{}", lformat!("generated HTML was not utf-8 valid")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 355 | Err(_) => std::panic::panic_any(lformat!("generated HTML was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/latex.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | Err(_) => panic!(lformat!("generated LaTeX was not valid utf-8")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 263 | Err(_) => panic!("{}", lformat!("generated LaTeX was not valid utf-8")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 263 | Err(_) => std::panic::panic_any(lformat!("generated LaTeX was not valid utf-8")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/odt.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | Err(_) => panic!(lformat!("generated content.xml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 139 | Err(_) => panic!("{}", lformat!("generated content.xml was not utf-8 valid")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 139 | Err(_) => std::panic::panic_any(lformat!("generated content.xml was not utf-8 valid")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/bookoptions.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | panic!(lformat!("Ill-formatted OPTIONS string: unrecognized type \ [INFO] [stdout] | ____________________________^ [INFO] [stdout] 453 | | '{option_type}'", [INFO] [stdout] 454 | | option_type = option_type.unwrap())) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 452 | panic!("{}", lformat!("Ill-formatted OPTIONS string: unrecognized type \ [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 452 | std::panic::panic_any(lformat!("Ill-formatted OPTIONS string: unrecognized type \ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/lang.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | panic!(lformat!("Yaml file for language {lang} didn't contain a hash", [INFO] [stdout] | ________________^ [INFO] [stdout] 23 | | lang = lang)); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 22 | panic!("{}", lformat!("Yaml file for language {lang} didn't contain a hash", [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 22 | std::panic::panic_any(lformat!("Yaml file for language {lang} didn't contain a hash", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/lang.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | panic!(lformat!("Yaml for {key} in lang {lang} is not a String!", [INFO] [stdout] | ________________^ [INFO] [stdout] 39 | | key = s, [INFO] [stdout] 40 | | lang = lang)); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | panic!("{}", lformat!("Yaml for {key} in lang {lang} is not a String!", [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 38 | std::panic::panic_any(lformat!("Yaml for {key} in lang {lang} is not a String!", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "44d2c1e7ac9caefa5f546e7e7b2659617ad584b6f3a9880463cf9d762bfb74f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d2c1e7ac9caefa5f546e7e7b2659617ad584b6f3a9880463cf9d762bfb74f2", kill_on_drop: false }` [INFO] [stdout] 44d2c1e7ac9caefa5f546e7e7b2659617ad584b6f3a9880463cf9d762bfb74f2