[INFO] cloning repository https://github.com/MaybeS/cs420 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaybeS/cs420" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaybeS%2Fcs420", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaybeS%2Fcs420'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8a69a32768cfcb3ef42fd837803173c759d40af [INFO] checking MaybeS/cs420/e8a69a32768cfcb3ef42fd837803173c759d40af against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaybeS%2Fcs420" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaybeS/cs420 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MaybeS/cs420 [INFO] finished tweaking git repo https://github.com/MaybeS/cs420 [INFO] tweaked toml for git repo https://github.com/MaybeS/cs420 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MaybeS/cs420 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg v0.6.2 [INFO] [stderr] Downloaded peg-macros v0.6.2 [INFO] [stderr] Downloaded lang-c v0.8.1 [INFO] [stderr] Downloaded failure_derive v0.1.7 [INFO] [stderr] Downloaded hexf-parse v0.1.0 [INFO] [stderr] Downloaded proc-macro-hack v0.3.3 [INFO] [stderr] Downloaded hexf v0.1.0 [INFO] [stderr] Downloaded peg-runtime v0.6.2 [INFO] [stderr] Downloaded hexf-impl v0.1.0 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.3.3 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded cc v1.0.52 [INFO] [stderr] Downloaded backtrace v0.3.46 [INFO] [stderr] Downloaded failure v0.1.7 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded syn v1.0.18 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded backtrace-sys v0.1.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e17f006549de17a4a7785fa87de0f2c597ea1c94ede8ac85b90f8dde53ca5137 [INFO] running `Command { std: "docker" "start" "-a" "e17f006549de17a4a7785fa87de0f2c597ea1c94ede8ac85b90f8dde53ca5137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e17f006549de17a4a7785fa87de0f2c597ea1c94ede8ac85b90f8dde53ca5137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17f006549de17a4a7785fa87de0f2c597ea1c94ede8ac85b90f8dde53ca5137", kill_on_drop: false }` [INFO] [stdout] e17f006549de17a4a7785fa87de0f2c597ea1c94ede8ac85b90f8dde53ca5137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a62741c56f63431ef8ef03ccff4adb5b15fb6ceb0b15fd490c6b03a3bfa3652a [INFO] running `Command { std: "docker" "start" "-a" "a62741c56f63431ef8ef03ccff4adb5b15fb6ceb0b15fd490c6b03a3bfa3652a", 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] Compiling syn v1.0.18 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling proc-macro-hack-impl v0.3.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling hexf-parse v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking lang-c v0.8.1 [INFO] [stderr] Compiling proc-macro-hack v0.3.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Checking getrandom v0.1.14 [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 ordered-float v1.0.2 [INFO] [stderr] Compiling hexf-impl v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hexf v0.1.0 [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: elided lifetime has a name [INFO] [stdout] --> src/ir/interp.rs:1166:65 [INFO] [stdout] | [INFO] [stdout] 1165 | impl<'i> State<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 1166 | fn new(ir: &'i TranslationUnit, args: Vec) -> Result { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'i` [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(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: elided lifetime has a name [INFO] [stdout] --> src/ir/interp.rs:1166:65 [INFO] [stdout] | [INFO] [stdout] 1165 | impl<'i> State<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 1166 | fn new(ir: &'i TranslationUnit, args: Vec) -> Result { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'i` [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(elided_named_lifetimes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [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] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/ir/mod.rs:237:79 [INFO] [stdout] | [INFO] [stdout] 237 | .expect("Load instruction must have pointer value as operand") [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 238 | | .deref() [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `dtype::Dtype` does not implement `Deref`, so calling `deref` on `&dtype::Dtype` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 237 - .expect("Load instruction must have pointer value as operand") [INFO] [stdout] 238 - .deref() [INFO] [stdout] 237 + .expect("Load instruction must have pointer value as operand") [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `dtype::Dtype`, implement `Clone` for it [INFO] [stdout] --> src/ir/dtype.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Clone)] [INFO] [stdout] 39 | pub enum Dtype { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message contains braces [INFO] [stdout] --> src/ir/mod.rs:728:35 [INFO] [stdout] | [INFO] [stdout] 728 | 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] 727 | "{}", "constant value generated by `Constant::from_ast_expression` \ [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kecc` (lib test) due to 6 previous errors [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] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/ir/mod.rs:237:79 [INFO] [stdout] | [INFO] [stdout] 237 | .expect("Load instruction must have pointer value as operand") [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 238 | | .deref() [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `dtype::Dtype` does not implement `Deref`, so calling `deref` on `&dtype::Dtype` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 237 - .expect("Load instruction must have pointer value as operand") [INFO] [stdout] 238 - .deref() [INFO] [stdout] 237 + .expect("Load instruction must have pointer value as operand") [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `dtype::Dtype`, implement `Clone` for it [INFO] [stdout] --> src/ir/dtype.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Clone)] [INFO] [stdout] 39 | pub enum Dtype { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message contains braces [INFO] [stdout] --> src/ir/mod.rs:728:35 [INFO] [stdout] | [INFO] [stdout] 728 | 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] 727 | "{}", "constant value generated by `Constant::from_ast_expression` \ [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 usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kecc` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a62741c56f63431ef8ef03ccff4adb5b15fb6ceb0b15fd490c6b03a3bfa3652a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62741c56f63431ef8ef03ccff4adb5b15fb6ceb0b15fd490c6b03a3bfa3652a", kill_on_drop: false }` [INFO] [stdout] a62741c56f63431ef8ef03ccff4adb5b15fb6ceb0b15fd490c6b03a3bfa3652a