[INFO] cloning repository https://github.com/guiyuanju/linked_list_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guiyuanju/linked_list_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguiyuanju%2Flinked_list_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguiyuanju%2Flinked_list_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1c9c76062e9abce7070bee19a3c889bb740d9bc [INFO] checking guiyuanju/linked_list_in_rust/f1c9c76062e9abce7070bee19a3c889bb740d9bc against master#d1ed52b1f5b78bf66127b670af813b84d57aeedb for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguiyuanju%2Flinked_list_in_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guiyuanju/linked_list_in_rust [INFO] finished tweaking git repo https://github.com/guiyuanju/linked_list_in_rust [INFO] tweaked toml for git repo https://github.com/guiyuanju/linked_list_in_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guiyuanju/linked_list_in_rust on toolchain d1ed52b1f5b78bf66127b670af813b84d57aeedb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d1ed52b1f5b78bf66127b670af813b84d57aeedb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guiyuanju/linked_list_in_rust 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" "+d1ed52b1f5b78bf66127b670af813b84d57aeedb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d1ed52b1f5b78bf66127b670af813b84d57aeedb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cea46fd2a58db24539899d5e865dc70734c3aa0e3fc7db89208c0c73c4c6938 [INFO] running `Command { std: "docker" "start" "-a" "9cea46fd2a58db24539899d5e865dc70734c3aa0e3fc7db89208c0c73c4c6938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cea46fd2a58db24539899d5e865dc70734c3aa0e3fc7db89208c0c73c4c6938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cea46fd2a58db24539899d5e865dc70734c3aa0e3fc7db89208c0c73c4c6938", kill_on_drop: false }` [INFO] [stdout] 9cea46fd2a58db24539899d5e865dc70734c3aa0e3fc7db89208c0c73c4c6938 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d1ed52b1f5b78bf66127b670af813b84d57aeedb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00a357df06acc1826090d720ba7abf484b00394e68c3eb462c2d7e70c7970c52 [INFO] running `Command { std: "docker" "start" "-a" "00a357df06acc1826090d720ba7abf484b00394e68c3eb462c2d7e70c7970c52", kill_on_drop: false }` [INFO] [stderr] Checking linked_list_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0072]: recursive type `List` has infinite size [INFO] [stdout] --> src/first.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum List { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | Empty, [INFO] [stdout] 3 | Elem(i32, List), [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] 3 | Elem(i32, Box), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linked_list_in_rust` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0072]: recursive type `List` has infinite size [INFO] [stdout] --> src/first.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum List { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | Empty, [INFO] [stdout] 3 | Elem(i32, List), [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] 3 | Elem(i32, Box), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linked_list_in_rust` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "00a357df06acc1826090d720ba7abf484b00394e68c3eb462c2d7e70c7970c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a357df06acc1826090d720ba7abf484b00394e68c3eb462c2d7e70c7970c52", kill_on_drop: false }` [INFO] [stdout] 00a357df06acc1826090d720ba7abf484b00394e68c3eb462c2d7e70c7970c52