[INFO] fetching crate badder_lang 0.1.0... [INFO] checking badder_lang-0.1.0 against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312 [INFO] extracting crate badder_lang 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate badder_lang 0.1.0 on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate badder_lang 0.1.0 [INFO] finished tweaking crates.io crate badder_lang 0.1.0 [INFO] tweaked toml for crates.io crate badder_lang 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded single_value_channel v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 734da9c6679e07634687dc9c9ce6e545e686458138f15070a3aa0323cba7e829 [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" "734da9c6679e07634687dc9c9ce6e545e686458138f15070a3aa0323cba7e829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "734da9c6679e07634687dc9c9ce6e545e686458138f15070a3aa0323cba7e829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734da9c6679e07634687dc9c9ce6e545e686458138f15070a3aa0323cba7e829", kill_on_drop: false }` [INFO] [stdout] 734da9c6679e07634687dc9c9ce6e545e686458138f15070a3aa0323cba7e829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48d2192e414ee200b8db1d288178bf31d029ee10cc50179b719b8c61fe4af990 [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" "48d2192e414ee200b8db1d288178bf31d029ee10cc50179b719b8c61fe4af990", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Checking single_value_channel v1.2.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking badder_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1092:32 [INFO] [stdout] | [INFO] [stdout] 1092 | Err(err) => panic!(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] 1092 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1092 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1092:32 [INFO] [stdout] | [INFO] [stdout] 1092 | Err(err) => panic!(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] 1092 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1092 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1181:31 [INFO] [stdout] | [INFO] [stdout] 1181 | assert!(out.is_err(), format!("Unexpected {:?}", out)); [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] 1181 | assert!(out.is_err(), "Unexpected {:?}", out); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1322 | / assert_program!("fun rec()"; [INFO] [stdout] 1323 | | " rec()"; [INFO] [stdout] 1324 | | "rec()" =>X "stack overflow"; src = SourceRef((2,5), (2,10))); [INFO] [stdout] | |______________________________________________________________________________________- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1231 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1765 | / assert_program!("if 1"; [INFO] [stdout] 1766 | | " var x = 234"; [INFO] [stdout] 1767 | | "x" =>X "x", "scope"; src = SourceRef((3,1), (3,2))); [INFO] [stdout] | |_____________________________________________________________________________- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1231 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1796 | / assert_program!("var x = 200"; [INFO] [stdout] 1797 | | "if x is not 0"; [INFO] [stdout] 1798 | | " x -= 1"; // dodgy indent [INFO] [stdout] 1799 | | " x += 1"; [INFO] [stdout] 1800 | | "x" =>X "indent"; src = SourceRef((3,1), (3,4))); [INFO] [stdout] | |_________________________________________________________________________- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1231 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1894 | assert_program!("b = 1" =>X "`b`", "not found"; src = SourceRef((1,1), (1,6))); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1231 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1218:21 [INFO] [stdout] | [INFO] [stdout] 1218 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1952 | assert_program!("2 is 2 is 1" =>X "is"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1218 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1218:21 [INFO] [stdout] | [INFO] [stdout] 1218 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1953 | assert_program!("2 > 2 < 1" =>X "<"); [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1218 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1218:21 [INFO] [stdout] | [INFO] [stdout] 1218 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1954 | assert_program!("2 > 2 is 0" =>X "is"); [INFO] [stdout] | --------------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1218 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1218:21 [INFO] [stdout] | [INFO] [stdout] 1218 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2022 | assert_program!("--235" =>X "-"); [INFO] [stdout] | --------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1218 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1218:21 [INFO] [stdout] | [INFO] [stdout] 1218 | format!("Substring:`{}` not in error: `{:?}`", $sub, err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2087 | assert_program!("1/0" =>X "divide by zero"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1218 | "Substring:`{}` not in error: `{:?}`", $sub, err); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.85s [INFO] running `Command { std: "docker" "inspect" "48d2192e414ee200b8db1d288178bf31d029ee10cc50179b719b8c61fe4af990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d2192e414ee200b8db1d288178bf31d029ee10cc50179b719b8c61fe4af990", kill_on_drop: false }` [INFO] [stdout] 48d2192e414ee200b8db1d288178bf31d029ee10cc50179b719b8c61fe4af990