[INFO] cloning repository https://github.com/haroonrl/test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haroonrl/test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharoonrl%2Ftest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharoonrl%2Ftest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43df54da88b18aaed9baa966079ef48d7914ffc2 [INFO] testing haroonrl/test against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharoonrl%2Ftest" "/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/haroonrl/test on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/rust-toolchain [INFO] started tweaking git repo https://github.com/haroonrl/test [INFO] finished tweaking git repo https://github.com/haroonrl/test [INFO] tweaked toml for git repo https://github.com/haroonrl/test written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/haroonrl/test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-macros v0.6.2 [INFO] [stderr] Downloaded peg-runtime v0.6.2 [INFO] [stderr] Downloaded peg v0.6.2 [INFO] [stderr] Downloaded proc-macro-hack v0.3.3 [INFO] [stderr] Downloaded hexf v0.1.0 [INFO] [stderr] Downloaded hexf-impl v0.1.0 [INFO] [stderr] Downloaded hexf-parse v0.1.0 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.3.3 [INFO] [stderr] Downloaded lang-c v0.8.1 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1df00c86c1f24f660d2f77b6b62fd8c8e34074565b3d6fc9574622ef3b36cf9 [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" "d1df00c86c1f24f660d2f77b6b62fd8c8e34074565b3d6fc9574622ef3b36cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1df00c86c1f24f660d2f77b6b62fd8c8e34074565b3d6fc9574622ef3b36cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1df00c86c1f24f660d2f77b6b62fd8c8e34074565b3d6fc9574622ef3b36cf9", kill_on_drop: false }` [INFO] [stdout] d1df00c86c1f24f660d2f77b6b62fd8c8e34074565b3d6fc9574622ef3b36cf9 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", 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] 622dec7b9357a31ea6120a56e6e670e347f02be6a7686a9cd79b5d1d673d03ff [INFO] running `Command { std: "docker" "start" "-a" "622dec7b9357a31ea6120a56e6e670e347f02be6a7686a9cd79b5d1d673d03ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro-hack-impl v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling hexf-parse v0.1.0 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lang-c v0.8.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.3.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling hexf-impl v0.1.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling hexf v0.1.0 [INFO] [stderr] Compiling peg v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling kecc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/c/parse.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | Self::Constant(_) => panic!(AlignmentSpecifier::Constant), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_fmt_panic)]` implied by `#[deny(warnings)]` [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] 185 | Self::Constant(_) => panic!("{}", AlignmentSpecifier::Constant), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 185 | Self::Constant(_) => std::panic::panic_any(AlignmentSpecifier::Constant), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/ir/interp.rs:784:28 [INFO] [stdout] | [INFO] [stdout] 784 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 785 | | "calculate_typecast: not support case \ [INFO] [stdout] 786 | | typecast int to pointer when `value` is {}", [INFO] [stdout] 787 | | value [INFO] [stdout] 788 | | )) [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] 784 | panic!( [INFO] [stdout] 785 | "calculate_typecast: not support case \ [INFO] [stdout] 786 | typecast int to pointer when `value` is {}", [INFO] [stdout] 787 | value [INFO] [stdout] 788 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message contains braces [INFO] [stdout] --> src/ir/mod.rs:733:35 [INFO] [stdout] | [INFO] [stdout] 733 | must be `Constant{{Int, Float}}`" [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 732 | "{}", "constant value generated by `Constant::from_ast_expression` \ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kecc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "622dec7b9357a31ea6120a56e6e670e347f02be6a7686a9cd79b5d1d673d03ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622dec7b9357a31ea6120a56e6e670e347f02be6a7686a9cd79b5d1d673d03ff", kill_on_drop: false }` [INFO] [stdout] 622dec7b9357a31ea6120a56e6e670e347f02be6a7686a9cd79b5d1d673d03ff