[INFO] cloning repository https://github.com/bsiegel/rust_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bsiegel/rust_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsiegel%2Frust_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsiegel%2Frust_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 259314aa135bb73c0870c5ccfb955afbd78f9471 [INFO] checking bsiegel/rust_sample against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsiegel%2Frust_sample" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bsiegel/rust_sample on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bsiegel/rust_sample 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 037a7bea1a083647f9ee4cde9b55bc77999f747ff0dbcdfe58be4bc9abf7b285 [INFO] running `Command { std: "docker" "start" "-a" "037a7bea1a083647f9ee4cde9b55bc77999f747ff0dbcdfe58be4bc9abf7b285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "037a7bea1a083647f9ee4cde9b55bc77999f747ff0dbcdfe58be4bc9abf7b285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037a7bea1a083647f9ee4cde9b55bc77999f747ff0dbcdfe58be4bc9abf7b285", kill_on_drop: false }` [INFO] [stdout] 037a7bea1a083647f9ee4cde9b55bc77999f747ff0dbcdfe58be4bc9abf7b285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ef89e3438681ecf497526f3dd82e50fec66a5dc5676d4eeed0c394c38ca4284 [INFO] running `Command { std: "docker" "start" "-a" "1ef89e3438681ecf497526f3dd82e50fec66a5dc5676d4eeed0c394c38ca4284", kill_on_drop: false }` [INFO] [stderr] Checking rust_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, T: fmt::Display> fmt::Display for Node<'a, T> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Self` is not valid in the self type of an impl block [INFO] [stdout] --> src/main.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'t, T> NodeList for Option<(T, &'t Self)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: replace `Self` with a different type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Node::Empty => write!(f, "empty"), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Node::Data(h,t) => write!(f, "{}, {}", h, t) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_sample` (bin "rust_sample" test) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, T: fmt::Display> fmt::Display for Node<'a, T> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | fn prepend<'a, T>(list: &'a Node, value: T) -> Node<'a, T> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Self` is not valid in the self type of an impl block [INFO] [stdout] --> src/main.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'t, T> NodeList for Option<(T, &'t Self)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: replace `Self` with a different type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | let data: Node = Node::Data(2, &Node::Empty); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Node::Empty => write!(f, "empty"), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Node::Data(h,t) => write!(f, "{}, {}", h, t) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Node::Data(_,_) => Node::Data(value, list), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Node::Empty => Node::Data(value, &Node::Empty) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_sample` (bin "rust_sample") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "1ef89e3438681ecf497526f3dd82e50fec66a5dc5676d4eeed0c394c38ca4284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef89e3438681ecf497526f3dd82e50fec66a5dc5676d4eeed0c394c38ca4284", kill_on_drop: false }` [INFO] [stdout] 1ef89e3438681ecf497526f3dd82e50fec66a5dc5676d4eeed0c394c38ca4284