[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#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkemoycampbell%2Flearning-rust" "/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/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kemoycampbell/learning-rust on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b71ce06ee6ecce6ffe494cfe40e9b34aac614337f05c602ccb450e23d4c4e9b [INFO] running `Command { std: "docker" "start" "-a" "8b71ce06ee6ecce6ffe494cfe40e9b34aac614337f05c602ccb450e23d4c4e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b71ce06ee6ecce6ffe494cfe40e9b34aac614337f05c602ccb450e23d4c4e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b71ce06ee6ecce6ffe494cfe40e9b34aac614337f05c602ccb450e23d4c4e9b", kill_on_drop: false }` [INFO] [stdout] 8b71ce06ee6ecce6ffe494cfe40e9b34aac614337f05c602ccb450e23d4c4e9b [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ef9bfab6fc43c323de2a35e597087dbd6ce759bc6ac038bd397ecf22119cfa7 [INFO] running `Command { std: "docker" "start" "-a" "4ef9bfab6fc43c323de2a35e597087dbd6ce759bc6ac038bd397ecf22119cfa7", 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>>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>>` [INFO] [stdout] found enum `Option>` [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`, found `Box>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Node<_>` [INFO] [stdout] found struct `Box>` [INFO] [stdout] help: the type constructed contains `Box>` 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/562dee4820c458d823175268e41601d4c060588a/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>` [INFO] [stdout] --> lib/stack.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let value:Node = 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 = 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" "4ef9bfab6fc43c323de2a35e597087dbd6ce759bc6ac038bd397ecf22119cfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef9bfab6fc43c323de2a35e597087dbd6ce759bc6ac038bd397ecf22119cfa7", kill_on_drop: false }` [INFO] [stdout] 4ef9bfab6fc43c323de2a35e597087dbd6ce759bc6ac038bd397ecf22119cfa7