[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 master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkingsang%2Fmockun" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kingsang/mockun 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 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-12/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6639bb50c1601672f06060227da47bdee576427ee5e819ec9f8b69dcbfe67f31 [INFO] running `Command { std: "docker" "start" "-a" "6639bb50c1601672f06060227da47bdee576427ee5e819ec9f8b69dcbfe67f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6639bb50c1601672f06060227da47bdee576427ee5e819ec9f8b69dcbfe67f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6639bb50c1601672f06060227da47bdee576427ee5e819ec9f8b69dcbfe67f31", kill_on_drop: false }` [INFO] [stdout] 6639bb50c1601672f06060227da47bdee576427ee5e819ec9f8b69dcbfe67f31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] ccc4923782e5e9c0cc4e13a8ed5e002567e25d79074c1cd98cfe75a590c155cd [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" "ccc4923782e5e9c0cc4e13a8ed5e002567e25d79074c1cd98cfe75a590c155cd", 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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: 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "ccc4923782e5e9c0cc4e13a8ed5e002567e25d79074c1cd98cfe75a590c155cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc4923782e5e9c0cc4e13a8ed5e002567e25d79074c1cd98cfe75a590c155cd", kill_on_drop: false }` [INFO] [stdout] ccc4923782e5e9c0cc4e13a8ed5e002567e25d79074c1cd98cfe75a590c155cd