[INFO] cloning repository https://github.com/robinmoussu/Pyrite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robinmoussu/Pyrite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinmoussu%2FPyrite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinmoussu%2FPyrite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5875975c39645c2bb8d655de64f781b3484e89a [INFO] checking robinmoussu/Pyrite against master#8387315ab3c26a57a1f53a90f188f0bc88514bca for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinmoussu%2FPyrite" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinmoussu/Pyrite on toolchain 8387315ab3c26a57a1f53a90f188f0bc88514bca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinmoussu/Pyrite [INFO] finished tweaking git repo https://github.com/robinmoussu/Pyrite [INFO] tweaked toml for git repo https://github.com/robinmoussu/Pyrite written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robinmoussu/Pyrite 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" "+8387315ab3c26a57a1f53a90f188f0bc88514bca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking robinmoussu/Pyrite against try#fcc50f77e1a14e407d895972348a0ff09eafc210 for pr-124605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobinmoussu%2FPyrite" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robinmoussu/Pyrite on toolchain fcc50f77e1a14e407d895972348a0ff09eafc210 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robinmoussu/Pyrite [INFO] finished tweaking git repo https://github.com/robinmoussu/Pyrite [INFO] tweaked toml for git repo https://github.com/robinmoussu/Pyrite written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robinmoussu/Pyrite 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" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31dba3bfe847b9523165f2bf6b843c541b3d748176abf463533c9d817e588990 [INFO] running `Command { std: "docker" "start" "-a" "31dba3bfe847b9523165f2bf6b843c541b3d748176abf463533c9d817e588990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31dba3bfe847b9523165f2bf6b843c541b3d748176abf463533c9d817e588990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31dba3bfe847b9523165f2bf6b843c541b3d748176abf463533c9d817e588990", kill_on_drop: false }` [INFO] [stdout] 31dba3bfe847b9523165f2bf6b843c541b3d748176abf463533c9d817e588990 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+fcc50f77e1a14e407d895972348a0ff09eafc210" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5f848a82e24a58e270ce4859c72757dc8e96e8a96d83e3ed4676fcc3e0664b9 [INFO] running `Command { std: "docker" "start" "-a" "d5f848a82e24a58e270ce4859c72757dc8e96e8a96d83e3ed4676fcc3e0664b9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking pyrite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0072]: recursive types `BinaryExpression` and `Expression` have infinite size [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | left: Expression, [INFO] [stdout] | ---------- recursive without indirection [INFO] [stdout] ... [INFO] [stdout] 72 | enum Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | Parenthesis(Box), [INFO] [stdout] 74 | BinaryExpression(BinaryExpression), [INFO] [stdout] | ---------------- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 66 ~ left: Box, [INFO] [stdout] 67 | op: BinaryOperator, [INFO] [stdout] ... [INFO] [stdout] 73 | Parenthesis(Box), [INFO] [stdout] 74 ~ BinaryExpression(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive types `BinaryExpression` and `Expression` have infinite size [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | left: Expression, [INFO] [stdout] | ---------- recursive without indirection [INFO] [stdout] ... [INFO] [stdout] 72 | enum Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | Parenthesis(Box), [INFO] [stdout] 74 | BinaryExpression(BinaryExpression), [INFO] [stdout] | ---------------- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 66 ~ left: Box, [INFO] [stdout] 67 | op: BinaryOperator, [INFO] [stdout] ... [INFO] [stdout] 73 | Parenthesis(Box), [INFO] [stdout] 74 ~ BinaryExpression(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `BinaryExpression` [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires computing drop-check constraints for `Expression`... [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | enum Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires computing drop-check constraints for `BinaryExpression`, completing the cycle [INFO] [stdout] = note: cycle used when computing dropck types for `core::result::Result<(BinaryExpression, &str), ParseError>` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0391. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 258 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | right: 4, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 260 | right: Expression::Value(4), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 266 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:268:42 [INFO] [stdout] | [INFO] [stdout] 268 | right: Expression::Value(Box::new(4)), [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `i32`, found `Box<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found struct `Box<{integer}>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Value(Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider unboxing the value [INFO] [stdout] | [INFO] [stdout] 268 | right: Expression::Value(*Box::new(4)), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 274 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyrite` (bin "pyrite") due to 3 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 277 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:278:45 [INFO] [stdout] | [INFO] [stdout] 278 | op: BinaryOperator::Sub(Div), [INFO] [stdout] | ------------------- ^^^ expected `Sub`, found `Div` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Sub(Sub), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 279 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:276:57 [INFO] [stdout] | [INFO] [stdout] 276 | right: Expression::Parenthesis(Box::new(BinaryExpression { [INFO] [stdout] | ________________________________________________--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 277 | | left: 3, [INFO] [stdout] 278 | | op: BinaryOperator::Sub(Div), [INFO] [stdout] 279 | | right: 2, [INFO] [stdout] 280 | | })), [INFO] [stdout] | |_________________^ expected `Parenthesis`, found `BinaryExpression` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/fcc50f77e1a14e407d895972348a0ff09eafc210/library/alloc/src/boxed.rs:216:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 286 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | right: 4, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 288 | right: Expression::Value(4), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 301 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 303 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 303 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 310 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 312 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 325 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 327 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 340 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 342 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 350 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 350 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 352 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | left: 3, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 360 | left: Expression::Value(3), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | right: 2, [INFO] [stdout] | ^ expected `Expression`, found integer [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `Expression::Value` [INFO] [stdout] | [INFO] [stdout] 362 | right: Expression::Value(2), [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `BinaryExpression` [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires computing drop-check constraints for `Expression`... [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | enum Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires computing drop-check constraints for `BinaryExpression`, completing the cycle [INFO] [stdout] = note: cycle used when computing dropck types for `core::result::Result<(BinaryExpression, &str), ParseError>` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyrite` (bin "pyrite" test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "d5f848a82e24a58e270ce4859c72757dc8e96e8a96d83e3ed4676fcc3e0664b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f848a82e24a58e270ce4859c72757dc8e96e8a96d83e3ed4676fcc3e0664b9", kill_on_drop: false }` [INFO] [stdout] d5f848a82e24a58e270ce4859c72757dc8e96e8a96d83e3ed4676fcc3e0664b9