[INFO] cloning repository https://github.com/portal-co/wax
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/wax" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwax", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwax'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52eada68014fb1a95eb28a7614d021d91672106f
[INFO] testing portal-co/wax against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fwax" "/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/portal-co/wax
[INFO] finished tweaking git repo https://github.com/portal-co/wax
[INFO] tweaked toml for git repo https://github.com/portal-co/wax written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/portal-co/wax on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/portal-co/wax 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2651a61002cdaeac50ead2f079e6960507075592ac151a6e2c2df3f1afb09cb7
[INFO] running `Command { std: "docker" "start" "-a" "2651a61002cdaeac50ead2f079e6960507075592ac151a6e2c2df3f1afb09cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2651a61002cdaeac50ead2f079e6960507075592ac151a6e2c2df3f1afb09cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2651a61002cdaeac50ead2f079e6960507075592ac151a6e2c2df3f1afb09cb7", kill_on_drop: false }`
[INFO] [stdout] 2651a61002cdaeac50ead2f079e6960507075592ac151a6e2c2df3f1afb09cb7
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3278826ddd492ef52ed7be6315b66c72b51947aca86c441855b0370170fe23df
[INFO] running `Command { std: "docker" "start" "-a" "3278826ddd492ef52ed7be6315b66c72b51947aca86c441855b0370170fe23df", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling wasmparser v0.240.0
[INFO] [stderr]    Compiling wasm-encoder v0.240.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling leb128fmt v0.1.0
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling wax-core v0.1.0 (/opt/rustwide/workdir/crates/wax-core)
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 | use core::{mem::transmute, ops::Range};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockType` and `Function`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 | use wasm_encoder::{BlockType, Function, Instruction, reencode::Reencode};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::build::InstructionSink`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use crate::build::InstructionSink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> crates/wax-core/src/build.rs:130:31
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn instruction(&mut self, ctx: &mut Context, instruction: &Instruction<'_>) -> Result<(), E> {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]   --> crates/wax-core/src/analysis/dce.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         o => {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]    --> crates/wax-core/src/analysis/dce.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         o => {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockty`
[INFO] [stdout]   --> crates/wax-core/src/analysis/scf.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Operator::If { blockty } => {
[INFO] [stdout]    |                            ^^^^^^^ help: try ignoring the field: `blockty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val_type`
[INFO] [stdout]   --> crates/wax-core/src/analysis/scf.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     wasmparser::BlockType::Type(val_type) => Default::default(),
[INFO] [stdout]    |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockty`
[INFO] [stdout]    --> crates/wax-core/src/analysis/scf.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Instruction::If(blockty) => {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> crates/wax-core/src/analysis/scf.rs:134:53
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     wasm_encoder::BlockType::Result(t) => Default::default(),
[INFO] [stdout]     |                                                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.16s
[INFO] running `Command { std: "docker" "inspect" "3278826ddd492ef52ed7be6315b66c72b51947aca86c441855b0370170fe23df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3278826ddd492ef52ed7be6315b66c72b51947aca86c441855b0370170fe23df", kill_on_drop: false }`
[INFO] [stdout] 3278826ddd492ef52ed7be6315b66c72b51947aca86c441855b0370170fe23df
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0c179faa7a0bc55bf6eb027c5e3bf9af9ccc9a1c08067f9c78fb60fa0ba90c0b
[INFO] running `Command { std: "docker" "start" "-a" "0c179faa7a0bc55bf6eb027c5e3bf9af9ccc9a1c08067f9c78fb60fa0ba90c0b", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 | use core::{mem::transmute, ops::Range};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockType` and `Function`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 | use wasm_encoder::{BlockType, Function, Instruction, reencode::Reencode};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::build::InstructionSink`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use crate::build::InstructionSink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> crates/wax-core/src/build.rs:130:31
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn instruction(&mut self, ctx: &mut Context, instruction: &Instruction<'_>) -> Result<(), E> {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]   --> crates/wax-core/src/analysis/dce.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         o => {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]    --> crates/wax-core/src/analysis/dce.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         o => {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockty`
[INFO] [stdout]   --> crates/wax-core/src/analysis/scf.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Operator::If { blockty } => {
[INFO] [stdout]    |                            ^^^^^^^ help: try ignoring the field: `blockty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val_type`
[INFO] [stdout]   --> crates/wax-core/src/analysis/scf.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     wasmparser::BlockType::Type(val_type) => Default::default(),
[INFO] [stdout]    |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockty`
[INFO] [stdout]    --> crates/wax-core/src/analysis/scf.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Instruction::If(blockty) => {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> crates/wax-core/src/analysis/scf.rs:134:53
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     wasm_encoder::BlockType::Result(t) => Default::default(),
[INFO] [stdout]     |                                                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling wax-core v0.1.0 (/opt/rustwide/workdir/crates/wax-core)
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 | use core::{mem::transmute, ops::Range};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockType` and `Function`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 | use wasm_encoder::{BlockType, Function, Instruction, reencode::Reencode};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::build::InstructionSink`
[INFO] [stdout]   --> crates/wax-core/src/lib.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use crate::build::InstructionSink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> crates/wax-core/src/build.rs:130:31
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn instruction(&mut self, ctx: &mut Context, instruction: &Instruction<'_>) -> Result<(), E> {
[INFO] [stdout]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]   --> crates/wax-core/src/analysis/dce.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         o => {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]    --> crates/wax-core/src/analysis/dce.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         o => {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockty`
[INFO] [stdout]   --> crates/wax-core/src/analysis/scf.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Operator::If { blockty } => {
[INFO] [stdout]    |                            ^^^^^^^ help: try ignoring the field: `blockty: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val_type`
[INFO] [stdout]   --> crates/wax-core/src/analysis/scf.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     wasmparser::BlockType::Type(val_type) => Default::default(),
[INFO] [stdout]    |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockty`
[INFO] [stdout]    --> crates/wax-core/src/analysis/scf.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |             Instruction::If(blockty) => {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> crates/wax-core/src/analysis/scf.rs:134:53
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     wasm_encoder::BlockType::Result(t) => Default::default(),
[INFO] [stdout]     |                                                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "0c179faa7a0bc55bf6eb027c5e3bf9af9ccc9a1c08067f9c78fb60fa0ba90c0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c179faa7a0bc55bf6eb027c5e3bf9af9ccc9a1c08067f9c78fb60fa0ba90c0b", kill_on_drop: false }`
[INFO] [stdout] 0c179faa7a0bc55bf6eb027c5e3bf9af9ccc9a1c08067f9c78fb60fa0ba90c0b
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e3b69092c965e9a3a3c70ed09cbb997174bb409bb7104713d26a951895ee1876
[INFO] running `Command { std: "docker" "start" "-a" "e3b69092c965e9a3a3c70ed09cbb997174bb409bb7104713d26a951895ee1876", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ops::Range`
[INFO] [stderr]   --> crates/wax-core/src/lib.rs:32:28
[INFO] [stderr]    |
[INFO] [stderr] 32 | use core::{mem::transmute, ops::Range};
[INFO] [stderr]    |                            ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BlockType` and `Function`
[INFO] [stderr]   --> crates/wax-core/src/lib.rs:35:20
[INFO] [stderr]    |
[INFO] [stderr] 35 | use wasm_encoder::{BlockType, Function, Instruction, reencode::Reencode};
[INFO] [stderr]    |                    ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::build::InstructionSink`
[INFO] [stderr]   --> crates/wax-core/src/lib.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 | use crate::build::InstructionSink;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> crates/wax-core/src/build.rs:130:31
[INFO] [stderr]     |
[INFO] [stderr] 130 |     fn instruction(&mut self, ctx: &mut Context, instruction: &Instruction<'_>) -> Result<(), E> {
[INFO] [stderr]     |                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `o`
[INFO] [stderr]   --> crates/wax-core/src/analysis/dce.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |         o => {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `o`
[INFO] [stderr]    --> crates/wax-core/src/analysis/dce.rs:108:9
[INFO] [stderr]     |
[INFO] [stderr] 108 |         o => {
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blockty`
[INFO] [stderr]   --> crates/wax-core/src/analysis/scf.rs:70:28
[INFO] [stderr]    |
[INFO] [stderr] 70 |             Operator::If { blockty } => {
[INFO] [stderr]    |                            ^^^^^^^ help: try ignoring the field: `blockty: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val_type`
[INFO] [stderr]   --> crates/wax-core/src/analysis/scf.rs:91:49
[INFO] [stderr]    |
[INFO] [stderr] 91 |                     wasmparser::BlockType::Type(val_type) => Default::default(),
[INFO] [stderr]    |                                                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_type`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blockty`
[INFO] [stderr]    --> crates/wax-core/src/analysis/scf.rs:119:29
[INFO] [stderr]     |
[INFO] [stderr] 119 |             Instruction::If(blockty) => {
[INFO] [stderr]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockty`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> crates/wax-core/src/analysis/scf.rs:134:53
[INFO] [stderr]     |
[INFO] [stderr] 134 |                     wasm_encoder::BlockType::Result(t) => Default::default(),
[INFO] [stderr]     |                                                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: `wax-core` (lib) generated 10 warnings (run `cargo fix --lib -p wax-core` to apply 10 suggestions)
[INFO] [stderr] warning: `wax-core` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/wax-core/305a6ff052c669fa/deps/wax_core-305a6ff052c669fa)
[INFO] [stderr]    Doc-tests wax_core
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test crates/wax-core/src/lib.rs - r#static (line 61) - compile ... ok
[INFO] [stdout] test crates/wax-core/src/build.rs - build::FromFn<T>::operator_sink (line 62) - compile ... FAILED
[INFO] [stdout] test crates/wax-core/src/build.rs - build::FromFn<T>::instruction_sink (line 41) - compile ... FAILED
[INFO] [stdout] test crates/wax-core/src/lib.rs - (line 22) - compile ... ok
[INFO] [stdout] test crates/wax-core/src/build.rs - build::FromFn (line 24) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- crates/wax-core/src/build.rs - build::FromFn<T>::operator_sink (line 62) stdout ----
[INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
[INFO] [stdout]   --> crates/wax-core/src/build.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |   let sink = FromFn::operator_sink(|op: &Operator| {
[INFO] [stdout]    |              ^                     --------------- takes 1 argument
[INFO] [stdout]    |  ____________|
[INFO] [stdout]    | |
[INFO] [stdout] 68 | |     // Process operator
[INFO] [stdout] 69 | |     Ok::<(), ()>(())
[INFO] [stdout] 70 | | });
[INFO] [stdout]    | |__^ expected closure that takes 2 arguments
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0593`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/wax-core/src/build.rs - build::FromFn<T>::instruction_sink (line 41) stdout ----
[INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
[INFO] [stdout]   --> crates/wax-core/src/build.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |   let sink = FromFn::instruction_sink(|instr: &Instruction| {
[INFO] [stdout]    |              ^                        --------------------- takes 1 argument
[INFO] [stdout]    |  ____________|
[INFO] [stdout]    | |
[INFO] [stdout] 47 | |     // Process instruction
[INFO] [stdout] 48 | |     Ok::<(), ()>(())
[INFO] [stdout] 49 | | });
[INFO] [stdout]    | |__^ expected closure that takes 2 arguments
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0593`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- crates/wax-core/src/build.rs - build::FromFn (line 24) stdout ----
[INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
[INFO] [stdout]   --> crates/wax-core/src/build.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |   let mut sink = FromFn::instruction_sink(|instr: &Instruction| {
[INFO] [stdout]    |                  ^                        --------------------- takes 1 argument
[INFO] [stdout]    |  ________________|
[INFO] [stdout]    | |
[INFO] [stdout] 30 | |     println!("Got instruction: {:?}", instr);
[INFO] [stdout] 31 | |     Ok::<(), ()>(())
[INFO] [stdout] 32 | | });
[INFO] [stdout]    | |__^ expected closure that takes 2 arguments
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0593`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     crates/wax-core/src/build.rs - build::FromFn (line 24)
[INFO] [stdout]     crates/wax-core/src/build.rs - build::FromFn<T>::instruction_sink (line 41)
[INFO] [stdout]     crates/wax-core/src/build.rs - build::FromFn<T>::operator_sink (line 62)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.19s; merged doctests compilation took 0.09s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e3b69092c965e9a3a3c70ed09cbb997174bb409bb7104713d26a951895ee1876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3b69092c965e9a3a3c70ed09cbb997174bb409bb7104713d26a951895ee1876", kill_on_drop: false }`
[INFO] [stdout] e3b69092c965e9a3a3c70ed09cbb997174bb409bb7104713d26a951895ee1876
