[INFO] updating cached repository https://github.com/agalakhov/nc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22019f497a9f4ae5cae4665e2ce95fb67fe7d7a1 [INFO] checking agalakhov/nc against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagalakhov%2Fnc" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agalakhov/nc on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agalakhov/nc [INFO] finished tweaking git repo https://github.com/agalakhov/nc [INFO] tweaked toml for git repo https://github.com/agalakhov/nc written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/agalakhov/nc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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] fb1ab1190a6ec00c2102937fe4587c67615b4ba3873071682b15d650e37bb33a [INFO] running `Command { std: "docker" "start" "-a" "fb1ab1190a6ec00c2102937fe4587c67615b4ba3873071682b15d650e37bb33a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb1ab1190a6ec00c2102937fe4587c67615b4ba3873071682b15d650e37bb33a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1ab1190a6ec00c2102937fe4587c67615b4ba3873071682b15d650e37bb33a", kill_on_drop: false }` [INFO] [stdout] fb1ab1190a6ec00c2102937fe4587c67615b4ba3873071682b15d650e37bb33a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 059bf33e6414a7e37510dedf88421e335dc0bca5603f75fe8d1b3f2586bcf0e1 [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" "059bf33e6414a7e37510dedf88421e335dc0bca5603f75fe8d1b3f2586bcf0e1", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking nc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `a` [INFO] [stdout] --> src/expr.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | -^ expected one of 10 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 36 | Expr::Mul(_, box Expr::Val) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/expr.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | Expr::Mul(_, box Expr::Val) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 7 | Add(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 36 | Expr::Mul(_, box Expr::Val) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/expr.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 36 | Expr::Mul(_, box Expr::Val) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Expr::Val` [INFO] [stdout] --> src/expr.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 5 | Val(f64), [INFO] [stdout] | -------- `Expr::Val` defined here [INFO] [stdout] ... [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^ did you mean `Expr::Val( /* fields */ )`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 7 | Add(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0425, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nc`. [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[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 7 | Add(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 31 | Expr::Add(box Expr::Val a, box b) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 7 | Add(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 32 | Expr::Add(box b, box Expr::Val a) if a == 0.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 35 | Expr::Mul(box Expr::Val a, _) if a == 0.0 => Expr::Val(0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 37 | Expr::Mul(box Expr::Val a, box b) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/expr.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 8 | Mul(Box, Box), [INFO] [stdout] | ------------------------- tuple variant defined here [INFO] [stdout] ... [INFO] [stdout] 38 | Expr::Mul(box b, box Expr::Val a) if a == 1.0 => b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0425, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "059bf33e6414a7e37510dedf88421e335dc0bca5603f75fe8d1b3f2586bcf0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059bf33e6414a7e37510dedf88421e335dc0bca5603f75fe8d1b3f2586bcf0e1", kill_on_drop: false }` [INFO] [stdout] 059bf33e6414a7e37510dedf88421e335dc0bca5603f75fe8d1b3f2586bcf0e1