[INFO] cloning repository https://github.com/tanium/octobot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanium/octobot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanium%2Foctobot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanium%2Foctobot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0859d5306d504a85e522d1a06251af61de70fecc [INFO] checking tanium/octobot against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanium%2Foctobot" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanium/octobot on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tanium/octobot [INFO] finished tweaking git repo https://github.com/tanium/octobot [INFO] tweaked toml for git repo https://github.com/tanium/octobot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tanium/octobot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db24b781d0cfef4dbe6f585edac29ae651387b0bf5e36ca2e0cd55812303fcdf [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" "db24b781d0cfef4dbe6f585edac29ae651387b0bf5e36ca2e0cd55812303fcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db24b781d0cfef4dbe6f585edac29ae651387b0bf5e36ca2e0cd55812303fcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db24b781d0cfef4dbe6f585edac29ae651387b0bf5e36ca2e0cd55812303fcdf", kill_on_drop: false }` [INFO] [stdout] db24b781d0cfef4dbe6f585edac29ae651387b0bf5e36ca2e0cd55812303fcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adeed0572b4fd60ae072727653e1eaf90ab2bedbb9768ed270446686fbdc597a [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" "adeed0572b4fd60ae072727653e1eaf90ab2bedbb9768ed270446686fbdc597a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling libsqlite3-sys v0.13.0 [INFO] [stderr] Checking nom v5.1.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking rpassword v3.0.2 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking openldap v1.2.2 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rusqlite v0.17.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking conventional v0.5.0 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking unidiff v0.3.3 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking webpki v0.19.1 [INFO] [stderr] Checking sct v0.5.0 [INFO] [stderr] Checking ct-logs v0.5.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rustls v0.15.2 [INFO] [stderr] Checking webpki-roots v0.16.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking tokio-rustls v0.9.4 [INFO] [stderr] Checking hyper-rustls v0.16.1 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking jsonwebtoken v5.0.1 (https://github.com/matthauck/jsonwebtoken?rev=f4c2ab6a380bb85e931a5586cc6ca9fd8dda3ace#f4c2ab6a) [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking octobot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_jira.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(calls.len() > 0, format!("Unexpected call to get_issue {}", key)); [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] 122 | assert!(calls.len() > 0, "Unexpected call to get_issue {}", key); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_worker.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(reqs.len() > 0, format!("Unexpected request to worker {}", self.name)); [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] 64 | assert!(reqs.len() > 0, "Unexpected request to worker {}", self.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] --> tests/mocks/mock_jira.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(calls.len() > 0, format!("Unexpected call to get_issue {}", key)); [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] 122 | assert!(calls.len() > 0, "Unexpected call to get_issue {}", key); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_worker.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(reqs.len() > 0, format!("Unexpected request to worker {}", self.name)); [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] 64 | assert!(reqs.len() > 0, "Unexpected request to worker {}", self.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] --> tests/mocks/mock_jira.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(calls.len() > 0, format!("Unexpected call to get_issue {}", key)); [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] 122 | assert!(calls.len() > 0, "Unexpected call to get_issue {}", key); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_worker.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(reqs.len() > 0, format!("Unexpected request to worker {}", self.name)); [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] 64 | assert!(reqs.len() > 0, "Unexpected request to worker {}", self.name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_jira.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(calls.len() > 0, format!("Unexpected call to get_issue {}", key)); [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] 122 | assert!(calls.len() > 0, "Unexpected call to get_issue {}", key); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_worker.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(reqs.len() > 0, format!("Unexpected request to worker {}", self.name)); [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] 64 | assert!(reqs.len() > 0, "Unexpected request to worker {}", self.name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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] --> tests/mocks/mock_jira.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(calls.len() > 0, format!("Unexpected call to get_issue {}", key)); [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] 122 | assert!(calls.len() > 0, "Unexpected call to get_issue {}", key); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_worker.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(reqs.len() > 0, format!("Unexpected request to worker {}", self.name)); [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] 64 | assert!(reqs.len() > 0, "Unexpected request to worker {}", self.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] --> tests/mocks/mock_jira.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(calls.len() > 0, format!("Unexpected call to get_issue {}", key)); [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] 122 | assert!(calls.len() > 0, "Unexpected call to get_issue {}", key); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/mocks/mock_worker.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(reqs.len() > 0, format!("Unexpected request to worker {}", self.name)); [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] 64 | assert!(reqs.len() > 0, "Unexpected request to worker {}", self.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/repo_version.rs:309:63 [INFO] [stdout] | [INFO] [stdout] 309 | assert!(err.contains("Error running version script"), err); [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] 309 | assert!(err.contains("Error running version script"), "{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/repo_version.rs:310:42 [INFO] [stdout] | [INFO] [stdout] 310 | assert!(err.contains("out-err"), err); [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] 310 | assert!(err.contains("out-err"), "{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/repo_version.rs:311:42 [INFO] [stdout] | [INFO] [stdout] 311 | assert!(err.contains("err-err"), err); [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] 311 | assert!(err.contains("err-err"), "{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/repo_version.rs:328:63 [INFO] [stdout] | [INFO] [stdout] 328 | assert!(err.contains("Error running version script"), err); [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] 328 | assert!(err.contains("Error running version script"), "{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/repo_version.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | assert!(err.contains("some error"), err); [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] 329 | assert!(err.contains("some error"), "{}", err); [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 1m 56s [INFO] running `Command { std: "docker" "inspect" "adeed0572b4fd60ae072727653e1eaf90ab2bedbb9768ed270446686fbdc597a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adeed0572b4fd60ae072727653e1eaf90ab2bedbb9768ed270446686fbdc597a", kill_on_drop: false }` [INFO] [stdout] adeed0572b4fd60ae072727653e1eaf90ab2bedbb9768ed270446686fbdc597a