[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 master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsiegel%2Frust_sample" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bsiegel/rust_sample on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-1/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] f9011cefd0cab4093c2955491ce180309b676c2bfc60d8a35ddd8f572327a7ee
[INFO] running `"docker" "start" "-a" "f9011cefd0cab4093c2955491ce180309b676c2bfc60d8a35ddd8f572327a7ee"`
[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: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<u8> = 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<u8> = 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<T>, 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<T>, 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<u8> = Node::Data(2, &Node::Empty);
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0391]: cycle detected when processing `<impl at src/main.rs:14:1: 19:2>`
[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 `<impl at src/main.rs:14:1: 19:2>`, 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[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: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<u8> = 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<u8> = 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<T>, 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<T>, 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<u8> = Node::Data(2, &Node::Empty);
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0391]: cycle detected when processing `<impl at src/main.rs:14:1: 19:2>`
[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 `<impl at src/main.rs:14:1: 19:2>`, 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] running `"docker" "inspect" "f9011cefd0cab4093c2955491ce180309b676c2bfc60d8a35ddd8f572327a7ee"`
[INFO] running `"docker" "rm" "-f" "f9011cefd0cab4093c2955491ce180309b676c2bfc60d8a35ddd8f572327a7ee"`
[INFO] [stdout] f9011cefd0cab4093c2955491ce180309b676c2bfc60d8a35ddd8f572327a7ee
