[INFO] cloning repository https://github.com/agalakhov/nc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agalakhov/nc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagalakhov%2Fnc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagalakhov%2Fnc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22019f497a9f4ae5cae4665e2ce95fb67fe7d7a1 [INFO] checking agalakhov/nc against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagalakhov%2Fnc" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agalakhov/nc on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-5/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b973513da5c20aaf7b2a86e9afda2691df655df1592af2dcc1409b42db348156 [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" "b973513da5c20aaf7b2a86e9afda2691df655df1592af2dcc1409b42db348156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b973513da5c20aaf7b2a86e9afda2691df655df1592af2dcc1409b42db348156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b973513da5c20aaf7b2a86e9afda2691df655df1592af2dcc1409b42db348156", kill_on_drop: false }` [INFO] [stdout] b973513da5c20aaf7b2a86e9afda2691df655df1592af2dcc1409b42db348156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45e3f4b64dbf8d23537861f54b97e45cea6d06ca017760d35eb9b67477378fa4 [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" "45e3f4b64dbf8d23537861f54b97e45cea6d06ca017760d35eb9b67477378fa4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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: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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [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] | ^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Expr::Val(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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[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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0425, E0532, E0554. [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0425, E0532, E0554. [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" "45e3f4b64dbf8d23537861f54b97e45cea6d06ca017760d35eb9b67477378fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e3f4b64dbf8d23537861f54b97e45cea6d06ca017760d35eb9b67477378fa4", kill_on_drop: false }` [INFO] [stdout] 45e3f4b64dbf8d23537861f54b97e45cea6d06ca017760d35eb9b67477378fa4