[INFO] cloning repository https://github.com/wareya/gammakit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wareya/gammakit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwareya%2Fgammakit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwareya%2Fgammakit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63d217f8ebc291844b8df69db12a03b9c906bef4 [INFO] checking wareya/gammakit against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwareya%2Fgammakit" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wareya/gammakit [INFO] finished tweaking git repo https://github.com/wareya/gammakit [INFO] tweaked toml for git repo https://github.com/wareya/gammakit written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wareya/gammakit on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20355014e3f3bd4a44d5a7e174b4afc314b13fdc267491b1667cd606e29e14c4 [INFO] running `Command { std: "docker" "start" "-a" "20355014e3f3bd4a44d5a7e174b4afc314b13fdc267491b1667cd606e29e14c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20355014e3f3bd4a44d5a7e174b4afc314b13fdc267491b1667cd606e29e14c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20355014e3f3bd4a44d5a7e174b4afc314b13fdc267491b1667cd606e29e14c4", kill_on_drop: false }` [INFO] [stdout] 20355014e3f3bd4a44d5a7e174b4afc314b13fdc267491b1667cd606e29e14c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e65679b98457d84d0e1992ff441e64ad8e28b379c7fb7d83c92b6688cca6bb7a [INFO] running `Command { std: "docker" "start" "-a" "e65679b98457d84d0e1992ff441e64ad8e28b379c7fb7d83c92b6688cca6bb7a", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking gammakit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `stack_len_debugging` [INFO] [stdout] --> src/interpreter/internal.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | if cfg!(stack_len_debugging) && argcount+1 > self.stack_len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "stack_len_debugging"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(stack_len_debugging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stack_len_debugging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `stack_len_debugging` [INFO] [stdout] --> src/interpreter/internal.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | if cfg!(stack_len_debugging) && argcount+1 > self.stack_len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "stack_len_debugging"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(stack_len_debugging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(stack_len_debugging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:612:38 [INFO] [stdout] | [INFO] [stdout] 612 | fn parse_tweak_ast_pass_2(&self, mut ast : &mut ASTNode) -> Result<(), String> [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_op_perf_log` found for struct `interpreter::Interpreter` in the current scope [INFO] [stdout] --> src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | interpreter.print_op_perf_log(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `interpreter::Interpreter` [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Interpreter { [INFO] [stdout] | ---------------------- method `print_op_perf_log` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:612:38 [INFO] [stdout] | [INFO] [stdout] 612 | fn parse_tweak_ast_pass_2(&self, mut ast : &mut ASTNode) -> Result<(), String> [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop_front` is never used [INFO] [stdout] --> src/interpreter/bindings.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait VecHelpers { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 9 | /// Slow; use extract() instead [INFO] [stdout] 10 | fn pop_front(&mut self) -> Option; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loop_start` is never read [INFO] [stdout] --> src/interpreter/types.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub (crate) struct WhileData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub (super) loop_start: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variables` and `loop_end` are never read [INFO] [stdout] --> src/interpreter/types.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub (crate) struct WithData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 25 | pub (super) variables: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | pub (super) loop_start: usize, [INFO] [stdout] 27 | pub (super) loop_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/interpreter/types.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub (crate) struct SwitchData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 47 | pub (super) variables: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwitchData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ident` is never read [INFO] [stdout] --> src/interpreter/types.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub (crate) struct ObjSpec { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 88 | pub (crate) ident: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjSpec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ident` is never read [INFO] [stdout] --> src/interpreter/types.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub (crate) struct Instance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | pub (super) ident: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/simulation.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | panic!(text.to_string()) [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 12 | panic!("{}", text.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/simulation.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(text.to_string()) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 21 | panic!("{}", text.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/simulation.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | panic!(text.to_string()) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 30 | panic!("{}", text.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/simulation.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(text.to_string()) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", text.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter/simulation.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | panic!(format!("internal error: no such operation 0x{:02X}", self.pull_single_from_code())) [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] 156 - panic!(format!("internal error: no such operation 0x{:02X}", self.pull_single_from_code())) [INFO] [stdout] 156 + panic!("internal error: no such operation 0x{:02X}", self.pull_single_from_code()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter/simulation.rs:689:22 [INFO] [stdout] | [INFO] [stdout] 689 | fn binstate_prep(&mut self) -> Result<(ValueLoc, Value), String> [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 689 | fn binstate_prep(&mut self) -> Result<(ValueLoc<'_>, Value), String> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gammakit` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e65679b98457d84d0e1992ff441e64ad8e28b379c7fb7d83c92b6688cca6bb7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65679b98457d84d0e1992ff441e64ad8e28b379c7fb7d83c92b6688cca6bb7a", kill_on_drop: false }` [INFO] [stdout] e65679b98457d84d0e1992ff441e64ad8e28b379c7fb7d83c92b6688cca6bb7a