[INFO] fetching crate badder_lang 0.1.0... [INFO] checking badder_lang-0.1.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate badder_lang 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate badder_lang 0.1.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39184b72d446cab62f04ec2a0ebf8c3e0a53f8f0b1506aa86b07fd08b3eb70a3 [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" "39184b72d446cab62f04ec2a0ebf8c3e0a53f8f0b1506aa86b07fd08b3eb70a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39184b72d446cab62f04ec2a0ebf8c3e0a53f8f0b1506aa86b07fd08b3eb70a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39184b72d446cab62f04ec2a0ebf8c3e0a53f8f0b1506aa86b07fd08b3eb70a3", kill_on_drop: false }` [INFO] [stdout] 39184b72d446cab62f04ec2a0ebf8c3e0a53f8f0b1506aa86b07fd08b3eb70a3 [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c9a7ec53b91cf2fd9a74cf299fc903b71258a4efbe4a1626d19d1ab54fa89b3 [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" "5c9a7ec53b91cf2fd9a74cf299fc903b71258a4efbe4a1626d19d1ab54fa89b3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [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] Compiling indexmap v1.6.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking badder_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.5 [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 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 12.99s [INFO] running `Command { std: "docker" "inspect" "5c9a7ec53b91cf2fd9a74cf299fc903b71258a4efbe4a1626d19d1ab54fa89b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9a7ec53b91cf2fd9a74cf299fc903b71258a4efbe4a1626d19d1ab54fa89b3", kill_on_drop: false }` [INFO] [stdout] 5c9a7ec53b91cf2fd9a74cf299fc903b71258a4efbe4a1626d19d1ab54fa89b3