[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 259314aa135bb73c0870c5ccfb955afbd78f9471 [INFO] testing bsiegel/rust_sample against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsiegel%2Frust_sample" "/workspace/builds/worker-1/source", kill_on_drop: false }` [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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 056e7532786fff5ca6ad9ee38ad18e81cc0bcdc997484159f2c02174d634f443 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "056e7532786fff5ca6ad9ee38ad18e81cc0bcdc997484159f2c02174d634f443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "056e7532786fff5ca6ad9ee38ad18e81cc0bcdc997484159f2c02174d634f443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056e7532786fff5ca6ad9ee38ad18e81cc0bcdc997484159f2c02174d634f443", kill_on_drop: false }` [INFO] [stdout] 056e7532786fff5ca6ad9ee38ad18e81cc0bcdc997484159f2c02174d634f443 [INFO] running `Command { std: "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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2ab50be625c46718cdf75d55b49ddb9acabfebc68013638ffda43024980f585 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2ab50be625c46718cdf75d55b49ddb9acabfebc68013638ffda43024980f585", kill_on_drop: false }` [INFO] [stderr] Compiling rust_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Node` [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Node::Empty => write!(f, "empty"), [INFO] [stdout] | ^^^^ use of undeclared type or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `Node` [INFO] [stdout] [INFO] [stdout] [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[E0391]: cycle detected when computing type of `` [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: ...which again requires computing type of ``, completing the cycle [INFO] [stdout] note: cycle used when computing trait implemented by `` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'t, T> NodeList for Option<(T, &'t Self)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0391, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_sample`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c2ab50be625c46718cdf75d55b49ddb9acabfebc68013638ffda43024980f585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ab50be625c46718cdf75d55b49ddb9acabfebc68013638ffda43024980f585", kill_on_drop: false }` [INFO] [stdout] c2ab50be625c46718cdf75d55b49ddb9acabfebc68013638ffda43024980f585