[INFO] updating cached repository https://github.com/mjhd-devlion/json-in-rust [INFO] running `"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"` [INFO] [stderr] From https://github.com/mjhd-devlion/json-in-rust [INFO] [stderr] + 78d65a3...e3ba4ef master -> master (forced update) [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e3ba4efd590b71f275e2b9c33f283b4e37ba6f14 [INFO] checking mjhd-devlion/json-in-rust against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjhd-devlion%2Fjson-in-rust" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjhd-devlion/json-in-rust on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mjhd-devlion/json-in-rust [INFO] finished tweaking git repo https://github.com/mjhd-devlion/json-in-rust [INFO] tweaked toml for git repo https://github.com/mjhd-devlion/json-in-rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/mjhd-devlion/json-in-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26cdc6a12e1aebd7f29483f3d54e42467340359f6373f7fcd37977093b755df9 [INFO] running `"docker" "start" "-a" "26cdc6a12e1aebd7f29483f3d54e42467340359f6373f7fcd37977093b755df9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking json-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0072]: recursive type `Json` has infinite size [INFO] [stderr] --> src/main.rs:492:1 [INFO] [stderr] | [INFO] [stderr] 492 | struct Json(Value); [INFO] [stderr] | ^^^^^^^^^^^^-----^^ [INFO] [stderr] | | | [INFO] [stderr] | | recursive without indirection [INFO] [stderr] | recursive type has infinite size [INFO] [stderr] | [INFO] [stderr] = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `Json` representable [INFO] [stderr] [INFO] [stderr] error[E0072]: recursive type `Value` has infinite size [INFO] [stderr] --> src/main.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495 | enum Value { [INFO] [stderr] | ^^^^^^^^^^ recursive type has infinite size [INFO] [stderr] 496 | JsonValue(Json), [INFO] [stderr] | ---- recursive without indirection [INFO] [stderr] | [INFO] [stderr] = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `Value` representable [INFO] [stderr] [INFO] [stderr] error[E0072]: recursive type `Json` has infinite size [INFO] [stderr] --> src/main.rs:492:1 [INFO] [stderr] | [INFO] [stderr] 492 | struct Json(Value); [INFO] [stderr] | ^^^^^^^^^^^^-----^^ [INFO] [stderr] | | | [INFO] [stderr] | | recursive without indirection [INFO] [stderr] | recursive type has infinite size [INFO] [stderr] | [INFO] [stderr] = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `Json` representable [INFO] [stderr] [INFO] [stderr] error[E0072]: recursive type `Value` has infinite size [INFO] [stderr] --> src/main.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495 | enum Value { [INFO] [stderr] | ^^^^^^^^^^ recursive type has infinite size [INFO] [stderr] 496 | JsonValue(Json), [INFO] [stderr] | ---- recursive without indirection [INFO] [stderr] | [INFO] [stderr] = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `Value` representable [INFO] [stderr] [INFO] [stderr] error[E0391]: cycle detected when processing `Value` [INFO] [stderr] --> src/main.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495 | enum Value { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: ...which requires processing `Json`... [INFO] [stderr] --> src/main.rs:492:1 [INFO] [stderr] | [INFO] [stderr] 492 | struct Json(Value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: ...which again requires processing `Value`, completing the cycle [INFO] [stderr] = note: cycle used when computing dropck types for `Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Region(U0) }], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, def_id: None }, value: ParserContext<'_> } }` [INFO] [stderr] [INFO] [stderr] error[E0391]: cycle detected when processing `Value` [INFO] [stderr] --> src/main.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495 | enum Value { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: ...which requires processing `Json`... [INFO] [stderr] --> src/main.rs:492:1 [INFO] [stderr] | [INFO] [stderr] 492 | struct Json(Value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: ...which again requires processing `Value`, completing the cycle [INFO] [stderr] = note: cycle used when computing dropck types for `Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Region(U0) }], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, def_id: None }, value: ParserContext<'_> } }` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0072, E0391. [INFO] [stderr] For more information about an error, try `rustc --explain E0072`. [INFO] [stderr] error: could not compile `json-in-rust`. [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] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0072, E0391. [INFO] [stderr] For more information about an error, try `rustc --explain E0072`. [INFO] [stderr] error: could not compile `json-in-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "26cdc6a12e1aebd7f29483f3d54e42467340359f6373f7fcd37977093b755df9"` [INFO] running `"docker" "rm" "-f" "26cdc6a12e1aebd7f29483f3d54e42467340359f6373f7fcd37977093b755df9"` [INFO] [stdout] 26cdc6a12e1aebd7f29483f3d54e42467340359f6373f7fcd37977093b755df9