[INFO] cloning repository https://github.com/mmktomato/rust-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmktomato/rust-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmktomato%2Frust-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmktomato%2Frust-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93f6d2112f43b279406a94f0ba3ce490c6acd87b [INFO] checking mmktomato/rust-calculator against master#f82664191d0e8764b7435b9d72eb0e366b8b1464 for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmktomato%2Frust-calculator" "/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/mmktomato/rust-calculator on toolchain f82664191d0e8764b7435b9d72eb0e366b8b1464 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmktomato/rust-calculator [INFO] finished tweaking git repo https://github.com/mmktomato/rust-calculator [INFO] tweaked toml for git repo https://github.com/mmktomato/rust-calculator written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/mmktomato/rust-calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "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] 7e0609535b02a49bd9ecbbe35f089d7f914a09a3d6b20b122fb6cb9a669c0c3a [INFO] running `Command { std: "docker" "start" "-a" "7e0609535b02a49bd9ecbbe35f089d7f914a09a3d6b20b122fb6cb9a669c0c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e0609535b02a49bd9ecbbe35f089d7f914a09a3d6b20b122fb6cb9a669c0c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0609535b02a49bd9ecbbe35f089d7f914a09a3d6b20b122fb6cb9a669c0c3a", kill_on_drop: false }` [INFO] [stdout] 7e0609535b02a49bd9ecbbe35f089d7f914a09a3d6b20b122fb6cb9a669c0c3a [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" "rustops/crates-build-env@sha256:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaf722a2b9b82f026cb9a29cb26cb2728b2bc939180ccd14735e4449993fbe92 [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" "eaf722a2b9b82f026cb9a29cb26cb2728b2bc939180ccd14735e4449993fbe92", kill_on_drop: false }` [INFO] [stderr] Checking rust-calculator v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:88:53 [INFO] [stdout] | [INFO] [stdout] 88 | tokenutil::TokenType::Operator(o) => panic!(format!("expression can't start with operator {} .", o)), [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] = 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] 88 | tokenutil::TokenType::Operator(o) => panic!("expression can't start with operator {} .", o), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | tokenutil::TokenType::Operator(o) => panic!(format!("expression can't end with operator {} .", o)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 94 | tokenutil::TokenType::Operator(o) => panic!("expression can't end with operator {} .", o), [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/main.rs:88:53 [INFO] [stdout] | [INFO] [stdout] 88 | tokenutil::TokenType::Operator(o) => panic!(format!("expression can't start with operator {} .", o)), [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] = 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] 88 | tokenutil::TokenType::Operator(o) => panic!("expression can't start with operator {} .", o), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | tokenutil::TokenType::Operator(o) => panic!(format!("expression can't end with operator {} .", o)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 94 | tokenutil::TokenType::Operator(o) => panic!("expression can't end with operator {} .", o), [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 0.51s [INFO] running `Command { std: "docker" "inspect" "eaf722a2b9b82f026cb9a29cb26cb2728b2bc939180ccd14735e4449993fbe92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf722a2b9b82f026cb9a29cb26cb2728b2bc939180ccd14735e4449993fbe92", kill_on_drop: false }` [INFO] [stdout] eaf722a2b9b82f026cb9a29cb26cb2728b2bc939180ccd14735e4449993fbe92