[INFO] updating cached repository https://github.com/bsiegel/rust_sample [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] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 259314aa135bb73c0870c5ccfb955afbd78f9471 [INFO] checking bsiegel/rust_sample against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsiegel%2Frust_sample" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsiegel/rust_sample on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bsiegel/rust_sample [INFO] finished tweaking git repo https://github.com/bsiegel/rust_sample [INFO] tweaked toml for git repo https://github.com/bsiegel/rust_sample written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bsiegel/rust_sample already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 84620f2f8f8c6cb5d49998cdea3cac8ae7f8b44649e64ca0b053e9e0ab3f2d2a [INFO] running `"docker" "start" "-a" "84620f2f8f8c6cb5d49998cdea3cac8ae7f8b44649e64ca0b053e9e0ab3f2d2a"` [INFO] [stderr] Checking rust_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | Node::Empty => write!(f, "empty"), [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | Node::Data(h,t) => write!(f, "{}, {}", h, t) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | Node::Empty => write!(f, "empty"), [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | Node::Data(h,t) => write!(f, "{}, {}", h, t) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:56:28 [INFO] [stderr] | [INFO] [stderr] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:57:24 [INFO] [stderr] | [INFO] [stderr] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:57:43 [INFO] [stderr] | [INFO] [stderr] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:62:41 [INFO] [stderr] | [INFO] [stderr] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:45:44 [INFO] [stderr] | [INFO] [stderr] 45 | impl<'a, T: fmt::Display> fmt::Display for Node<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:56:28 [INFO] [stderr] | [INFO] [stderr] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:57:24 [INFO] [stderr] | [INFO] [stderr] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:57:43 [INFO] [stderr] | [INFO] [stderr] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stderr] --> src/main.rs:62:41 [INFO] [stderr] | [INFO] [stderr] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stderr] | ^^^^ use of undeclared type or module `Node` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:45:44 [INFO] [stderr] | [INFO] [stderr] 45 | impl<'a, T: fmt::Display> fmt::Display for Node<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Node` in this scope [INFO] [stderr] --> src/main.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0391]: cycle detected when processing `` [INFO] [stderr] --> src/main.rs:14:41 [INFO] [stderr] | [INFO] [stderr] 14 | impl<'t, T> NodeList for Option<(T, &'t Self)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: ...which again requires processing ``, completing the cycle [INFO] [stderr] note: cycle used when collecting item types in top-level module [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::fmt; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | trait NodeList : Sized { [INFO] [stderr] 4 | | type Data: Sized; [INFO] [stderr] ... | [INFO] [stderr] 64 | | println!("{}", data2); [INFO] [stderr] 65 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0391, E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0391`. [INFO] [stderr] error[E0391]: cycle detected when processing `` [INFO] [stderr] --> src/main.rs:14:41 [INFO] [stderr] | [INFO] [stderr] 14 | impl<'t, T> NodeList for Option<(T, &'t Self)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: ...which again requires processing ``, completing the cycle [INFO] [stderr] note: cycle used when collecting item types in top-level module [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use std::fmt; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | trait NodeList : Sized { [INFO] [stderr] 4 | | type Data: Sized; [INFO] [stderr] ... | [INFO] [stderr] 64 | | println!("{}", data2); [INFO] [stderr] 65 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0391, E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0391`. [INFO] [stderr] error: could not compile `rust_sample`. [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: could not compile `rust_sample`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "84620f2f8f8c6cb5d49998cdea3cac8ae7f8b44649e64ca0b053e9e0ab3f2d2a"` [INFO] running `"docker" "rm" "-f" "84620f2f8f8c6cb5d49998cdea3cac8ae7f8b44649e64ca0b053e9e0ab3f2d2a"` [INFO] [stdout] 84620f2f8f8c6cb5d49998cdea3cac8ae7f8b44649e64ca0b053e9e0ab3f2d2a