[INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-rebase.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys/hooks/pre-rebase.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/push-to-checkout.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys/hooks/push-to-checkout.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/z2z63/json_parser_toys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z2z63/json_parser_toys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6886ac62aec562559e80eb9c59a8884d50d71958 [INFO] checking z2z63/json_parser_toys against master#96cfc75584359ae7ad11cc45968059f29e7b44b7 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz2z63%2Fjson_parser_toys" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/z2z63/json_parser_toys on toolchain 96cfc75584359ae7ad11cc45968059f29e7b44b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/z2z63/json_parser_toys [INFO] finished tweaking git repo https://github.com/z2z63/json_parser_toys [INFO] tweaked toml for git repo https://github.com/z2z63/json_parser_toys written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/z2z63/json_parser_toys 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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ae3cb8f21249a4d57fe500e3c0af776e2f14ca78fc747cabf7057d0d80bd8ff [INFO] running `Command { std: "docker" "start" "-a" "8ae3cb8f21249a4d57fe500e3c0af776e2f14ca78fc747cabf7057d0d80bd8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ae3cb8f21249a4d57fe500e3c0af776e2f14ca78fc747cabf7057d0d80bd8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae3cb8f21249a4d57fe500e3c0af776e2f14ca78fc747cabf7057d0d80bd8ff", kill_on_drop: false }` [INFO] [stdout] 8ae3cb8f21249a4d57fe500e3c0af776e2f14ca78fc747cabf7057d0d80bd8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f4386abe66c9efe304662ae68e90356ec0823282e0cdf192c4bf5ad92bf019f [INFO] running `Command { std: "docker" "start" "-a" "7f4386abe66c9efe304662ae68e90356ec0823282e0cdf192c4bf5ad92bf019f", kill_on_drop: false }` [INFO] [stderr] Checking json v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/json/lr_parser.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl LRParser { [INFO] [stdout] | ^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 25 | impl LRParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/json/mod.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, format, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/json/table_driven_parser.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | if (self.value_stack.len() != 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - if (self.value_stack.len() != 1) { [INFO] [stdout] 199 + if self.value_stack.len() != 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Value` [INFO] [stdout] --> src/json/lr_parser.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Lexer, Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/json/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | if (i < arr.len() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (i < arr.len() - 1) { [INFO] [stdout] 75 + if i < arr.len() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefiniteParser` and `IndefiniteParser` [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | use json::{TableDrivenParser, DefiniteParser, IndefiniteParser, Lexer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/json/lr_parser.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl LRParser { [INFO] [stdout] | ^^^^^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 25 | impl LRParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/json/mod.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, format, Formatter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/json/table_driven_parser.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | if (self.value_stack.len() != 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 199 - if (self.value_stack.len() != 1) { [INFO] [stdout] 199 + if self.value_stack.len() != 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Value` [INFO] [stdout] --> src/json/lr_parser.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Lexer, Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/json/mod.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | if (i < arr.len() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (i < arr.len() - 1) { [INFO] [stdout] 75 + if i < arr.len() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefiniteParser` and `IndefiniteParser` [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | use json::{TableDrivenParser, DefiniteParser, IndefiniteParser, Lexer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `Expr` has infinite size [INFO] [stdout] --> src/expr/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Expr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Add(Expr, Expr), [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] 15 | Add(Box, Expr), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `Expr` has infinite size [INFO] [stdout] --> src/expr/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Expr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | Add(Expr, Expr), [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] 15 | Add(Box, Expr), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expr/mod.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse(&mut self) -> Result {} [INFO] [stdout] | ----- ^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/expr/mod.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse(&mut self) -> Result {} [INFO] [stdout] | ----- ^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/json/table_driven_parser.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let value = self.value_stack.pop().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/json/mod.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | Value::Array(arr) => self.fmt_array(f, width), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/json/mod.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | Value::Object(obj) => self.fmt_object(f, width), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `expr::Expr` [INFO] [stdout] --> src/expr/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Expr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing drop-check constraints for `expr::Expr` again [INFO] [stdout] = note: cycle used when computing dropck types for `expr::OPGParser<'_>` [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] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/json/table_driven_parser.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let value = self.value_stack.pop().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/json/mod.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | Value::Array(arr) => self.fmt_array(f, width), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0726. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/json/mod.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | Value::Object(obj) => self.fmt_object(f, width), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json` (bin "json") due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `expr::Expr` [INFO] [stdout] --> src/expr/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Expr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing drop-check constraints for `expr::Expr` again [INFO] [stdout] = note: cycle used when computing dropck types for `expr::OPGParser<'_>` [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] Some errors have detailed explanations: E0072, E0308, E0391, E0726. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json` (bin "json" test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7f4386abe66c9efe304662ae68e90356ec0823282e0cdf192c4bf5ad92bf019f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f4386abe66c9efe304662ae68e90356ec0823282e0cdf192c4bf5ad92bf019f", kill_on_drop: false }` [INFO] [stdout] 7f4386abe66c9efe304662ae68e90356ec0823282e0cdf192c4bf5ad92bf019f