[INFO] cloning repository https://github.com/chinedu360/rust_stack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chinedu360/rust_stack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/chinedu360/rust_stack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chinedu360/rust_stack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf7982c67ccc2d8fea5e5e61ed27cf8c9fec5eb6 [INFO] checking chinedu360/rust_stack against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinedu360%2Frust_stack" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chinedu360/rust_stack on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chinedu360/rust_stack [INFO] finished tweaking git repo https://github.com/chinedu360/rust_stack [INFO] tweaked toml for git repo https://github.com/chinedu360/rust_stack written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chinedu360/rust_stack 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" "+9f48dedc9763334a587c66558974635807a113ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35fdef13da2e40289022f8b47fec27ba5727fd73429a47c12a0f7beaa4045f66 [INFO] running `Command { std: "docker" "start" "-a" "35fdef13da2e40289022f8b47fec27ba5727fd73429a47c12a0f7beaa4045f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35fdef13da2e40289022f8b47fec27ba5727fd73429a47c12a0f7beaa4045f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35fdef13da2e40289022f8b47fec27ba5727fd73429a47c12a0f7beaa4045f66", kill_on_drop: false }` [INFO] [stdout] 35fdef13da2e40289022f8b47fec27ba5727fd73429a47c12a0f7beaa4045f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f09cc841607b005cdd06a2bdd89ac5b52975d3edeecaa61a32050e605dc83655 [INFO] running `Command { std: "docker" "start" "-a" "f09cc841607b005cdd06a2bdd89ac5b52975d3edeecaa61a32050e605dc83655", kill_on_drop: false }` [INFO] [stderr] Checking stacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(new_node); [INFO] [stdout] | ---- ^^^^^^^^ expected `Box`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box` [INFO] [stdout] help: the type constructed contains `Box` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(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/9f48dedc9763334a587c66558974635807a113ed/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ---- ^^^^ expected `*mut Node`, found `*mut DoubleNode` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut Node` [INFO] [stdout] found raw pointer `*mut DoubleNode` [INFO] [stdout] help: the type constructed contains `*mut DoubleNode` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/9f48dedc9763334a587c66558974635807a113ed/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut current = self.head.as_ref(); [INFO] [stdout] | ------------------ expected due to this value [INFO] [stdout] ... [INFO] [stdout] 107 | current = node.next.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option<&Box>`, found `Option<&Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&Box>` [INFO] [stdout] found enum `Option<&Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*node).value}); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*(*node)).value}); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prev` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*node).prev}; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*(*node)).prev}; [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(new_node); [INFO] [stdout] | ---- ^^^^^^^^ expected `Box`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found struct `Box` [INFO] [stdout] help: the type constructed contains `Box` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | (*tail).next = Some(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/9f48dedc9763334a587c66558974635807a113ed/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stacks` (bin "stacks" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ---- ^^^^ expected `*mut Node`, found `*mut DoubleNode` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut Node` [INFO] [stdout] found raw pointer `*mut DoubleNode` [INFO] [stdout] help: the type constructed contains `*mut DoubleNode` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | new_node.prev = Some(tail); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/9f48dedc9763334a587c66558974635807a113ed/library/core/src/option.rs:580:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 104 | let mut current = self.head.as_ref(); [INFO] [stdout] | ------------------ expected due to this value [INFO] [stdout] ... [INFO] [stdout] 107 | current = node.next.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `Option<&Box>`, found `Option<&Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&Box>` [INFO] [stdout] found enum `Option<&Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*node).value}); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 115 | print!("{} ->", unsafe {(*(*node)).value}); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `prev` on type `*mut DoubleNode` [INFO] [stdout] --> src/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*node).prev}; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: `(*node)` is a raw pointer; try dereferencing it [INFO] [stdout] | [INFO] [stdout] 116 | current = unsafe {(*(*node)).prev}; [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 `stacks` (bin "stacks") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "f09cc841607b005cdd06a2bdd89ac5b52975d3edeecaa61a32050e605dc83655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09cc841607b005cdd06a2bdd89ac5b52975d3edeecaa61a32050e605dc83655", kill_on_drop: false }` [INFO] [stdout] f09cc841607b005cdd06a2bdd89ac5b52975d3edeecaa61a32050e605dc83655