[INFO] cloning repository https://github.com/ResidentMario/cosine-similarity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ResidentMario/cosine-similarity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResidentMario%2Fcosine-similarity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResidentMario%2Fcosine-similarity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25f01c81bf0ee093e4b00ba913107491b5d27d36 [INFO] checking ResidentMario/cosine-similarity against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResidentMario%2Fcosine-similarity" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ResidentMario/cosine-similarity on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ResidentMario/cosine-similarity [INFO] finished tweaking git repo https://github.com/ResidentMario/cosine-similarity [INFO] tweaked toml for git repo https://github.com/ResidentMario/cosine-similarity written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ResidentMario/cosine-similarity already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c20ba73555ce9fd3ffc713058064fe7d66948fcf7eb7248c3bc0cc6a6d63e9e [INFO] running `Command { std: "docker" "start" "-a" "2c20ba73555ce9fd3ffc713058064fe7d66948fcf7eb7248c3bc0cc6a6d63e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c20ba73555ce9fd3ffc713058064fe7d66948fcf7eb7248c3bc0cc6a6d63e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c20ba73555ce9fd3ffc713058064fe7d66948fcf7eb7248c3bc0cc6a6d63e9e", kill_on_drop: false }` [INFO] [stdout] 2c20ba73555ce9fd3ffc713058064fe7d66948fcf7eb7248c3bc0cc6a6d63e9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab984ebd8034935c5ad6644038fa98a45c2304a1f65faf6e0d3c369b725c1e7 [INFO] running `Command { std: "docker" "start" "-a" "dab984ebd8034935c5ad6644038fa98a45c2304a1f65faf6e0d3c369b725c1e7", kill_on_drop: false }` [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking cosine-similarity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | Err(_) => panic!(format!("Could not find file {}_{}.json!", media_type, media_name)), [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] = 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] 45 - Err(_) => panic!(format!("Could not find file {}_{}.json!", media_type, media_name)), [INFO] [stdout] 45 + Err(_) => panic!("Could not find file {}_{}.json!", media_type, media_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | Err(_) => panic!(format!("File {}_{}.json is not valid JSON.", media_type, media_name)), [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] = 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] 49 - Err(_) => panic!(format!("File {}_{}.json is not valid JSON.", media_type, media_name)), [INFO] [stdout] 49 + Err(_) => panic!("File {}_{}.json is not valid JSON.", media_type, media_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | Err(_) => panic!(format!("Could not find file {}_{}.json!", media_type, media_name)), [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] = 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] 45 - Err(_) => panic!(format!("Could not find file {}_{}.json!", media_type, media_name)), [INFO] [stdout] 45 + Err(_) => panic!("Could not find file {}_{}.json!", media_type, media_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | Err(_) => panic!(format!("File {}_{}.json is not valid JSON.", media_type, media_name)), [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] = 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] 49 - Err(_) => panic!(format!("File {}_{}.json is not valid JSON.", media_type, media_name)), [INFO] [stdout] 49 + Err(_) => panic!("File {}_{}.json is not valid JSON.", media_type, media_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "dab984ebd8034935c5ad6644038fa98a45c2304a1f65faf6e0d3c369b725c1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab984ebd8034935c5ad6644038fa98a45c2304a1f65faf6e0d3c369b725c1e7", kill_on_drop: false }` [INFO] [stdout] dab984ebd8034935c5ad6644038fa98a45c2304a1f65faf6e0d3c369b725c1e7