[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#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingsang%2Fmockun" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kingsang/mockun on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-22/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9cd5e57e432a6c6e1b9918efeb347851e85801d275c5ef11dde996e5c66e9b8 [INFO] running `Command { std: "docker" "start" "-a" "e9cd5e57e432a6c6e1b9918efeb347851e85801d275c5ef11dde996e5c66e9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9cd5e57e432a6c6e1b9918efeb347851e85801d275c5ef11dde996e5c66e9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9cd5e57e432a6c6e1b9918efeb347851e85801d275c5ef11dde996e5c66e9b8", kill_on_drop: false }` [INFO] [stdout] e9cd5e57e432a6c6e1b9918efeb347851e85801d275c5ef11dde996e5c66e9b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7b035405fb8b96a5a89ffaac8ef21baf789f4356ab27a11f1da0dd28cf42820 [INFO] running `Command { std: "docker" "start" "-a" "a7b035405fb8b96a5a89ffaac8ef21baf789f4356ab27a11f1da0dd28cf42820", 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_panics)]` 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] [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] [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] [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] [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] [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_panics)]` 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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "a7b035405fb8b96a5a89ffaac8ef21baf789f4356ab27a11f1da0dd28cf42820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b035405fb8b96a5a89ffaac8ef21baf789f4356ab27a11f1da0dd28cf42820", kill_on_drop: false }` [INFO] [stdout] a7b035405fb8b96a5a89ffaac8ef21baf789f4356ab27a11f1da0dd28cf42820