[INFO] fetching crate crowbook 0.15.2... [INFO] checking crowbook-0.15.2 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [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 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19217a2332a9ab7d89bfd8dfe4d981c48346e539c62a0570b68a0ab867dd8fda [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" "19217a2332a9ab7d89bfd8dfe4d981c48346e539c62a0570b68a0ab867dd8fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19217a2332a9ab7d89bfd8dfe4d981c48346e539c62a0570b68a0ab867dd8fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19217a2332a9ab7d89bfd8dfe4d981c48346e539c62a0570b68a0ab867dd8fda", kill_on_drop: false }` [INFO] [stdout] 19217a2332a9ab7d89bfd8dfe4d981c48346e539c62a0570b68a0ab867dd8fda [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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6b61e49f7abff262dde43ff6ba0667944c65ebbadfb6ee373f8694112530c36 [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" "a6b61e49f7abff262dde43ff6ba0667944c65ebbadfb6ee373f8694112530c36", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pkg-config v0.3.17 [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 siphasher v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [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 percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking numerals v0.1.4 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [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 thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking futf v0.1.4 [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 futures-task v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Checking crowbook-intl-runtime v0.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking twoway v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking string_cache v0.8.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking flate2 v1.0.16 [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 clap v2.33.1 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling stemmer v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking crowbook-text-processing v1.0.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking caribon v0.8.1 [INFO] [stderr] Compiling crowbook-intl v0.2.1 [INFO] [stderr] Checking zip v0.5.6 [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 plist v1.0.0 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Compiling crowbook v0.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.3.1 [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 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 xml5ever v0.16.1 [INFO] [stderr] Checking hyper v0.13.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] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:2192:62 [INFO] [stdout] | [INFO] [stdout] 2192 | ("header generated by mustache was not valid utf-8") => ({ [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 2193 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 2194 | | match __guard.as_str() { [INFO] [stdout] 2195 | | "fr" => format!("l'en-tête générée par mustache contenait de l'UTF-8 invalide"), [INFO] [stdout] 2196 | | _ => format!("header generated by mustache was not valid utf-8"), [INFO] [stdout] 2197 | | } [INFO] [stdout] 2198 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:2073:64 [INFO] [stdout] | [INFO] [stdout] 2073 | ("generated HTML for cover.xhtml was not utf-8 valid") => ({ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 2074 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 2075 | | match __guard.as_str() { [INFO] [stdout] 2076 | | "fr" => format!("le HTML généré pour cover.xhtml contient de l'UTF-8 invalide"), [INFO] [stdout] 2077 | | _ => format!("generated HTML for cover.xhtml was not utf-8 valid"), [INFO] [stdout] 2078 | | } [INFO] [stdout] 2079 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1814:59 [INFO] [stdout] | [INFO] [stdout] 1814 | ("Why is this method called if cover is None???") => ({ [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 1815 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1816 | | match __guard.as_str() { [INFO] [stdout] 1817 | | "fr" => format!("Pourquoi cette méthode est-elle appelée si la couverture est None???"), [INFO] [stdout] 1818 | | _ => format!("Why is this method called if cover is None???"), [INFO] [stdout] 1819 | | } [INFO] [stdout] 1820 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1730:48 [INFO] [stdout] | [INFO] [stdout] 1730 | ("generated HTML was not utf-8 valid") => ({ [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 1731 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1732 | | match __guard.as_str() { [INFO] [stdout] 1733 | | "fr" => format!("le HTML contient de l'UTF-8 invalide"), [INFO] [stdout] 1734 | | _ => format!("generated HTML was not utf-8 valid"), [INFO] [stdout] 1735 | | } [INFO] [stdout] 1736 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1912:49 [INFO] [stdout] | [INFO] [stdout] 1912 | ("generated LaTeX was not valid utf-8") => ({ [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 1913 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1914 | | match __guard.as_str() { [INFO] [stdout] 1915 | | "fr" => format!("le fichier LaTeX généré contenait de l'UTF-8 invalide"), [INFO] [stdout] 1916 | | _ => format!("generated LaTeX was not valid utf-8"), [INFO] [stdout] 1917 | | } [INFO] [stdout] 1918 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1618:55 [INFO] [stdout] | [INFO] [stdout] 1618 | ("generated content.xml was not utf-8 valid") => ({ [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 1619 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1620 | | match __guard.as_str() { [INFO] [stdout] 1621 | | "fr" => format!("le fichier content.xml généré contenait de l'UTF-8 invalide"), [INFO] [stdout] 1622 | | _ => format!("generated content.xml was not utf-8 valid"), [INFO] [stdout] 1623 | | } [INFO] [stdout] 1624 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:427:90 [INFO] [stdout] | [INFO] [stdout] 427 | ("Ill-formatted OPTIONS string: unrecognized type '{option_type}'", $($arg:tt)*) => ({ [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 428 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 429 | | match __guard.as_str() { [INFO] [stdout] 430 | | "fr" => format!("Chaîne OPTIONS mal formatée : type non reconnu '{option_type}'", $($arg)*), [INFO] [stdout] 431 | | _ => format!("Ill-formatted OPTIONS string: unrecognized type '{option_type}'", $($arg)*), [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | |_______________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:511:78 [INFO] [stdout] | [INFO] [stdout] 511 | ("Yaml file for language {lang} didn't contain a hash", $($arg:tt)*) => ({ [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 512 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 513 | | match __guard.as_str() { [INFO] [stdout] 514 | | "fr" => format!("Le fichier YAML pour le langage {lang} no contient pas de hashmap", $($arg)*), [INFO] [stdout] 515 | | _ => format!("Yaml file for language {lang} didn't contain a hash", $($arg)*), [INFO] [stdout] 516 | | } [INFO] [stdout] 517 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:973:73 [INFO] [stdout] | [INFO] [stdout] 973 | ("Yaml for {key} in lang {lang} is not a String!", $($arg:tt)*) => ({ [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 974 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 975 | | match __guard.as_str() { [INFO] [stdout] 976 | | "fr" => format!("Le Yaml pour {key} dans la langue {lang} n'est pas une chaîne de caractères !", $($arg)*), [INFO] [stdout] 977 | | _ => format!("Yaml for {key} in lang {lang} is not a String!", $($arg)*), [INFO] [stdout] 978 | | } [INFO] [stdout] 979 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:2192:62 [INFO] [stdout] | [INFO] [stdout] 2192 | ("header generated by mustache was not valid utf-8") => ({ [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 2193 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 2194 | | match __guard.as_str() { [INFO] [stdout] 2195 | | "fr" => format!("l'en-tête générée par mustache contenait de l'UTF-8 invalide"), [INFO] [stdout] 2196 | | _ => format!("header generated by mustache was not valid utf-8"), [INFO] [stdout] 2197 | | } [INFO] [stdout] 2198 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:2073:64 [INFO] [stdout] | [INFO] [stdout] 2073 | ("generated HTML for cover.xhtml was not utf-8 valid") => ({ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 2074 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 2075 | | match __guard.as_str() { [INFO] [stdout] 2076 | | "fr" => format!("le HTML généré pour cover.xhtml contient de l'UTF-8 invalide"), [INFO] [stdout] 2077 | | _ => format!("generated HTML for cover.xhtml was not utf-8 valid"), [INFO] [stdout] 2078 | | } [INFO] [stdout] 2079 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1814:59 [INFO] [stdout] | [INFO] [stdout] 1814 | ("Why is this method called if cover is None???") => ({ [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 1815 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1816 | | match __guard.as_str() { [INFO] [stdout] 1817 | | "fr" => format!("Pourquoi cette méthode est-elle appelée si la couverture est None???"), [INFO] [stdout] 1818 | | _ => format!("Why is this method called if cover is None???"), [INFO] [stdout] 1819 | | } [INFO] [stdout] 1820 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1730:48 [INFO] [stdout] | [INFO] [stdout] 1730 | ("generated HTML was not utf-8 valid") => ({ [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 1731 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1732 | | match __guard.as_str() { [INFO] [stdout] 1733 | | "fr" => format!("le HTML contient de l'UTF-8 invalide"), [INFO] [stdout] 1734 | | _ => format!("generated HTML was not utf-8 valid"), [INFO] [stdout] 1735 | | } [INFO] [stdout] 1736 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1912:49 [INFO] [stdout] | [INFO] [stdout] 1912 | ("generated LaTeX was not valid utf-8") => ({ [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 1913 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1914 | | match __guard.as_str() { [INFO] [stdout] 1915 | | "fr" => format!("le fichier LaTeX généré contenait de l'UTF-8 invalide"), [INFO] [stdout] 1916 | | _ => format!("generated LaTeX was not valid utf-8"), [INFO] [stdout] 1917 | | } [INFO] [stdout] 1918 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:1618:55 [INFO] [stdout] | [INFO] [stdout] 1618 | ("generated content.xml was not utf-8 valid") => ({ [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 1619 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 1620 | | match __guard.as_str() { [INFO] [stdout] 1621 | | "fr" => format!("le fichier content.xml généré contenait de l'UTF-8 invalide"), [INFO] [stdout] 1622 | | _ => format!("generated content.xml was not utf-8 valid"), [INFO] [stdout] 1623 | | } [INFO] [stdout] 1624 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:427:90 [INFO] [stdout] | [INFO] [stdout] 427 | ("Ill-formatted OPTIONS string: unrecognized type '{option_type}'", $($arg:tt)*) => ({ [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 428 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 429 | | match __guard.as_str() { [INFO] [stdout] 430 | | "fr" => format!("Chaîne OPTIONS mal formatée : type non reconnu '{option_type}'", $($arg)*), [INFO] [stdout] 431 | | _ => format!("Ill-formatted OPTIONS string: unrecognized type '{option_type}'", $($arg)*), [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | |_______________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:511:78 [INFO] [stdout] | [INFO] [stdout] 511 | ("Yaml file for language {lang} didn't contain a hash", $($arg:tt)*) => ({ [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 512 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 513 | | match __guard.as_str() { [INFO] [stdout] 514 | | "fr" => format!("Le fichier YAML pour le langage {lang} no contient pas de hashmap", $($arg)*), [INFO] [stdout] 515 | | _ => format!("Yaml file for language {lang} didn't contain a hash", $($arg)*), [INFO] [stdout] 516 | | } [INFO] [stdout] 517 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/crowbook-f5174ffc81622ce5/out/localize_macros.rs:973:73 [INFO] [stdout] | [INFO] [stdout] 973 | ("Yaml for {key} in lang {lang} is not a String!", $($arg:tt)*) => ({ [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 974 | | let __guard = ::crowbook_intl_runtime::__get_lang(); [INFO] [stdout] 975 | | match __guard.as_str() { [INFO] [stdout] 976 | | "fr" => format!("Le Yaml pour {key} dans la langue {lang} n'est pas une chaîne de caractères !", $($arg)*), [INFO] [stdout] 977 | | _ => format!("Yaml for {key} in lang {lang} is not a String!", $($arg)*), [INFO] [stdout] 978 | | } [INFO] [stdout] 979 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [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] | |____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "a6b61e49f7abff262dde43ff6ba0667944c65ebbadfb6ee373f8694112530c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b61e49f7abff262dde43ff6ba0667944c65ebbadfb6ee373f8694112530c36", kill_on_drop: false }` [INFO] [stdout] a6b61e49f7abff262dde43ff6ba0667944c65ebbadfb6ee373f8694112530c36