[INFO] cloning repository https://github.com/kingsang/mockun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kingsang/mockun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingsang%2Fmockun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingsang%2Fmockun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64e742feb530732d55a872bd471aa4ecc8cd4c01 [INFO] checking kingsang/mockun against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingsang%2Fmockun" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kingsang/mockun on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kingsang/mockun [INFO] finished tweaking git repo https://github.com/kingsang/mockun [INFO] tweaked toml for git repo https://github.com/kingsang/mockun written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/kingsang/mockun already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f62944ba475b988966c2e71979fe9e5823dcbf8661dd3a789387f2da4891ebb3 [INFO] running `Command { std: "docker" "start" "-a" "f62944ba475b988966c2e71979fe9e5823dcbf8661dd3a789387f2da4891ebb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f62944ba475b988966c2e71979fe9e5823dcbf8661dd3a789387f2da4891ebb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62944ba475b988966c2e71979fe9e5823dcbf8661dd3a789387f2da4891ebb3", kill_on_drop: false }` [INFO] [stdout] f62944ba475b988966c2e71979fe9e5823dcbf8661dd3a789387f2da4891ebb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba454abe4577edfa3d3416f1321a45b4263e15742cecdbbd92aa9ba57c9ee35a [INFO] running `Command { std: "docker" "start" "-a" "ba454abe4577edfa3d3416f1321a45b4263e15742cecdbbd92aa9ba57c9ee35a", kill_on_drop: false }` [INFO] [stderr] Checking mockun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:99:70 [INFO] [stdout] | [INFO] [stdout] 99 | let mut file = File::open(file_name).unwrap_or_else(|err| panic!(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 99 | let mut file = File::open(file_name).unwrap_or_else(|err| panic!("{}", err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 99 | let mut file = File::open(file_name).unwrap_or_else(|err| std::panic::panic_any(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:100:68 [INFO] [stdout] | [INFO] [stdout] 100 | file.read_to_string(&mut contents).unwrap_or_else(|err| panic!(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 100 | file.read_to_string(&mut contents).unwrap_or_else(|err| panic!("{}", err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 100 | file.read_to_string(&mut contents).unwrap_or_else(|err| std::panic::panic_any(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | if pair_vec.len() != 2 { panic!(USAGE); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 126 | if pair_vec.len() != 2 { panic!("{}", USAGE); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 126 | if pair_vec.len() != 2 { std::panic::panic_any(USAGE); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | panic!(USAGE); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 135 | panic!("{}", USAGE); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 135 | std::panic::panic_any(USAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:188:79 [INFO] [stdout] | [INFO] [stdout] 188 | flg_index_opt.iter().for_each(|idx| { if args_vec.len() == idx + 1 { panic!(USAGE); } }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 188 | flg_index_opt.iter().for_each(|idx| { if args_vec.len() == idx + 1 { panic!("{}", USAGE); } }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 188 | flg_index_opt.iter().for_each(|idx| { if args_vec.len() == idx + 1 { std::panic::panic_any(USAGE); } }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:99:70 [INFO] [stdout] | [INFO] [stdout] 99 | let mut file = File::open(file_name).unwrap_or_else(|err| panic!(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 99 | let mut file = File::open(file_name).unwrap_or_else(|err| panic!("{}", err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 99 | let mut file = File::open(file_name).unwrap_or_else(|err| std::panic::panic_any(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:100:68 [INFO] [stdout] | [INFO] [stdout] 100 | file.read_to_string(&mut contents).unwrap_or_else(|err| panic!(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 100 | file.read_to_string(&mut contents).unwrap_or_else(|err| panic!("{}", err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 100 | file.read_to_string(&mut contents).unwrap_or_else(|err| std::panic::panic_any(err.to_string() + USAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | if pair_vec.len() != 2 { panic!(USAGE); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 126 | if pair_vec.len() != 2 { panic!("{}", USAGE); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 126 | if pair_vec.len() != 2 { std::panic::panic_any(USAGE); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | panic!(USAGE); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 135 | panic!("{}", USAGE); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 135 | std::panic::panic_any(USAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:188:79 [INFO] [stdout] | [INFO] [stdout] 188 | flg_index_opt.iter().for_each(|idx| { if args_vec.len() == idx + 1 { panic!(USAGE); } }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 188 | flg_index_opt.iter().for_each(|idx| { if args_vec.len() == idx + 1 { panic!("{}", USAGE); } }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 188 | flg_index_opt.iter().for_each(|idx| { if args_vec.len() == idx + 1 { std::panic::panic_any(USAGE); } }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "ba454abe4577edfa3d3416f1321a45b4263e15742cecdbbd92aa9ba57c9ee35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba454abe4577edfa3d3416f1321a45b4263e15742cecdbbd92aa9ba57c9ee35a", kill_on_drop: false }` [INFO] [stdout] ba454abe4577edfa3d3416f1321a45b4263e15742cecdbbd92aa9ba57c9ee35a