[INFO] cloning repository https://github.com/friendlymatthew/whale [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/friendlymatthew/whale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fwhale", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fwhale'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 888c755b5e0df5924fb9b09d9c0a7645ac882d59 [INFO] checking friendlymatthew/whale against try#c0a9760914bada211f4924ee16d41ae1a366d2ba for pr-148545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffriendlymatthew%2Fwhale" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/friendlymatthew/whale [INFO] finished tweaking git repo https://github.com/friendlymatthew/whale [INFO] tweaked toml for git repo https://github.com/friendlymatthew/whale written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/friendlymatthew/whale on toolchain c0a9760914bada211f4924ee16d41ae1a366d2ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/friendlymatthew/whale 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" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 679032c75766d727a4a79ca3df46dbc1ade54e3ee2817c576c4cff126620b37e [INFO] running `Command { std: "docker" "start" "-a" "679032c75766d727a4a79ca3df46dbc1ade54e3ee2817c576c4cff126620b37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "679032c75766d727a4a79ca3df46dbc1ade54e3ee2817c576c4cff126620b37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679032c75766d727a4a79ca3df46dbc1ade54e3ee2817c576c4cff126620b37e", kill_on_drop: false }` [INFO] [stdout] 679032c75766d727a4a79ca3df46dbc1ade54e3ee2817c576c4cff126620b37e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27ed548b8ebcec0f37da313b68489813ae964d6435138dd7acebea90b6ef2118 [INFO] running `Command { std: "docker" "start" "-a" "27ed548b8ebcec0f37da313b68489813ae964d6435138dd7acebea90b6ef2118", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking whale v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let a: i64 = self.stack.pop_as_value()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let b: i64 = self.stack.pop_as_value()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_STRING_SIZE` is never used [INFO] [stdout] --> src/binary_grammar.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_STRING_SIZE: usize = 100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Start` is never constructed [INFO] [stdout] --> src/binary_grammar.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Section<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Start(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResultKind` is never used [INFO] [stdout] --> src/execution_grammar.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum ResultKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arity` and `continuation` are never read [INFO] [stdout] --> src/execution_grammar.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Label { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 214 | pub arity: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 215 | pub continuation: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arity`, `locals`, and `module` are never read [INFO] [stdout] --> src/execution_grammar.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Frame<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 220 | pub arity: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 222 | pub module: ModuleInstance<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` 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 `0` is never read [INFO] [stdout] --> src/execution_grammar.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | Value(Value), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 - Value(Value), [INFO] [stdout] 227 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/execution_grammar.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | Activation(Frame<'a>), [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 229 - Activation(Frame<'a>), [INFO] [stdout] 229 + Activation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/execution_grammar.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub enum Entry<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 227 | Value(Value), [INFO] [stdout] 228 | Label(Label), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_value`, `pop`, `pop_as_value`, `pop_n`, and `len` are never used [INFO] [stdout] --> src/execution_grammar.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl<'a> Stack<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn push_value>(&mut self, value: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn pop(&mut self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn pop_as_value>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn pop_n(&mut self, n: usize) -> Result>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_instances` and `globals` are never read [INFO] [stdout] --> src/interpreter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Interpreter<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | module_instances: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | globals: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invoke_expression` and `invoke_function_call` are never used [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Interpreter<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn invoke_expression(&mut self, expression: Vec, _frame: Frame<'a>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | fn invoke_function_call(&mut self, function_addr: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let a: i64 = self.stack.pop_as_value()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let b: i64 = self.stack.pop_as_value()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_STRING_SIZE` is never used [INFO] [stdout] --> src/binary_grammar.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_STRING_SIZE: usize = 100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Start` is never constructed [INFO] [stdout] --> src/binary_grammar.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Section<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Start(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResultKind` is never used [INFO] [stdout] --> src/execution_grammar.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum ResultKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arity` and `continuation` are never read [INFO] [stdout] --> src/execution_grammar.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Label { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 214 | pub arity: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 215 | pub continuation: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arity`, `locals`, and `module` are never read [INFO] [stdout] --> src/execution_grammar.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Frame<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 220 | pub arity: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 222 | pub module: ModuleInstance<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` 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 `0` is never read [INFO] [stdout] --> src/execution_grammar.rs:227:11 [INFO] [stdout] | [INFO] [stdout] 227 | Value(Value), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 227 - Value(Value), [INFO] [stdout] 227 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/execution_grammar.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | Activation(Frame<'a>), [INFO] [stdout] | ---------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 229 - Activation(Frame<'a>), [INFO] [stdout] 229 + Activation(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/execution_grammar.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub enum Entry<'a> { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 227 | Value(Value), [INFO] [stdout] 228 | Label(Label), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_value`, `pop`, `pop_as_value`, `pop_n`, and `len` are never used [INFO] [stdout] --> src/execution_grammar.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl<'a> Stack<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn push_value>(&mut self, value: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn pop(&mut self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn pop_as_value>(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn pop_n(&mut self, n: usize) -> Result>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_instances` and `globals` are never read [INFO] [stdout] --> src/interpreter.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Interpreter<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | module_instances: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | globals: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invoke_expression` and `invoke_function_call` are never used [INFO] [stdout] --> src/interpreter.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> Interpreter<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn invoke_expression(&mut self, expression: Vec, _frame: Frame<'a>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | fn invoke_function_call(&mut self, function_addr: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "27ed548b8ebcec0f37da313b68489813ae964d6435138dd7acebea90b6ef2118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ed548b8ebcec0f37da313b68489813ae964d6435138dd7acebea90b6ef2118", kill_on_drop: false }` [INFO] [stdout] 27ed548b8ebcec0f37da313b68489813ae964d6435138dd7acebea90b6ef2118