[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] checking haroonrl/test against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharoonrl%2Ftest" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haroonrl/test on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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] 2b44377aa374e485ec348fed8d7c496cd7547cf726145ed69aa5e60f48e43de3 [INFO] running `Command { std: "docker" "start" "-a" "2b44377aa374e485ec348fed8d7c496cd7547cf726145ed69aa5e60f48e43de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b44377aa374e485ec348fed8d7c496cd7547cf726145ed69aa5e60f48e43de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b44377aa374e485ec348fed8d7c496cd7547cf726145ed69aa5e60f48e43de3", kill_on_drop: false }` [INFO] [stdout] 2b44377aa374e485ec348fed8d7c496cd7547cf726145ed69aa5e60f48e43de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c7ecb4ab4ed51be3844427c2c0017f5787febada78f92798affdb10bf250366 [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" "8c7ecb4ab4ed51be3844427c2c0017f5787febada78f92798affdb10bf250366", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro-hack-impl v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling hexf-parse v0.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking lang-c v0.8.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-hack v0.3.3 [INFO] [stderr] Compiling hexf-impl v0.1.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hexf v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking peg v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking 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: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stderr] warning: build failed, waiting for other jobs to finish... [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: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: build failed [INFO] running `Command { std: "docker" "inspect" "8c7ecb4ab4ed51be3844427c2c0017f5787febada78f92798affdb10bf250366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7ecb4ab4ed51be3844427c2c0017f5787febada78f92798affdb10bf250366", kill_on_drop: false }` [INFO] [stdout] 8c7ecb4ab4ed51be3844427c2c0017f5787febada78f92798affdb10bf250366