[INFO] fetching crate sharp_pencil 0.6.0... [INFO] testing sharp_pencil-0.6.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate sharp_pencil 0.6.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate sharp_pencil 0.6.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sharp_pencil 0.6.0 [INFO] finished tweaking crates.io crate sharp_pencil 0.6.0 [INFO] tweaked toml for crates.io crate sharp_pencil 0.6.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded notify v5.0.0-pre.10 [INFO] [stderr] Downloaded buf-read-ext v0.4.0 [INFO] [stderr] Downloaded textnonce v1.0.0 [INFO] [stderr] Downloaded formdata v0.13.0 [INFO] [stderr] Downloaded mime_multipart v0.6.0 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff9293e79211bef84f59cdf9f0b1d9e024e76f2d6c206c13f94ddf6f90eded3f [INFO] running `Command { std: "docker" "start" "-a" "ff9293e79211bef84f59cdf9f0b1d9e024e76f2d6c206c13f94ddf6f90eded3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff9293e79211bef84f59cdf9f0b1d9e024e76f2d6c206c13f94ddf6f90eded3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9293e79211bef84f59cdf9f0b1d9e024e76f2d6c206c13f94ddf6f90eded3f", kill_on_drop: false }` [INFO] [stdout] ff9293e79211bef84f59cdf9f0b1d9e024e76f2d6c206c13f94ddf6f90eded3f [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 528b3a8392194a4ffa89dc84fd66496aa298d6cf48293e4a4f6ba2bf212d8745 [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" "528b3a8392194a4ffa89dc84fd66496aa298d6cf48293e4a4f6ba2bf212d8745", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling buf-read-ext v0.4.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling inotify v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling notify v5.0.0-pre.10 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling textnonce v1.0.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling mime_multipart v0.6.0 [INFO] [stderr] Compiling formdata v0.13.0 [INFO] [stderr] Compiling sharp_pencil v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:567:36 [INFO] [stdout] | [INFO] [stdout] 567 | ... panic!(format!("Template compile error: {}", err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 567 | panic!("Template compile error: {}", err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:571:32 [INFO] [stdout] | [INFO] [stdout] 571 | panic!(format!("Template {} can't be loaded: {}", template_name, err)); [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] 571 | panic!("Template {} can't be loaded: {}", template_name, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:576:24 [INFO] [stdout] | [INFO] [stdout] 576 | panic!(format!("Template not found: {}", template_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 | panic!("Template not found: {}", template_name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "528b3a8392194a4ffa89dc84fd66496aa298d6cf48293e4a4f6ba2bf212d8745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528b3a8392194a4ffa89dc84fd66496aa298d6cf48293e4a4f6ba2bf212d8745", kill_on_drop: false }` [INFO] [stdout] 528b3a8392194a4ffa89dc84fd66496aa298d6cf48293e4a4f6ba2bf212d8745 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10d3ceaea161e644232a1f8c6a2cec85b40ec669317c9d1db7d431f0005528e9 [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" "10d3ceaea161e644232a1f8c6a2cec85b40ec669317c9d1db7d431f0005528e9", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:567:36 [INFO] [stdout] | [INFO] [stdout] 567 | ... panic!(format!("Template compile error: {}", err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 567 | panic!("Template compile error: {}", err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:571:32 [INFO] [stdout] | [INFO] [stdout] 571 | panic!(format!("Template {} can't be loaded: {}", template_name, err)); [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] 571 | panic!("Template {} can't be loaded: {}", template_name, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sharp_pencil v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:576:24 [INFO] [stdout] | [INFO] [stdout] 576 | panic!(format!("Template not found: {}", template_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 | panic!("Template not found: {}", template_name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:567:36 [INFO] [stdout] | [INFO] [stdout] 567 | ... panic!(format!("Template compile error: {}", err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 567 | panic!("Template compile error: {}", err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:571:32 [INFO] [stdout] | [INFO] [stdout] 571 | panic!(format!("Template {} can't be loaded: {}", template_name, err)); [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] 571 | panic!("Template {} can't be loaded: {}", template_name, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/app.rs:576:24 [INFO] [stdout] | [INFO] [stdout] 576 | panic!(format!("Template not found: {}", template_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 576 | panic!("Template not found: {}", template_name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.69s [INFO] running `Command { std: "docker" "inspect" "10d3ceaea161e644232a1f8c6a2cec85b40ec669317c9d1db7d431f0005528e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d3ceaea161e644232a1f8c6a2cec85b40ec669317c9d1db7d431f0005528e9", kill_on_drop: false }` [INFO] [stdout] 10d3ceaea161e644232a1f8c6a2cec85b40ec669317c9d1db7d431f0005528e9 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66506c25b7570f1196d6b9d4339be35ccb0bd650cff75009d1eaba4a2630ada2 [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" "66506c25b7570f1196d6b9d4339be35ccb0bd650cff75009d1eaba4a2630ada2", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/app.rs:567:36 [INFO] [stderr] | [INFO] [stderr] 567 | ... panic!(format!("Template compile error: {}", err)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 567 | panic!("Template compile error: {}", err); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/app.rs:571:32 [INFO] [stderr] | [INFO] [stderr] 571 | panic!(format!("Template {} can't be loaded: {}", template_name, err)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 571 | panic!("Template {} can't be loaded: {}", template_name, err); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/app.rs:576:24 [INFO] [stderr] | [INFO] [stderr] 576 | panic!(format!("Template not found: {}", template_name)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 576 | panic!("Template not found: {}", template_name); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/app.rs:567:36 [INFO] [stderr] | [INFO] [stderr] 567 | ... panic!(format!("Template compile error: {}", err)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 567 | panic!("Template compile error: {}", err); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/app.rs:571:32 [INFO] [stderr] | [INFO] [stderr] 571 | panic!(format!("Template {} can't be loaded: {}", template_name, err)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 571 | panic!("Template {} can't be loaded: {}", template_name, err); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/app.rs:576:24 [INFO] [stderr] | [INFO] [stderr] 576 | panic!(format!("Template not found: {}", template_name)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 576 | panic!("Template not found: {}", template_name); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sharp_pencil-324482f727da3a90) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test httputils::test_get_name_by_http_code ... ok [INFO] [stderr] Running tests/test_basic.rs (/opt/rustwide/target/debug/deps/test_basic-7de84e4ae023563a) [INFO] [stdout] test routing::test_basic_routing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/test_config.rs (/opt/rustwide/target/debug/deps/test_config-676f3373cb92c9dd) [INFO] [stdout] test foo ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_config_from_envvar ... ok [INFO] [stdout] test test_config_from_file ... ok [INFO] [stdout] test test_config_basic_set ... ok [INFO] [stdout] test test_config_from_object ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_datastructures.rs (/opt/rustwide/target/debug/deps/test_datastructures-cf6aabe787f8d07e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_multi_dict_basic_interface ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_errors.rs (/opt/rustwide/target/debug/deps/test_errors-823e6a62c782bd77) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_http_error_name ... ok [INFO] [stdout] test test_http_error_to_response ... ok [INFO] [stdout] test test_http_error_get_body ... ok [INFO] [stdout] test test_http_error_code ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_helpers.rs (/opt/rustwide/target/debug/deps/test_helpers-a9b0c1c38765f0f1) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_escape ... ok [INFO] [stdout] test test_redirect ... ok [INFO] [stdout] test test_safe_join ... ok [INFO] [stdout] test test_abort ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sharp_pencil [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/app.rs - app::Pencil::route (line 175) ... ignored [INFO] [stdout] test src/app.rs - app::Pencil::test_client (line 385) ... ignored [INFO] [stdout] test src/helpers.rs - helpers::PathBound::open_resource (line 32) ... ignored [INFO] [stdout] test src/json.rs - json::jsonify (line 13) ... ignored [INFO] [stdout] test src/templating.rs - templating::FileSystemLoader::new (line 69) ... ignored [INFO] [stdout] test src/wrappers.rs - wrappers::Response::new (line 391) ... ignored [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/config.rs - config::Config (line 12) ... ok [INFO] [stdout] test src/helpers.rs - helpers::PathBound::open_resource (line 41) ... ok [INFO] [stdout] test src/app.rs - app::Pencil::httperrorhandler (line 280) ... ok [INFO] [stdout] test src/http_errors.rs - http_errors::HTTPError (line 56) ... ok [INFO] [stdout] test src/config.rs - config::Config (line 20) ... ok [INFO] [stdout] test src/app.rs - app::Pencil::new (line 104) ... ok [INFO] [stdout] test src/app.rs - app::Pencil::usererrorhandler (line 337) ... ok [INFO] [stdout] test src/http_errors.rs - http_errors::HTTPError (line 44) ... ok [INFO] [stdout] test src/app.rs - app::Pencil::usererrorhandler (line 304) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 1.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66506c25b7570f1196d6b9d4339be35ccb0bd650cff75009d1eaba4a2630ada2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66506c25b7570f1196d6b9d4339be35ccb0bd650cff75009d1eaba4a2630ada2", kill_on_drop: false }` [INFO] [stdout] 66506c25b7570f1196d6b9d4339be35ccb0bd650cff75009d1eaba4a2630ada2