[INFO] fetching crate wd_log 0.1.4... [INFO] checking wd_log-0.1.4 against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] extracting crate wd_log 0.1.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate wd_log 0.1.4 on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wd_log 0.1.4 [INFO] finished tweaking crates.io crate wd_log 0.1.4 [INFO] tweaked toml for crates.io crate wd_log 0.1.4 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc0264b2f91157cf2264f77024d6d7567bccd9367b4596c5864a2d8af0361055 [INFO] running `Command { std: "docker" "start" "-a" "cc0264b2f91157cf2264f77024d6d7567bccd9367b4596c5864a2d8af0361055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc0264b2f91157cf2264f77024d6d7567bccd9367b4596c5864a2d8af0361055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0264b2f91157cf2264f77024d6d7567bccd9367b4596c5864a2d8af0361055", kill_on_drop: false }` [INFO] [stdout] cc0264b2f91157cf2264f77024d6d7567bccd9367b4596c5864a2d8af0361055 [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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe04516accda122829dfe554b4075fc716ba143ddd3064a2a187a68dac3a1520 [INFO] running `Command { std: "docker" "start" "-a" "fe04516accda122829dfe554b4075fc716ba143ddd3064a2a187a68dac3a1520", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking wd_log v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DEBUG`, `output` [INFO] [stdout] --> src/lib.rs:15:67 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{show_time, show_file_line, set_prefix, set_level, DEBUG, output, output_to_file, INFO, Level}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log_macro.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let mut value = format!("{}",e.to_string()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | let _res:Option<()> = res_error!(result); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `res_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log_macro.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let mut value = format!("{}\n",e.to_string()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | let _res:Option<()> = res_error_ln!(result); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `res_error_ln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/log_macro.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let mut value = format!("{}",e.to_string()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | let res:Option<&str> = res_error!(result); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `res_error` (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/log_macro.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | panic!(value) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | log_panic!("hello world"); [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 the macro `log_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 140 | panic!("{}", value) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 140 | std::panic::panic_any(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/log_macro.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | panic!(value); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let res = res_panic!(result;"succes"); [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 the macro `res_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 242 | panic!("{}", value); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 242 | std::panic::panic_any(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/log_macro.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | panic!(value); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let _ = res_panic!(result;"this is {}","error"); [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 the macro `res_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 242 | panic!("{}", value); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 242 | std::panic::panic_any(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "fe04516accda122829dfe554b4075fc716ba143ddd3064a2a187a68dac3a1520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe04516accda122829dfe554b4075fc716ba143ddd3064a2a187a68dac3a1520", kill_on_drop: false }` [INFO] [stdout] fe04516accda122829dfe554b4075fc716ba143ddd3064a2a187a68dac3a1520