[INFO] cloning repository https://github.com/lise-henry/crowbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lise-henry/crowbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flise-henry%2Fcrowbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flise-henry%2Fcrowbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53d6879a2450dd1a5766d7cb52754a67ee34cc62 [INFO] checking lise-henry/crowbook against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flise-henry%2Fcrowbook" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lise-henry/crowbook on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lise-henry/crowbook [INFO] finished tweaking git repo https://github.com/lise-henry/crowbook [INFO] tweaked toml for git repo https://github.com/lise-henry/crowbook written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/lise-henry/crowbook already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--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 adler v0.2.2 [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded phf_macros v0.7.24 [INFO] [stderr] Downloaded rust-freqdist v0.1.5 [INFO] [stderr] Downloaded crowbook-intl v0.2.1 [INFO] [stderr] Downloaded epub-builder v0.4.7 [INFO] [stderr] Downloaded onig v6.0.0 [INFO] [stderr] Downloaded caribon v0.8.1 [INFO] [stderr] Downloaded syntect v4.2.0 [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded fst v0.4.4 [INFO] [stderr] Downloaded punkt v1.0.5 [INFO] [stderr] Downloaded hyphenation_commons v0.8.0 [INFO] [stderr] Downloaded comrak v0.7.0 [INFO] [stderr] Downloaded hyphenation v0.8.0 [INFO] [stderr] Downloaded numerals v0.1.4 [INFO] [stderr] Downloaded crowbook-text-processing v1.0.0 [INFO] [stderr] Downloaded pocket-resources v0.3.2 [INFO] [stderr] Downloaded onig_sys v69.5.0 [INFO] [stderr] Downloaded plist v1.0.0 [INFO] [stderr] Downloaded html2text v0.1.12 [INFO] [stderr] Downloaded simplelog v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 252f74e59c845185f1618b141ae0cecd8a6e90b487d0a400254534d1e767dc02 [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" "252f74e59c845185f1618b141ae0cecd8a6e90b487d0a400254534d1e767dc02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "252f74e59c845185f1618b141ae0cecd8a6e90b487d0a400254534d1e767dc02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252f74e59c845185f1618b141ae0cecd8a6e90b487d0a400254534d1e767dc02", kill_on_drop: false }` [INFO] [stdout] 252f74e59c845185f1618b141ae0cecd8a6e90b487d0a400254534d1e767dc02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2ca96268e4cd4fbfc3b49ffbb6224857fe0a9b180bc5a64bcdf3245031508b2 [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" "a2ca96268e4cd4fbfc3b49ffbb6224857fe0a9b180bc5a64bcdf3245031508b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling serde v1.0.114 [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] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking numerals v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking crowbook-intl-runtime v0.1.0 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [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 rand v0.4.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling stemmer v0.3.2 [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 tempdir v0.3.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking crowbook-text-processing v1.0.0 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking zip v0.5.6 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking caribon v0.8.1 [INFO] [stderr] Compiling crowbook-intl v0.2.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking string_cache v0.8.0 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling crowbook v0.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking onig v6.0.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [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 markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking html2text v0.1.12 [INFO] [stderr] Checking reqwest v0.10.6 [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/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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.22s [INFO] running `Command { std: "docker" "inspect" "a2ca96268e4cd4fbfc3b49ffbb6224857fe0a9b180bc5a64bcdf3245031508b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ca96268e4cd4fbfc3b49ffbb6224857fe0a9b180bc5a64bcdf3245031508b2", kill_on_drop: false }` [INFO] [stdout] a2ca96268e4cd4fbfc3b49ffbb6224857fe0a9b180bc5a64bcdf3245031508b2