[INFO] cloning repository https://github.com/kemoycampbell/learning-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kemoycampbell/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkemoycampbell%2Flearning-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkemoycampbell%2Flearning-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76b2c52a8abd374d16f04edcdc45e1528ac4c95b
[INFO] testing kemoycampbell/learning-rust against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkemoycampbell%2Flearning-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kemoycampbell/learning-rust
[INFO] finished tweaking git repo https://github.com/kemoycampbell/learning-rust
[INFO] tweaked toml for git repo https://github.com/kemoycampbell/learning-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kemoycampbell/learning-rust on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kemoycampbell/learning-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45231f063c5ae6fa78986d301a01a9e29e4a8794a1b12ebe3701ca320b797e76
[INFO] running `Command { std: "docker" "start" "-a" "45231f063c5ae6fa78986d301a01a9e29e4a8794a1b12ebe3701ca320b797e76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45231f063c5ae6fa78986d301a01a9e29e4a8794a1b12ebe3701ca320b797e76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45231f063c5ae6fa78986d301a01a9e29e4a8794a1b12ebe3701ca320b797e76", kill_on_drop: false }`
[INFO] [stdout] 45231f063c5ae6fa78986d301a01a9e29e4a8794a1b12ebe3701ca320b797e76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02a6ce73e96c4b721c5bcdf2fddb2bcf42d4539175cc3403432069abd837ffe5
[INFO] running `Command { std: "docker" "start" "-a" "02a6ce73e96c4b721c5bcdf2fddb2bcf42d4539175cc3403432069abd837ffe5", kill_on_drop: false }`
[INFO] [stderr]    Compiling learning-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib/stack.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |             next:self.top.take()
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ expected `Option<Box<Node<T>>>`, found `Option<Node<T>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<Box<Node<_>>>`
[INFO] [stdout]               found enum `Option<Node<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib/stack.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.top = Some(Box::new(node));
[INFO] [stdout]    |                    ---- ^^^^^^^^^^^^^^ expected `Node<T>`, found `Box<Node<T>>`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Node<_>`
[INFO] [stdout]               found struct `Box<Node<_>>`
[INFO] [stdout] help: the type constructed contains `Box<Node<T>>` due to the type of the argument passed
[INFO] [stdout]   --> lib/stack.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.top = Some(Box::new(node));
[INFO] [stdout]    |                    ^^^^^--------------^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/option.rs:608:4
[INFO] [stdout] help: consider removing the Box
[INFO] [stdout]    |
[INFO] [stdout] 33 -         self.top = Some(Box::new(node));
[INFO] [stdout] 33 +         self.top = Some(node);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `value` on type `Option<Node<T>>`
[INFO] [stdout]   --> lib/stack.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let value:Node<T> = self.top.take().value;
[INFO] [stdout]    |                                             ^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let value:Node<T> = self.top.take().unwrap().value;
[INFO] [stdout]    |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learning-rust` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "02a6ce73e96c4b721c5bcdf2fddb2bcf42d4539175cc3403432069abd837ffe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02a6ce73e96c4b721c5bcdf2fddb2bcf42d4539175cc3403432069abd837ffe5", kill_on_drop: false }`
[INFO] [stdout] 02a6ce73e96c4b721c5bcdf2fddb2bcf42d4539175cc3403432069abd837ffe5
